diff options
author | mkanat%bugzilla.org <> | 2006-08-22 03:47:32 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-22 03:47:32 +0200 |
commit | dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380 (patch) | |
tree | fb6c4bb202075c64f554dd4de03f3c62c0650769 /template/en | |
parent | 36fcbae1f486223e61e1457b2af12a1fab0fe388 (diff) | |
download | bugzilla-dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380.tar.gz bugzilla-dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380.tar.xz |
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
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index e53e1caaf..ea526cd23 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -403,6 +403,19 @@ </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> @@ -494,20 +507,6 @@ </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 |