summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authoruid623 <>2006-06-07 02:30:45 +0200
committeruid623 <>2006-06-07 02:30:45 +0200
commitdf309377a5aa1aaded87e63424c9025c4fe2d7be (patch)
treedfc57da1f1a9f75cb76739ef9a087fb55a4ff197 /template
parente03e832f09f996c0fe24c06e6a0c3715dfcbe747 (diff)
downloadbugzilla-df309377a5aa1aaded87e63424c9025c4fe2d7be.tar.gz
bugzilla-df309377a5aa1aaded87e63424c9025c4fe2d7be.tar.xz
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.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/list.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index b39530244..34f646985 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -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>