diff options
author | wurblzap%gmail.com <> | 2009-07-23 21:58:31 +0000 |
---|---|---|
committer | wurblzap%gmail.com <> | 2009-07-23 21:58:31 +0000 |
commit | 47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5 (patch) | |
tree | 4c2964ccc11690e21d10c85977d7ca28a6692815 | |
parent | a1d2460f8c48c8f23d1fc2ed876ec65cfd370949 (diff) | |
download | bugs-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.tar bugs-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.tar.gz bugs-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.tar.bz2 bugs-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.tar.xz bugs-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.zip |
Bug 506056 - Status and Resolution in Search description not localizable.
Patch by Marc Schumann <wurblzap@gmail.com>;
r/a=mkanat
-rw-r--r-- | template/en/default/list/list.html.tmpl | 12 |
1 files changed, 11 insertions, 1 deletions
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 %] (<code>[% desc_item.term FILTER html %]</code>) [% END %] |