From 47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Thu, 23 Jul 2009 21:58:31 +0000 Subject: Bug 506056 - Status and Resolution in Search description not localizable. Patch by Marc Schumann ; r/a=mkanat --- template/en/default/list/list.html.tmpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index e0676b2b7..c723e3f95 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -91,7 +91,17 @@ [% IF shown_types.contains(desc_item.type) || debug %] ([% search_descs.${desc_item.type} FILTER html %]) [% END %] - [%+ desc_item.value FILTER html %] + [% IF desc_item.field == 'bug_status' %] + [% FOREACH status IN desc_item.value.split(',') %] + [%+ get_status(status) FILTER html %][% ',' UNLESS loop.last %] + [% END %] + [% ELSIF desc_item.field == 'resolution' %] + [% FOREACH resolution IN desc_item.value.split(',') %] + [%+ get_resolution(resolution) FILTER html %][% ',' UNLESS loop.last %] + [% END %] + [% ELSE %] + [%+ desc_item.value FILTER html %] + [% END %] [% IF debug %] ([% desc_item.term FILTER html %]) [% END %] -- cgit v1.2.3-24-g4f1b