From: David Lawrence Date: Wed, 6 Jul 2011 05:10:33 +0000 (-0400) Subject: Bug 652410 - 500+ consecutive lines of markup whitespace in show_bug.cgi flags table... X-Git-Tag: bugzilla-4.0.2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304b283d5ccd587b39bda4d16bfffa9af6724f51;p=thirdparty%2Fbugzilla.git Bug 652410 - 500+ consecutive lines of markup whitespace in show_bug.cgi flags table, depending on flag states r/a=LpSolit --- diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 5f88fc168b..4467e81ce3 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 %] @@ -112,9 +112,9 @@ [% END %] - [% 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 = "" %]