From: vladd%bugzilla.org <> Date: Fri, 18 Aug 2006 03:24:04 +0000 (+0000) Subject: Bug 348871: modify show_bug in order to pass HTML validation - Patch by victory(_RSZ_... X-Git-Tag: bugzilla-2.23.3~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7622eb04d9199a5f7a8df2fb5d253e6850468a8;p=thirdparty%2Fbugzilla.git Bug 348871: modify show_bug in order to pass HTML validation - Patch by victory(_RSZ_) r=LpSolit a=myk --- diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index a2c13f2ea2..e53e1caafa 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -486,7 +486,7 @@ - + Summarize time (including time for [% terms.bugs %] blocking this [% terms.bug %]) @@ -497,13 +497,16 @@ [%# *** Custom Fields *** %] [% USE Bugzilla %] - - [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %] - - [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=1 %] - - [% END %] -
+[% 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 *** %]