Bugzilla: how to insert a banner notice in pages?
-
24-02-2021 - |
Вопрос
How would I go about inserting a banner notice in bugzilla pages for users to see?
(Just like the banner we see on stackoverflow.com now: "The Stack Overflow 2011 community moderator election is underway — nominations now being accepted.")
I want to use the banner to inform users of maintenance changes. We're currently using a very early version of bugzilla, 2.22.7.
I saw a page that mentioned something about this: http://www.bugzilla.org/docs/2.18/html/cust-templates.html
...but this looks very involved, and it seems that one has to run a script just because a banner has been updated.
Решение
Actually it's not that difficult. On my installation simply edit the html in /var/www/cgi-bin/bugzilla/template/en/default/global/banner.html.tmpl as indicated in http://www.bugzilla.org/docs/2.18/html/cust-templates.html mentioned above.