From eb6a2a89a7d28ad7de06ab769900b12b951782c9 Mon Sep 17 00:00:00 2001
From: "lpsolit%gmail.com" <>
Date: Mon, 7 Dec 2009 19:29:32 +0000
Subject: =?UTF-8?q?Bug=20184252:=20Display=20a=20link=20below=20each=20tab?=
=?UTF-8?q?le=20in=20request.cgi=20pointing=20to=20its=20corresponding=20b?=
=?UTF-8?q?uglist=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Bucl?=
=?UTF-8?q?in=20=20r=3Dghendricks=20a=3DLpSolit?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
template/en/default/request/queue.html.tmpl | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index 4be33ca88..98a331622 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -173,14 +173,12 @@ to some group are shown by default.
[% 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 %]
+ [% PROCESS display_buglist UNLESS loop.first %]
+ [% PROCESS start_new_table %]
[% END %]
+ [% buglist.${request.bug_id} = 1 %]
[% FOREACH column = display_columns %]
[% NEXT IF column == group_field || excluded_columns.contains(column) %]
@@ -188,12 +186,14 @@ to some group are shown by default.
[% END %]
[% END %]
-
+ [% PROCESS display_buglist %]
[% END %]
[% PROCESS global/footer.html.tmpl %]
[% BLOCK start_new_table %]
+ [% buglist = {} %]
+
[% column_headers.$group_field %]:
[%+ (request.$group_field || "None") FILTER email FILTER html %]
@@ -239,3 +239,8 @@ to some group are shown by default.
[% request.created FILTER time %]
[% END %]
+[% BLOCK display_buglist %]
+
+ [% NEXT UNLESS buglist.keys.size %]
+ (view as buglist)
+[% END %]
--
cgit v1.2.1