summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-03-18 03:38:27 +0100
committerlpsolit%gmail.com <>2008-03-18 03:38:27 +0100
commit84c503892397b64020047cffe4fc32bae6bd8a85 (patch)
tree96dfc6aacd2ff6ec81414145dc01d521a9866981 /template/en/default/global
parent141674b72a53c2ab32341095d10eee964b7f5af8 (diff)
downloadbugzilla-84c503892397b64020047cffe4fc32bae6bd8a85.tar.gz
bugzilla-84c503892397b64020047cffe4fc32bae6bd8a85.tar.xz
Bug 180259: "Requests" (logged out) and "My Requests" (logged in) links appear in footer even if the site doesn't use requests - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/common-links.html.tmpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl
index 94fed709f..db913d9a1 100644
--- a/template/en/default/global/common-links.html.tmpl
+++ b/template/en/default/global/common-links.html.tmpl
@@ -39,12 +39,14 @@
<li><span class="separator">| </span><a href="report.cgi">Reports</a></li>
<li>
- <span class="separator">| </span>
- [% IF user.id %]
- <a href="request.cgi?requester=[% user.login FILTER url_quote %]&amp;requestee=
- [% user.login FILTER url_quote %]&amp;do_union=1&amp;group=type&amp;action=queue">My Requests</a>
- [% ELSE %]
- <a href="request.cgi">Requests</a>
+ [% IF Bugzilla.has_flags %]
+ <span class="separator">| </span>
+ [% IF user.id %]
+ <a href="request.cgi?requester=[% user.login FILTER url_quote %]&amp;requestee=
+ [% user.login FILTER url_quote %]&amp;do_union=1&amp;group=type&amp;action=queue">My Requests</a>
+ [% ELSE %]
+ <a href="request.cgi">Requests</a>
+ [% END %]
[% END %]
[%-# Work around FF bug: keep this on one line %]</li>