]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 652410 - 500+ consecutive lines of markup whitespace in show_bug.cgi flags table...
authorDavid Lawrence <dlawrence@mozilla.com>
Wed, 6 Jul 2011 05:10:33 +0000 (01:10 -0400)
committerDavid Lawrence <dlawrence@mozilla.com>
Wed, 6 Jul 2011 05:10:33 +0000 (01:10 -0400)
r/a=LpSolit

template/en/default/flag/list.html.tmpl

index 5f88fc168bec229cea4ab72f122c63ccecb75f93..4467e81ce31115628156900b63eb613ca9f0b381 100644 (file)
@@ -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>
           </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 = "" %]