Commit 61ead83b authored by Matt Selsky's avatar Matt Selsky Committed by Frédéric Buclin

Bug 577854: URL field header caption does not link to field value description…

Bug 577854: URL field header caption does not link to field value description (confusingly links to actual URL) r/a=mkanat
parent 373c9de7
...@@ -490,15 +490,11 @@ ...@@ -490,15 +490,11 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK section_url_keyword_whiteboard %] [% BLOCK section_url_keyword_whiteboard %]
<tr> <tr>
<td class="field_label"> [% INCLUDE "bug/field-label.html.tmpl"
<label for="bug_file_loc" accesskey="u"><b> field = bug_fields.bug_file_loc
[% IF is_safe_url(bug.bug_file_loc) %] editable = 1
<a href="[% bug.bug_file_loc FILTER html %]"><u>U</u>RL</a> accesskey = "u"
[% ELSE %] %]
<u>U</u>RL
[% END %]
[%%]</b></label>:
</td>
<td> <td>
[% IF bug.check_can_change_field("bug_file_loc", 0, 1) %] [% IF bug.check_can_change_field("bug_file_loc", 0, 1) %]
<span id="bz_url_edit_container" class="bz_default_hidden"> <span id="bz_url_edit_container" class="bz_default_hidden">
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
# hidden: True if the field label should start hidden. # hidden: True if the field label should start hidden.
# rowspan: a "rowspan" value for the label's <th>. # rowspan: a "rowspan" value for the label's <th>.
# tag_name: the tag to use to surround the label # tag_name: the tag to use to surround the label
# accesskey: access key for the label
#%] #%]
[% DEFAULT tag_name = "th" %] [% DEFAULT tag_name = "th" %]
...@@ -33,7 +34,7 @@ ...@@ -33,7 +34,7 @@
[% IF rowspan %] rowspan="[% rowspan FILTER html %]"[% END %]> [% IF rowspan %] rowspan="[% rowspan FILTER html %]"[% END %]>
[% IF editable %] [% IF editable %]
<label for="[% field.name FILTER html %]"> <label for="[% field.name FILTER html %]"[% IF accesskey %] accesskey="[% accesskey FILTER html %]"[% END %]>
[% END %] [% END %]
<a <a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment