summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2011-12-05 19:58:12 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-12-05 19:58:12 +0100
commitea02384f5c8c226c3eeea27513365f2f2f11e745 (patch)
tree48d7e7ab24d9dd8c981fc9a7cefd54a39c85d179 /template/en/default/bug
parenta6d120fa5359e423f855a04bbb698c2043eb2e0d (diff)
downloadbugzilla-ea02384f5c8c226c3eeea27513365f2f2f11e745.tar.gz
bugzilla-ea02384f5c8c226c3eeea27513365f2f2f11e745.tar.xz
Bug 577854: URL field header caption does not link to field value description (confusingly links to actual URL)
r/a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/edit.html.tmpl14
-rw-r--r--template/en/default/bug/field-label.html.tmpl3
2 files changed, 7 insertions, 10 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index ab150dd31..bdee83806 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -556,15 +556,11 @@
[%############################################################################%]
[% BLOCK section_url_keyword_whiteboard %]
<tr>
- <td class="field_label">
- <label for="bug_file_loc" accesskey="u"><b>
- [% IF is_safe_url(bug.bug_file_loc) %]
- <a href="[% bug.bug_file_loc FILTER html %]"><u>U</u>RL</a>
- [% ELSE %]
- <u>U</u>RL
- [% END %]
- [%%]</b></label>:
- </td>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.bug_file_loc
+ editable = 1
+ accesskey = "u"
+ %]
<td>
[% IF bug.check_can_change_field("bug_file_loc", 0, 1) %]
<span id="bz_url_edit_container" class="bz_default_hidden">
diff --git a/template/en/default/bug/field-label.html.tmpl b/template/en/default/bug/field-label.html.tmpl
index fe3bed75b..ecb49318e 100644
--- a/template/en/default/bug/field-label.html.tmpl
+++ b/template/en/default/bug/field-label.html.tmpl
@@ -24,6 +24,7 @@
# hidden: True if the field label should start hidden.
# rowspan: a "rowspan" value for the label's <th>.
# tag_name: the tag to use to surround the label
+ # accesskey: access key for the label
#%]
[% DEFAULT tag_name = "th" %]
@@ -33,7 +34,7 @@
[% IF rowspan %] rowspan="[% rowspan FILTER html %]"[% END %]>
[% IF editable %]
- <label for="[% field.name FILTER html %]">
+ <label for="[% field.name FILTER html %]"[% IF accesskey %] accesskey="[% accesskey FILTER html %]"[% END %]>
[% END %]
<a