summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/useful-links.html.tmpl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-11-19 13:52:50 +0100
committermyk%mozilla.org <>2002-11-19 13:52:50 +0100
commit1f71df249d99f8392dbce1b47a05fdd03bec48b1 (patch)
treedf44d1227ea2d4e8da160c342cfe3c8921b41ce0 /template/en/default/global/useful-links.html.tmpl
parente008d25513ff2d4c16c4aa49f48bfe188f9759ba (diff)
downloadbugzilla-1f71df249d99f8392dbce1b47a05fdd03bec48b1.tar.gz
bugzilla-1f71df249d99f8392dbce1b47a05fdd03bec48b1.tar.xz
Fix for bug 179881: makes the "Requests" link in the footer be "My Requests" for logged in users.
r=bbaetz a=myk
Diffstat (limited to 'template/en/default/global/useful-links.html.tmpl')
-rw-r--r--template/en/default/global/useful-links.html.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index 1f587c66d..e069a9400 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -51,8 +51,13 @@
<a href="report.cgi">Reports</a>
- | <a href="request.cgi">Requests</a>
-
+ [% IF user.login %]
+ [% email = user.login FILTER url_quote %]
+ | <a href="request.cgi?requester=[% email %]&requestee=[% email %]&do_union=1&group=type">My Requests</a>
+ [% ELSE %]
+ | <a href="request.cgi">Requests</a>
+ [% END %]
+
[% IF user.login && Param('usevotes') %]
| <a href="votes.cgi?action=show_user">My Votes</a>
[% END %]