From 138c15b19a7f49667c012829cc0311abdbdfb0c0 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 11 Feb 2009 20:30:32 +0000 Subject: Bug 375382: When viewing a bug, make obsolete attachments hidden by default Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/attachment/list.html.tmpl | 41 ++++++++++++++------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'template/en/default/attachment') diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 08c575dbf..04894ff8d 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -20,33 +20,32 @@ #%]
@@ -66,8 +65,9 @@ [% IF attachment.isobsolete %] [% obsolete_attachments = obsolete_attachments + 1 %] [% END %] - + [% IF attachment.datasize %] [% IF obsolete_attachments %] - Hide Obsolete ([% obsolete_attachments %]) + Show + Obsolete ([% obsolete_attachments %]) [% END %] [% IF Param("allow_attachment_display") %] View All -- cgit v1.2.3-24-g4f1b