diff options
author | lpsolit%gmail.com <> | 2008-03-18 03:38:27 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-03-18 03:38:27 +0100 |
commit | 84c503892397b64020047cffe4fc32bae6bd8a85 (patch) | |
tree | 96dfc6aacd2ff6ec81414145dc01d521a9866981 /template/en/default/global | |
parent | 141674b72a53c2ab32341095d10eee964b7f5af8 (diff) | |
download | bugzilla-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.tmpl | 14 |
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 %]&requestee= - [% user.login FILTER url_quote %]&do_union=1&group=type&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 %]&requestee= + [% user.login FILTER url_quote %]&do_union=1&group=type&action=queue">My Requests</a> + [% ELSE %] + <a href="request.cgi">Requests</a> + [% END %] [% END %] [%-# Work around FF bug: keep this on one line %]</li> |