]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 429768 - show_bug_flags is needlessly set twice in edit.html.tmpl
authorguy.pyrzak%gmail.com <>
Sat, 19 Apr 2008 22:49:48 +0000 (22:49 +0000)
committerguy.pyrzak%gmail.com <>
Sat, 19 Apr 2008 22:49:48 +0000 (22:49 +0000)
template/en/default/bug/edit.html.tmpl

index 6b9b94272dbdc7338343c42983d2d017c5c36021..e558f0b9820aacfe4c57bfeeec322908899e63de 100644 (file)
     </tr>
     <tr>
       <td colspan="2">
-    [% show_bug_flags = 0 %]
-    [% FOREACH type = bug.flag_types %]
-      [% IF (type.flags && type.flags.size > 0) || (user.id && type.is_active) %]
-        [% show_bug_flags = 1 %]
-        [% LAST %]
-      [% END %]
-    [% END %]
-    [% IF show_bug_flags %]
-    
       [% IF user.id %]
         [% IF bug.flag_types.size > 0 %]
           [% PROCESS "flag/list.html.tmpl" flag_no_header = 1
           [% END %]
         [% END %]
       [% END %]         
-    [% END %]
       </td>
     </tr>
   [% END %]