summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorvladd%bugzilla.org <>2006-08-18 05:24:04 +0200
committervladd%bugzilla.org <>2006-08-18 05:24:04 +0200
commitb7622eb04d9199a5f7a8df2fb5d253e6850468a8 (patch)
tree05b5f92812e9755851e1b64f33dcd4504e57a436 /template/en
parentd2329ad482fdd70c20b5f37a0f59cfad300762be (diff)
downloadbugzilla-b7622eb04d9199a5f7a8df2fb5d253e6850468a8.tar.gz
bugzilla-b7622eb04d9199a5f7a8df2fb5d253e6850468a8.tar.xz
Bug 348871: modify show_bug in order to pass HTML validation - Patch by victory(_RSZ_) <bmo@rsz.jp> r=LpSolit a=myk
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/edit.html.tmpl19
1 files changed, 11 insertions, 8 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index a2c13f2ea..e53e1caaf 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -486,7 +486,7 @@
</tr>
<tr>
<td colspan="7" align="right">
- <a href="summarize_time.cgi?id=[% bug.bug_id %]&do_depends=1">
+ <a href="summarize_time.cgi?id=[% bug.bug_id %]&amp;do_depends=1">
Summarize time (including time for [% terms.bugs %]
blocking this [% terms.bug %])</a>
</td>
@@ -497,13 +497,16 @@
[%# *** Custom Fields *** %]
[% USE Bugzilla %]
-<table>
- [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %]
- <tr>
- [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=1 %]
- </tr>
- [% END %]
-</table>
+[% 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 *** %]