]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 344961: Display custom fields on show_bug.cgi before the time table
authormkanat%bugzilla.org <>
Tue, 22 Aug 2006 01:47:32 +0000 (01:47 +0000)
committermkanat%bugzilla.org <>
Tue, 22 Aug 2006 01:47:32 +0000 (01:47 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk

template/en/default/bug/edit.html.tmpl

index e53e1caafa8945b3de65c30d0089801526037ed4..ea526cd2397e7f01d6a16b24e6c09673ca1fbe15 100644 (file)
             </tr>
           [% END %]
 
+          [%# *** Custom Fields *** %]
+
+          [% USE Bugzilla %]
+          [% fields = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %]
+          [% IF fields %]
+            [% FOREACH field = fields %]
+              <tr>
+                [% PROCESS bug/field.html.tmpl value=bug.${field.name}
+                                               editable=1 %]
+              </tr>
+            [% END %]
+          [% END %]
+
         </table>
       </td>
 
     </table>
   [% END %]
 
-[%# *** Custom Fields *** %]
-
-[% USE Bugzilla %]
-[% fields = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %]
-[% IF fields %]
-  <table>
-    [% FOREACH field = fields %]
-      <tr>
-        [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=1 %]
-      </tr>
-    [% END %]
-  </table>
-[% END %]
-
 [%# *** Attachments *** %]
 
   [% PROCESS attachment/list.html.tmpl