summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-11-08 13:21:10 +0100
committermyk%mozilla.org <>2002-11-08 13:21:10 +0100
commit5f52ea9a2d70e9e386ae2aecbd0382d21c16566d (patch)
tree8f4ad72b175bc43530ace287ce4cc42db3cecb1f /template
parent090d07f52d8946b9f365b13e89fee6f78906054f (diff)
downloadbugzilla-5f52ea9a2d70e9e386ae2aecbd0382d21c16566d.tar.gz
bugzilla-5f52ea9a2d70e9e386ae2aecbd0382d21c16566d.tar.xz
Fix for bug 171480: make output for non requestee-specific requests look better in the request queue.
r=joel a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/request/queue.html.tmpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index edd87c455..a3449da8e 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -63,8 +63,13 @@
No requests.
</p>
[% ELSE %]
+ [% PROCESS start_new_table %]
[% FOREACH request = requests %]
- [% PROCESS start_new_table IF request.$group_field != group_value %]
+ [% IF request.$group_field != group_value %]
+ </table>
+ [% PROCESS start_new_table %]
+ [% group_value = request.$group_field %]
+ [% END %]
<tr>
[% FOREACH column = display_columns %]
[% NEXT IF column == group_field || excluded_columns.contains(column) %]
@@ -146,8 +151,7 @@
[% PROCESS global/footer.html.tmpl %]
[% BLOCK start_new_table %]
- [% "</table>" UNLESS group_value == "" %]
- <h3>[% column_headers.$group_field %]: [% request.$group_field FILTER html %]</h3>
+ <h3>[% column_headers.$group_field %]: [% (request.$group_field || "None") FILTER html %]</h3>
<table class="requests" cellspacing="0" cellpadding="4" border="1">
<tr>
[% FOREACH column = display_columns %]
@@ -155,7 +159,6 @@
<th>[% column_headers.$column %]</th>
[% END %]
</tr>
- [% group_value = request.$group_field %]
[% END %]
[% BLOCK display_type %]