summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/common-links.html.tmpl2
-rw-r--r--template/en/default/global/field-descs.none.tmpl10
2 files changed, 7 insertions, 5 deletions
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl
index 4690d177a..18695a8c6 100644
--- a/template/en/default/global/common-links.html.tmpl
+++ b/template/en/default/global/common-links.html.tmpl
@@ -39,7 +39,7 @@
<li><span class="separator">| </span><a href="report.cgi">Reports</a></li>
<li>
- [% IF Bugzilla.has_flags %]
+ [% IF Param('shutdownhtml') || Bugzilla.has_flags %]
<span class="separator">| </span>
[% IF user.id %]
<a href="request.cgi?requester=[% user.login FILTER url_quote %]&amp;requestee=
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index f669df6df..7d89bd5c2 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -91,10 +91,12 @@
database. If you want to override this for your language
or your installation, just use a hook. %]
-[% USE Bugzilla %]
-[% FOREACH bz_field = Bugzilla.get_fields() %]
- [% SET field_descs.${bz_field.name} = bz_field.description
- IF !field_descs.${bz_field.name}.defined %]
+[% UNLESS Param('shutdownhtml') %]
+ [% USE Bugzilla %]
+ [% FOREACH bz_field = Bugzilla.get_fields() %]
+ [% SET field_descs.${bz_field.name} = bz_field.description
+ IF !field_descs.${bz_field.name}.defined %]
+ [% END %]
[% END %]
[% field_types = { ${constants.FIELD_TYPE_UNKNOWN} => "Unknown Type",