aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authoruid623 <>2006-06-06 22:36:18 +0000
committeruid623 <>2006-06-06 22:36:18 +0000
commitb03111780c71fb98f3c896cae401454b86216515 (patch)
treec93e585cdb8f4f824e60a98e78c6c4054da2a550 /template/en
parent1c12bc24a63eaf0eeb1233daf39d3fa01a48cf59 (diff)
downloadbugs-b03111780c71fb98f3c896cae401454b86216515.tar
bugs-b03111780c71fb98f3c896cae401454b86216515.tar.gz
bugs-b03111780c71fb98f3c896cae401454b86216515.tar.bz2
bugs-b03111780c71fb98f3c896cae401454b86216515.tar.xz
bugs-b03111780c71fb98f3c896cae401454b86216515.zip
Patch for bug 315590: add anchors to flag section; patch by timeless <timeless@bemail.org>, r=vladd, a=myk.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/attachment/list.html.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 0b42c0c3c..b39530244 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -22,7 +22,7 @@
<br>
<table cellspacing="0" cellpadding="4" border="1">
<tr>
- <th bgcolor="#cccccc" align="left">Attachment</th>
+ <th bgcolor="#cccccc" align="left"><a name="a0" id="a0">Attachment</a></th>
<th bgcolor="#cccccc" align="left">Type</th>
<th bgcolor="#cccccc" align="left">Creator</th>
<th bgcolor="#cccccc" align="left">Created</th>
@@ -33,11 +33,13 @@
<th bgcolor="#cccccc" align="left">Actions</th>
</tr>
[% canseeprivate = !Param("insidergroup") || UserInGroup(Param("insidergroup")) %]
+ [% count = 0 %]
[% FOREACH attachment = attachments %]
[% IF !attachment.isprivate || canseeprivate %]
+ [% count = count + 1 %]
<tr [% "class=\"bz_private\"" IF attachment.isprivate %]>
<td valign="top">
- <a href="attachment.cgi?id=[% attachment.id %]">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a>
+ <a name="a[% count %]" href="attachment.cgi?id=[% attachment.id %]">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a>
</td>
<td valign="top">