aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/useful-links.html.tmpl9
-rw-r--r--template/en/default/request/queue.html.tmpl22
2 files changed, 20 insertions, 11 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 %]
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index a3b1a7274..fcf30ee6d 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -103,15 +103,6 @@
</form>
[% END %]
-[% PROCESS global/header.html.tmpl
- title="Request Queue"
- h2=filter_form
- style = "
- table.requests th { text-align: left; }
- table#filter th { text-align: right; }
- "
-%]
-
[% column_headers = {
"type" => "Flag" ,
"status" => "Status" ,
@@ -128,6 +119,19 @@
%]
+[% PROCESS global/header.html.tmpl
+ title="Request Queue"
+ h2=filter_form
+ style = "
+ table.requests th { text-align: left; }
+ table#filter th { text-align: right; }
+ "
+%]
+
+[% IF debug %]
+ <p>[% query FILTER html %]</p>
+[% END %]
+
[% IF requests.size == 0 %]
<p>
No requests.