From 25e8d919362e5a04853b41e19ad70f40e6ecb119 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Mon, 7 Dec 2009 19:29:32 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20184252:=20Display=20a=20link=20below=20ea?= =?UTF-8?q?ch=20table=20in=20request.cgi=20pointing=20to=20its=20correspon?= =?UTF-8?q?ding=20buglist=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ri?= =?UTF-8?q?c=20Buclin=20=20r=3Dghendricks=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@259184 18797224-902f-48f8-a5cc-f745e15eee43 --- .../template/en/default/request/queue.html.tmpl | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl index 4be33ca88a2..98a3316222f 100644 --- a/mozilla/webtools/bugzilla/template/en/default/request/queue.html.tmpl +++ b/mozilla/webtools/bugzilla/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 %]