mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
Follow-up patch for bug 315590: fix scenario where we have private attachments, and make the numbering behaviour consistent with the way we currently treat private bug comments; patch by Vlad Dascalu <vladd@bugzilla.org>, r=timeless; a=myk on the bug.
This commit is contained in:
parent
ab0aeec6c1
commit
60d5000537
@ -35,8 +35,8 @@
|
||||
[% canseeprivate = !Param("insidergroup") || UserInGroup(Param("insidergroup")) %]
|
||||
[% count = 0 %]
|
||||
[% FOREACH attachment = attachments %]
|
||||
[% count = count + 1 %]
|
||||
[% IF !attachment.isprivate || canseeprivate %]
|
||||
[% count = count + 1 %]
|
||||
<tr [% "class=\"bz_private\"" IF attachment.isprivate %]>
|
||||
<td valign="top">
|
||||
<a name="a[% count %]" href="attachment.cgi?id=[% attachment.id %]">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user