summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLalit Khattar <luckyk1592@gmail.com>2014-06-18 09:10:14 +0200
committerByron Jones <glob@mozilla.com>2014-06-18 09:10:14 +0200
commit944b3270eebfc3a419c8917406d0754d8e92d0bb (patch)
tree54408cd7544e20dcd2ff966d85163fb8be90dcde
parentea10fefd22eea012cbd7812e35e45e648eb21df8 (diff)
downloadbugzilla-944b3270eebfc3a419c8917406d0754d8e92d0bb.tar.gz
bugzilla-944b3270eebfc3a419c8917406d0754d8e92d0bb.tar.xz
Bug 575211: show_bug.cgi should use field-label.html.tmpl for field headers
r=glob,a=sgreen
-rw-r--r--template/en/default/bug/edit.html.tmpl21
1 files changed, 7 insertions, 14 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index e4472c572..f7cb57fd8 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -364,11 +364,10 @@
[% IF Param("usetargetmilestone") && bug.target_milestone %]
<tr>
- <th class="field_label">
- <label for="target_milestone">
- <a href="page.cgi?id=fields.html#target_milestone">
- Target&nbsp;Milestone</a></label>:
- </th>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.target_milestone
+ editable = 1
+ %]
[% PROCESS select selname = "target_milestone" %]
</tr>
[% END %]
@@ -547,17 +546,11 @@
[% IF use_keywords %]
<tr>
- <th class="field_label">
- <label for="keywords" accesskey="k">
- <a href="describekeywords.cgi"><u>K</u>eywords</a></label>:
- </th>
- <td class="field_value" colspan="2">
[% INCLUDE bug/field.html.tmpl
- bug = bug, field = bug_fields.keywords, value = bug.keywords
- editable = bug.check_can_change_field("keywords", 0, 1),
- no_tds = 1, possible_values = all_keywords
+ bug = bug, field = bug_fields.keywords, value = bug.keywords
+ editable = bug.check_can_change_field("keywords", 0, 1),
+ desc_url = "describekeywords.cgi", possible_values = all_keywords
%]
- </td>
</tr>
[% END %]