Bug 575211: show_bug.cgi should use field-label.html.tmpl for field headers

r=glob,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265438 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2014-06-18 07:45:49 +00:00
parent 14f65a2f6c
commit 849bd47ff1
3 changed files with 9 additions and 16 deletions

View File

@ -1 +1 @@
9061
9062

View File

@ -1 +1 @@
ea10fefd22eea012cbd7812e35e45e648eb21df8
944b3270eebfc3a419c8917406d0754d8e92d0bb

View File

@ -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 %]