From 1f71df249d99f8392dbce1b47a05fdd03bec48b1 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Tue, 19 Nov 2002 12:52:50 +0000 Subject: Fix for bug 179881: makes the "Requests" link in the footer be "My Requests" for logged in users. r=bbaetz a=myk --- template/en/default/global/useful-links.html.tmpl | 9 +++++++-- template/en/default/request/queue.html.tmpl | 22 +++++++++++++--------- 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'template/en') 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 @@ Reports - | Requests - + [% IF user.login %] + [% email = user.login FILTER url_quote %] + | My Requests + [% ELSE %] + | Requests + [% END %] + [% IF user.login && Param('usevotes') %] | My Votes [% 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 @@ [% 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 %] +

[% query FILTER html %]

+[% END %] + [% IF requests.size == 0 %]

No requests. -- cgit v1.2.3-24-g4f1b