From 90f6e932e23ec82dd31149a118661a91f51a5e90 Mon Sep 17 00:00:00 2001 From: "jouni%heikniemi.net" <> Date: Sun, 30 May 2004 22:52:12 +0000 Subject: Bug 223541: Make flags show up correctly in "View all attachments" mode. r=joel a=justdave --- template/en/default/attachment/show-multiple.html.tmpl | 15 +++++++++++---- template/en/default/filterexceptions.pl | 1 + 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index bcfae488d..e7043a142 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -61,11 +61,18 @@ [% a.datasize FILTER unitconvert %] - [% IF a.statuses.size == 0 %] - none + [% IF a.flags.size == 0 %] + no flags [% ELSE %] - [% FOREACH s = a.statuses %] - [% s FILTER html FILTER replace('\s', ' ') %]
+ [% FOREACH flag = a.flags %] + [% IF flag.setter %] + [% flag.setter.nick FILTER html %]: + [% END %] + [%+ flag.type.name FILTER html %][% flag.status %] + [% IF flag.status == "?" && flag.requestee %] + ([% flag.requestee.nick FILTER html %]) + [% END %] + [% ", " IF !loop.last %] [% END %] [% END %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 1c74c3b89..c030fa04f 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -450,6 +450,7 @@ 'attachment/show-multiple.html.tmpl' => [ 'a.attachid', + 'flag.status' ], 'attachment/updated.html.tmpl' => [ -- cgit v1.2.3-24-g4f1b