summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/list.html.tmpl
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/attachment/list.html.tmpl
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/attachment/list.html.tmpl')
-rw-r--r--template/en/default/attachment/list.html.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 6453b4e68..9efc8a4e0 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -50,9 +50,9 @@ function toggle_display(link) {
<br>
<table id="attachment_table" cellspacing="0" cellpadding="4">
- <tr>
+ <tr id="a0">
<th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left">
- <a name="a0" id="a0">Attachments</a>
+ Attachments
</th>
</tr>
@@ -65,7 +65,7 @@ function toggle_display(link) {
[% IF attachment.isobsolete %]
[% obsolete_attachments = obsolete_attachments + 1 %]
[% END %]
- <tr class="[% "bz_contenttype_" _ attachment.contenttype
+ <tr id="a[% count %]" class="[% "bz_contenttype_" _ attachment.contenttype
FILTER css_class_quote UNLESS attachment.isurl %]
[% " bz_patch" IF attachment.ispatch %]
[% " bz_url" IF attachment.isurl %]
@@ -74,7 +74,7 @@ function toggle_display(link) {
IF attachment.isobsolete %]">
<td valign="top">
[% IF attachment.datasize %]
- <a name="a[% count %]" href="attachment.cgi?id=[% attachment.id %]"
+ <a href="attachment.cgi?id=[% attachment.id %]"
title="View the content of the attachment">
[% END %]
<b>[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</b>