From: reed%reedloden.com <> Date: Wed, 24 Jan 2007 03:04:27 +0000 (+0000) Subject: Bug 367679 - "Usability changes to new attachment table" [p=reed r=LpSolit a=LpSolit] X-Git-Tag: bugzilla-2.23.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89fdca1b49a873b89e8955ce1553677455ecf60;p=thirdparty%2Fbugzilla.git Bug 367679 - "Usability changes to new attachment table" [p=reed r=LpSolit a=LpSolit] --- diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 275e92df27..99f51064dc 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -59,12 +59,14 @@ [% count = 0 %] - [% has_obsolete_attachments = 0 %] + [% obsolete_attachments = 0 %] [% FOREACH attachment = attachments %] [% count = count + 1 %] [% IF !attachment.isprivate || user.is_insider || attachment.attacher.id == user.id %] - [% SET has_obsolete_attachments = 1 IF attachment.isobsolete %] + [% IF attachment.isobsolete %] + [% obsolete_attachments = obsolete_attachments + 1 %] + [% END %]