From d6884d80b88f120cbf81c904034eaddd1b54d3e7 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 23 Jul 2012 18:16:11 -0400 Subject: Bug 771107 - List of attachments in attachment details screen does not distinguish obsolete attachments r=glob, a=LpSolit --- template/en/default/attachment/edit.html.tmpl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'template/en/default/attachment') diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 95ad4d335..530b2d04c 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -306,10 +306,17 @@
Attachments on [% "$terms.bug ${attachment.bug_id}" FILTER bug_link(attachment.bug_id) FILTER none %]: [% FOREACH a = attachments %] - [% IF a == attachment.id %] - [%+ a %] + [% IF a.isobsolete %] + + [% END %] + [% IF a.id == attachment.id %] + [%+ a.id FILTER html %] [% ELSE %] - [% a %] + [% a.id FILTER html %] + [% END %] + [% IF a.isobsolete %] + [% END %] [% " |" UNLESS loop.last() %] [% END %] -- cgit v1.2.3-24-g4f1b