Commit 47990ac5 authored by wurblzap%gmail.com's avatar wurblzap%gmail.com

Bug 506056 - Status and Resolution in Search description not localizable.

Patch by Marc Schumann <wurblzap@gmail.com>; r/a=mkanat
parent a1d2460f
......@@ -91,7 +91,17 @@
[% IF shown_types.contains(desc_item.type) || debug %]
([% search_descs.${desc_item.type} FILTER html %])
[% END %]
[% 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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment