Bug 1133245: Add ID HTML parameters to <tr> table rows on show_bug.cgi

r=dylan,a=glob


git-svn-id: svn://10.0.0.236/trunk@265836 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2015-02-25 18:15:49 +00:00
parent f965fc5ebe
commit 933fd73568
3 changed files with 26 additions and 26 deletions

View File

@ -1 +1 @@
9312 9313

View File

@ -1 +1 @@
88e42751a27c1f6d3e341a57dde58a06bfd91af6 32232916b0ac69da84f5e1f739fc63c0205ef325

View File

@ -227,7 +227,7 @@
[%#############%] [%#############%]
[%# PRODUCT #%] [%# PRODUCT #%]
[%#############%] [%#############%]
<tr> <tr id="field_tablerow_product">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.product field = bug_fields.product
desc_url = 'describecomponents.cgi' desc_url = 'describecomponents.cgi'
@ -249,7 +249,7 @@
# it uses some javascript that depends on the existence of the # it uses some javascript that depends on the existence of the
# product field. # product field.
#%] #%]
<tr class="bz_default_hidden"> <tr id="field_tablerow_classification" class="bz_default_hidden">
[% INCLUDE bug/field.html.tmpl [% INCLUDE bug/field.html.tmpl
bug = bug field = bug_fields.classification bug = bug field = bug_fields.classification
override_legal_values = bug.choices.classification override_legal_values = bug.choices.classification
@ -259,7 +259,7 @@
[%###############%] [%###############%]
[%# Component #%] [%# Component #%]
[%###############%] [%###############%]
<tr> <tr id="field_tablerow_component">
[% INCLUDE bug/field.html.tmpl [% INCLUDE bug/field.html.tmpl
bug = bug, field = bug_fields.component, value = bug.component bug = bug, field = bug_fields.component, value = bug.component
override_legal_values = bug.choices.component override_legal_values = bug.choices.component
@ -267,7 +267,7 @@
editable = bug.check_can_change_field('component', 0, 1) editable = bug.check_can_change_field('component', 0, 1)
%] %]
</tr> </tr>
<tr> <tr id="field_tablerow_version">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.version editable = 1 %] field = bug_fields.version editable = 1 %]
@ -276,7 +276,7 @@
[%############%] [%############%]
[%# PLATFORM #%] [%# PLATFORM #%]
[%############%] [%############%]
<tr> <tr id="field_tablerow_rep_platform">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.rep_platform, editable = 1, accesskey = "h" %] field = bug_fields.rep_platform, editable = 1, accesskey = "h" %]
<td class="field_value"> <td class="field_value">
@ -300,7 +300,7 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK section_status %] [% BLOCK section_status %]
<tr> <tr id="field_tablerow_status">
<th class="field_label"> <th class="field_label">
<a href="page.cgi?id=fields.html#bug_status">Status</a>: <a href="page.cgi?id=fields.html#bug_status">Status</a>:
</th> </th>
@ -331,7 +331,7 @@
[%###############################################################%] [%###############################################################%]
[%# Importance (priority and severity) #%] [%# Importance (priority and severity) #%]
[%###############################################################%] [%###############################################################%]
<tr> <tr id="field_tablerow_importance">
<th class="field_label"> <th class="field_label">
<label for="priority" accesskey="i"> <label for="priority" accesskey="i">
<a href="page.cgi?id=fields.html#importance"><u>I</u>mportance</a></label>: <a href="page.cgi?id=fields.html#importance"><u>I</u>mportance</a></label>:
@ -350,7 +350,7 @@
</tr> </tr>
[% IF Param("usetargetmilestone") && bug.target_milestone %] [% IF Param("usetargetmilestone") && bug.target_milestone %]
<tr> <tr id="field_tablerow_target_milestone">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.target_milestone field = bug_fields.target_milestone
editable = 1 editable = 1
@ -370,7 +370,7 @@
[% BLOCK section_people %] [% BLOCK section_people %]
<tr> <tr id="field_tablerow_assigned_to">
<th class="field_label"> <th class="field_label">
<a href="page.cgi?id=fields.html#assigned_to">Assigned To</a>: <a href="page.cgi?id=fields.html#assigned_to">Assigned To</a>:
</th> </th>
@ -419,7 +419,7 @@
</tr> </tr>
[% IF Param('useqacontact') %] [% IF Param('useqacontact') %]
<tr> <tr id="field_tablerow_qa_contact">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.qa_contact field = bug_fields.qa_contact
editable = 1 editable = 1
@ -481,7 +481,7 @@
[%# Block for URL Keyword and Whiteboard #%] [%# Block for URL Keyword and Whiteboard #%]
[%############################################################################%] [%############################################################################%]
[% BLOCK section_url_keyword_whiteboard %] [% BLOCK section_url_keyword_whiteboard %]
<tr> <tr id="field_tablerow_bug_file_loc">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.bug_file_loc field = bug_fields.bug_file_loc
editable = 1 editable = 1
@ -522,7 +522,7 @@
</tr> </tr>
[% IF Param('usestatuswhiteboard') %] [% IF Param('usestatuswhiteboard') %]
<tr> <tr id="field_tablerow_status_whiteboard">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.status_whiteboard field = bug_fields.status_whiteboard
editable = 1 editable = 1
@ -533,7 +533,7 @@
[% END %] [% END %]
[% IF use_keywords %] [% IF use_keywords %]
<tr> <tr id="field_tablerow_keywords">
[% INCLUDE bug/field.html.tmpl [% INCLUDE bug/field.html.tmpl
bug = bug, field = bug_fields.keywords, value = bug.keywords bug = bug, field = bug_fields.keywords, value = bug.keywords
editable = bug.check_can_change_field("keywords", 0, 1), editable = bug.check_can_change_field("keywords", 0, 1),
@ -543,7 +543,7 @@
[% END %] [% END %]
[% IF user.id %] [% IF user.id %]
<tr> <tr id="field_tablerow_tag">
[% INCLUDE bug/field.html.tmpl [% INCLUDE bug/field.html.tmpl
bug = bug, field = bug_fields.tag, value = bug.tags.join(", "), bug = bug, field = bug_fields.tag, value = bug.tags.join(", "),
editable = 1, possible_values = user.tags.keys editable = 1, possible_values = user.tags.keys
@ -558,7 +558,7 @@
[% BLOCK section_duplicates %] [% BLOCK section_duplicates %]
[% RETURN UNLESS bug.duplicates.size %] [% RETURN UNLESS bug.duplicates.size %]
<tr> <tr id="field_tablerow_duplicates">
<th class="field_label"> <th class="field_label">
<label for="duplicates">Duplicates ([% bug.duplicates.size %])</label>: <label for="duplicates">Duplicates ([% bug.duplicates.size %])</label>:
</th> </th>
@ -579,7 +579,7 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK section_dependson_blocks %] [% BLOCK section_dependson_blocks %]
<tr> <tr id="field_tablerow_dependson">
[% INCLUDE dependencies [% INCLUDE dependencies
field = bug_fields.dependson deps = bug.depends_on_obj %] field = bug_fields.dependson deps = bug.depends_on_obj %]
</tr> </tr>
@ -590,7 +590,7 @@
</tr> </tr>
[% IF bug.dependson.size || bug.blocked.size %] [% IF bug.dependson.size || bug.blocked.size %]
<tr> <tr id="field_tablerow_blocked">
<th>&nbsp;</th> <th>&nbsp;</th>
<td colspan="2" id="show_dependency_tree_or_graph"> <td colspan="2" id="show_dependency_tree_or_graph">
@ -708,7 +708,7 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK section_dates %] [% BLOCK section_dates %]
<tr> <tr id="field_tablerow_reported">
<th class="field_label"> <th class="field_label">
Reported: Reported:
</th> </th>
@ -717,7 +717,7 @@
</td> </td>
</tr> </tr>
<tr> <tr id="field_tablerow_modified">
<th class="field_label"> <th class="field_label">
Modified: Modified:
</th> </th>
@ -733,7 +733,7 @@
[%# Block for CC LIST #%] [%# Block for CC LIST #%]
[%############################################################################%] [%############################################################################%]
[% BLOCK section_cclist %] [% BLOCK section_cclist %]
<tr> <tr id="field_tablerow_cclist">
<th class="field_label"> <th class="field_label">
<label for="newcc" accesskey="a">CC List:</label> <label for="newcc" accesskey="a">CC List:</label>
</th> </th>
@ -823,7 +823,7 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK section_bug_ignored %] [% BLOCK section_bug_ignored %]
[% IF user.id %] [% IF user.id %]
<tr> <tr id="field_tablerow_bug_ignored">
<th class="field_label"> <th class="field_label">
<label for="bug_ignored" title="Ignore all email for this [% terms.bug %]"> <label for="bug_ignored" title="Ignore all email for this [% terms.bug %]">
Ignore [% terms.Bug %] Mail: Ignore [% terms.Bug %] Mail:
@ -846,7 +846,7 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK section_see_also %] [% BLOCK section_see_also %]
[% IF Param('use_see_also') || bug.see_also.size %] [% IF Param('use_see_also') || bug.see_also.size %]
<tr> <tr id="field_tablerow_see_also">
[% INCLUDE bug/field.html.tmpl [% INCLUDE bug/field.html.tmpl
field = bug_fields.see_also field = bug_fields.see_also
value = bug.see_also value = bug.see_also
@ -857,7 +857,7 @@
[% END %] [% END %]
[% BLOCK section_aliases %] [% BLOCK section_aliases %]
<tr> <tr id="field_tablerow_alias">
[% INCLUDE "bug/field-label.html.tmpl" [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.alias, editable = 1 field = bug_fields.alias, editable = 1
%] %]
@ -928,7 +928,7 @@
[% LAST IF show_bug_flags && show_more_flags && bug_flags_set %] [% LAST IF show_bug_flags && show_more_flags && bug_flags_set %]
[% END %] [% END %]
[% IF show_bug_flags %] [% IF show_bug_flags %]
<tr> <tr id="field_tablerow_flags">
<th class="field_label"> <th class="field_label">
<label>Flags:</label> <label>Flags:</label>
</th> </th>