From dc9ce3a8bc08c8f7c35b926bfaf7cfdd007c6380 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 22 Aug 2006 01:47:32 +0000 Subject: Bug 344961: Display custom fields on show_bug.cgi before the time table Patch By Max Kanat-Alexander r=LpSolit, a=myk --- template/en/default/bug/edit.html.tmpl | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'template') 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 @@ [% END %] + [%# *** Custom Fields *** %] + + [% USE Bugzilla %] + [% fields = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %] + [% IF fields %] + [% FOREACH field = fields %] + + [% PROCESS bug/field.html.tmpl value=bug.${field.name} + editable=1 %] + + [% END %] + [% END %] + @@ -494,20 +507,6 @@ [% END %] -[%# *** Custom Fields *** %] - -[% USE Bugzilla %] -[% fields = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %] -[% IF fields %] - - [% FOREACH field = fields %] - - [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=1 %] - - [% END %] -
-[% END %] - [%# *** Attachments *** %] [% PROCESS attachment/list.html.tmpl -- cgit v1.2.3-24-g4f1b