Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create pdf with if else #18

Open
manhcuogntin4 opened this issue Dec 17, 2021 · 1 comment
Open

Create pdf with if else #18

manhcuogntin4 opened this issue Dec 17, 2021 · 1 comment

Comments

@manhcuogntin4
Copy link

Hi,
Someone created a pdf with if else ? I don't find any example of pdf_reports with pug with if else clause. I need it to make my report with the ouput text depends on the input value.
Thank.

@veghp
Copy link
Member

veghp commented Dec 17, 2021

Hi, see this pug example with if/else: https://github.com/Edinburgh-Genome-Foundry/Overhang/blob/main/overhang/report_assets/overhangset_report.pug

Description here: https://pugjs.org/language/conditionals.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants