summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-07-06 06:54:23 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-07-06 06:54:23 +0200
commiteccedd19189b7d1d637fbd52caff0f7eeccf63c1 (patch)
tree10cb0ed71ec401b3f698f8ebe42be64247293fb0 /template/en/default
parentea6b82f1303f86e5b62ea23985cc47cea5454f9b (diff)
downloadbugzilla-eccedd19189b7d1d637fbd52caff0f7eeccf63c1.tar.gz
bugzilla-eccedd19189b7d1d637fbd52caff0f7eeccf63c1.tar.xz
Bug 652410 - 500+ consecutive lines of markup whitespace in show_bug.cgi flags table, depending on flag states
r/a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/flag/list.html.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 5f88fc168..4467e81ce 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -47,9 +47,9 @@
[% END %]
[%# Step 1: Display every flag type (except inactive types with no flags). %]
- [% FOREACH type = flag_types %]
-
- [%# Step 1a: Display existing flag(s). %]
+ [% FOREACH type = flag_types -%]
+
+ [%-# Step 1a: Display existing flag(s). %]
[% FOREACH flag = type.flags %]
<tr>
<td>
@@ -112,9 +112,9 @@
</td>
[% END %]
</tr>
- [% END %]
-
- [%# Step 1b: Display UI for setting flag. %]
+ [% END -%]
+
+ [%-# Step 1b: Display UI for setting flag. %]
[% IF (!type.flags || type.flags.size == 0) && type.is_active %]
[% PROCESS flag_row first_cell_empty = 1 addl_text = "" %]