statgen / pheweb

A tool to build a website to browse hundreds or thousands of GWAS.
MIT License
154 stars 65 forks source link

Hiding download buttons #189

Closed Sergey-Knyazev closed 2 years ago

Sergey-Knyazev commented 2 years ago

Hello,

I would like to have an option to hide Download button for Top-Hits and Phenotypes. Would you mind if I create a pull request to you code with implementation of above functionality by adding two options into config.py download_top_hits="prohibited" and download_phenotypes="prohibited"?

Thank you! Sergey

pjvandehaar commented 2 years ago

Yes! But use True and False instead.

On Wed, Jan 12, 2022 at 9:52 PM Sergey Knyazev @.***> wrote:

Hello,

I would like to have an option to hide Download button for Top-Hits and Phenotypes. Would you mind if I create a pull request to you code with implementation of above functionality by adding two options into config.py download_top_hits="prohibited" and download_phenotypes="prohibited"?

Thank you! Sergey

— Reply to this email directly, view it on GitHub https://github.com/statgen/pheweb/issues/189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSPCK4LKV7NVFMX5IEVN3UVY477ANCNFSM5L2UPXGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>