From f89fdca1b49a873b89e8955ce1553677455ecf60 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" <> Date: Wed, 24 Jan 2007 03:04:27 +0000 Subject: Bug 367679 - "Usability changes to new attachment table" [p=reed r=LpSolit a=LpSolit] --- template/en/default/attachment/list.html.tmpl | 18 ++++++++++-------- template/en/default/filterexceptions.pl | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 275e92df2..99f51064d 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 %]