From: myk%mozilla.org <> Date: Tue, 12 Nov 2002 02:02:03 +0000 (+0000) Subject: Fix for bug 179360: puts the filters at the top of the request queue and eliminates... X-Git-Tag: bugzilla-2.17.2~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15767ab7c1238e83e1c6d62c6b95c373f4bfd034;p=thirdparty%2Fbugzilla.git Fix for bug 179360: puts the filters at the top of the request queue and eliminates that empty table that sometimes is at the top of the queue. r=bbaetz a=myk --- diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl index a3449da8ef..7060fadaa8 100644 --- a/template/en/default/request/queue.html.tmpl +++ b/template/en/default/request/queue.html.tmpl @@ -35,53 +35,7 @@ [% END %] -[% PROCESS global/header.html.tmpl - title="Request Queue" - style = " - table.requests th { text-align: left; } - table#filter th { text-align: right; } - " -%] - -[% column_headers = { - "type" => "Flag" , - "status" => "Status" , - "bug" => "Bug" , - "attachment" => "Attachment" , - "requester" => "Requester" , - "requestee" => "Requestee" , - "created" => "Created" , - "category" => "Product/Component" } %] - -[% DEFAULT display_columns = ["requester", "requestee", "type", "bug", "attachment", "created"] - group_field = "Requestee" - group_value = "" -%] - -[% IF requests.size == 0 %] -
- No requests. -
-[% ELSE %] - [% PROCESS start_new_table %] - [% FOREACH request = requests %] - [% IF request.$group_field != group_value %] - - [% PROCESS start_new_table %] - [% group_value = request.$group_field %] - [% END %] -+ No requests. +
+[% ELSE %] + [% FOREACH request = requests %] + [% IF loop.first %] [% PROCESS start_new_table %] [% END %] + [% IF request.$group_field != group_value %] + [% group_value = request.$group_field %] + [% UNLESS loop.first %] + + [% PROCESS start_new_table %] + [% END %] + [% END %] +