summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorGordon P. Hemsley <gphemsley@gmail.com>2010-02-17 22:55:21 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-17 22:55:21 +0100
commit738591be1e58b664146eb12b61fa4294d56b534e (patch)
treeceaeec93acd30000055ada5afb4b31d197e59512 /template/en/default/bug
parent779b283127b310bb8676d11fed7a071ef1ce4ceb (diff)
downloadbugzilla-738591be1e58b664146eb12b61fa4294d56b534e.tar.gz
bugzilla-738591be1e58b664146eb12b61fa4294d56b534e.tar.xz
Bug 546340 - Change <a name> anchors to use @id
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/comments.html.tmpl4
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl9
-rw-r--r--template/en/default/bug/dependency-tree.html.tmpl2
-rw-r--r--template/en/default/bug/edit.html.tmpl7
4 files changed, 9 insertions, 13 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 41b91d79a..93b954e87 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -158,7 +158,7 @@
[% BLOCK a_comment %]
[% RETURN IF comment.is_private AND ! user.is_insider %]
- <div class="bz_comment[% " bz_private" IF comment.is_private %]
+ <div id="c[% count %]" class="bz_comment[% " bz_private" IF comment.is_private %]
[% " bz_comment_hilite" IF marks.$count %]
[% " bz_first_comment" IF count == description %]">
[% IF count == description %]
@@ -194,7 +194,7 @@
[% END %]
<span class="bz_comment_number">
- <a name="c[% count %]"
+ <a
href="show_bug.cgi?id=[% bug.bug_id %]#c[% count %]">
[%- comment_label FILTER html %]</a>
</span>
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index 9f2a21b71..86bdb8621 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -67,8 +67,7 @@ function PutDescription() {
}
</script>
-<a name="step1"></a>
-<h3>Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
+<h3 id="step1">Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
<p>
<font color="red">Please don't skip this step - half of all
@@ -136,8 +135,7 @@ function PutDescription() {
</p>
-<a name="step2"></a>
-<h3>Step 2 of 3 - give information</h3>
+<h3 id="step2">Step 2 of 3 - give information</h3>
<p>
If you've tried a few searches and your [% terms.bug %] really isn't in
@@ -474,8 +472,7 @@ function PutDescription() {
</table>
-<a name="step3"></a>
-<h3>Step 3 of 3 - submit the [% terms.bug %] report</h3>
+<h3 id="step3">Step 3 of 3 - submit the [% terms.bug %] report</h3>
<p>
<input type="submit" id="report" value=" Submit [% terms.Bug %] Report "
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl
index c42c3c4d1..627c89d60 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -129,7 +129,7 @@
[% extra_class = " b_open" %]
[% extra_args = 'onclick="return doToggle(this, event)"' %]
[% END %]
- <a name="b[% bugid %]"
+ <a id="b[% bugid %]"
class="b [%+ extra_class FILTER none %]"
title="Click to expand or contract this portion of the tree. Hold down the Ctrl key while clicking to expand or contract all subtrees."
[% extra_args FILTER none %]>&nbsp;&nbsp;</a>
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index b84aa8238..9979e9551 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -1019,8 +1019,7 @@
[%############################################################################%]
[% BLOCK comment_box %]
- <div class="bz_section_additional_comments">
- <a name="add_comment"></a>
+ <div id="add_comment" class="bz_section_additional_comments">
[% IF user.id %]
<label for="comment" accesskey="c"><b>Additional
<u>C</u>omments</b></label>:
@@ -1048,13 +1047,13 @@
<br>
[% PROCESS commit_button id=""%]
- <table class="status" cellspacing="0" cellpadding="0">
+ <table id="bug_status_bottom"
+ class="status" cellspacing="0" cellpadding="0">
<tr>
<td class="field_label">
<b><a href="page.cgi?id=fields.html#status">Status</a></b>:
</td>
<td>
- <a name="bug_status_bottom"></a>
[% PROCESS bug/knob.html.tmpl %]
</td>
</tr>