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

theme: add configurable banners similar to INSPIRE #322

Closed
GraemeWatt opened this issue Mar 10, 2021 · 0 comments · Fixed by #485
Closed

theme: add configurable banners similar to INSPIRE #322

GraemeWatt opened this issue Mar 10, 2021 · 0 comments · Fixed by #485
Assignees

Comments

@GraemeWatt
Copy link
Member

The inspirehep.net site has a feature where a BANNERS variable can be added to the Kubernetes configuration with some options. The banner messages are then displayed at the top of the inspirehep.net pages. It would be nice to have something similar for the HEPData site, where the BANNERS variable would be defined either in config.py of the web app or in hepdata.cfg of the Kubernetes configuration. This would allow temporary messages to be displayed, for example, in the event of planned interventions, without having to modify the hepdata/hepdata Docker image. These temporary messages should be displayed on all HEPData pages, since a user might not navigate the HEPData site starting from the homepage. At the moment, we can post Twitter messages, but these tweets can often be missed by users not following @HEPData on Twitter or arriving at a HEPData record directly rather than going via the homepage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants