From df309377a5aa1aaded87e63424c9025c4fe2d7be Mon Sep 17 00:00:00 2001 From: uid623 <> Date: Wed, 7 Jun 2006 00:30:45 +0000 Subject: 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 , r=timeless; a=myk on the bug. --- template/en/default/attachment/list.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template') 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 %] [% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %] -- cgit v1.2.3-24-g4f1b