summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2009-07-23 23:58:31 +0200
committerwurblzap%gmail.com <>2009-07-23 23:58:31 +0200
commit47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5 (patch)
tree4c2964ccc11690e21d10c85977d7ca28a6692815
parenta1d2460f8c48c8f23d1fc2ed876ec65cfd370949 (diff)
downloadbugzilla-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.tar.gz
bugzilla-47990ac5f68b5e834fcc94e0fb7d62b87eb8abd5.tar.xz
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.tmpl12
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 %]