Commit b0311178 authored by uid623's avatar uid623

Patch for bug 315590: add anchors to flag section; patch by timeless…

Patch for bug 315590: add anchors to flag section; patch by timeless <timeless@bemail.org>, r=vladd, a=myk.
parent 1c12bc24
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<br> <br>
<table cellspacing="0" cellpadding="4" border="1"> <table cellspacing="0" cellpadding="4" border="1">
<tr> <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">Type</th>
<th bgcolor="#cccccc" align="left">Creator</th> <th bgcolor="#cccccc" align="left">Creator</th>
<th bgcolor="#cccccc" align="left">Created</th> <th bgcolor="#cccccc" align="left">Created</th>
...@@ -33,11 +33,13 @@ ...@@ -33,11 +33,13 @@
<th bgcolor="#cccccc" align="left">Actions</th> <th bgcolor="#cccccc" align="left">Actions</th>
</tr> </tr>
[% canseeprivate = !Param("insidergroup") || UserInGroup(Param("insidergroup")) %] [% canseeprivate = !Param("insidergroup") || UserInGroup(Param("insidergroup")) %]
[% count = 0 %]
[% FOREACH attachment = attachments %] [% FOREACH attachment = attachments %]
[% IF !attachment.isprivate || canseeprivate %] [% IF !attachment.isprivate || canseeprivate %]
[% count = count + 1 %]
<tr [% "class=\"bz_private\"" IF attachment.isprivate %]> <tr [% "class=\"bz_private\"" IF attachment.isprivate %]>
<td valign="top"> <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>
<td valign="top"> <td valign="top">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment