Commit dc9ce3a8 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 344961: Display custom fields on show_bug.cgi before the time table

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
parent 36fcbae1
...@@ -403,6 +403,19 @@ ...@@ -403,6 +403,19 @@
</tr> </tr>
[% END %] [% 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> </table>
</td> </td>
...@@ -494,20 +507,6 @@ ...@@ -494,20 +507,6 @@
</table> </table>
[% END %] [% 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 *** %] [%# *** Attachments *** %]
[% PROCESS attachment/list.html.tmpl [% PROCESS attachment/list.html.tmpl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment