aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-08-22 01:47:32 +0000
committermkanat%bugzilla.org <>2006-08-22 01:47:32 +0000
commitdc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380 (patch)
treefb6c4bb202075c64f554dd4de03f3c62c0650769 /template
parentBug 348477: Move simple validations from post_bug.cgi to Bugzilla::Bug (diff)
downloadbugzilla-dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380.tar.gz
bugzilla-dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380.tar.bz2
bugzilla-dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380.zip
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')
-rw-r--r--template/en/default/bug/edit.html.tmpl27
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