summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/form.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-01 09:41:02 +0200
committerlpsolit%gmail.com <>2005-06-01 09:41:02 +0200
commit334aebead60d1006d4591ac31eeca84d82e60e9b (patch)
tree54e76a975a76af36dbfacbfc3106bab712a17479 /template/en/default/search/form.html.tmpl
parentfe1b275f2c39d9145b0bdbac76b4dfc1862840c5 (diff)
downloadbugzilla-334aebead60d1006d4591ac31eeca84d82e60e9b.tar.gz
bugzilla-334aebead60d1006d4591ac31eeca84d82e60e9b.tar.xz
Bug 293767: The search page does not use localised terms for statuses and resolutions - Patch by Emmanuel Seyman <eseyman@linagora.com> r=myk a=myk
Diffstat (limited to 'template/en/default/search/form.html.tmpl')
-rw-r--r--template/en/default/search/form.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 963d474d9..cc33c4f96 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -595,7 +595,13 @@ function doOnSelectProduct(selectmode) {
[% FOREACH name = ${sel.name} %]
<option value="[% name FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, name) != -1 %]>
- [% name FILTER html %]</option>
+ [% IF sel.name == "bug_status" %]
+ [% status_descs.${name} FILTER html %]</option>
+ [% ELSIF sel.name == "resolution" %]
+ [% resolution_descs.${name} FILTER html %]</option>
+ [% ELSE %]
+ [% name FILTER html %]</option>
+ [% END %]
[% END %]
</select>
</label>