diff options
author | Gordon P. Hemsley <gphemsley@gmail.com> | 2010-02-17 22:55:21 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-17 22:55:21 +0100 |
commit | 738591be1e58b664146eb12b61fa4294d56b534e (patch) | |
tree | ceaeec93acd30000055ada5afb4b31d197e59512 /template/en/default/attachment | |
parent | 779b283127b310bb8676d11fed7a071ef1ce4ceb (diff) | |
download | bugzilla-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')
-rw-r--r-- | template/en/default/attachment/diff-file.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/attachment/diff-file.html.tmpl b/template/en/default/attachment/diff-file.html.tmpl index 9392ca105..a742a841e 100644 --- a/template/en/default/attachment/diff-file.html.tmpl +++ b/template/en/default/attachment/diff-file.html.tmpl @@ -53,7 +53,7 @@ incremental_restore() [% FOREACH section = sections %] [% section_num = section_num + 1 %] <tr><th colspan="4" class="section_head"> - <table cellpadding="0" cellspacing="0"> + <table id="[% file.filename FILTER html %]_sec[% section_num %]" cellpadding="0" cellspacing="0"> <tr><th width="95%" align="left"> [% IF file.is_add %] Added @@ -79,7 +79,7 @@ incremental_restore() [% section.func_info FILTER html IF section.func_info %] [% END %] </th><th> - <a name="[% file.filename FILTER html %]_sec[% section_num %]" href="#[% file.filename FILTER html %]_sec[% section_num %]">Link Here</a> + <a href="#[% file.filename FILTER html %]_sec[% section_num %]">Link Here</a> </th></tr></table> </th></tr> [% current_line_old = section.old_start %] 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> |