Commit 334aebea authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 293767: The search page does not use localised terms for statuses and…

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
parent fe1b275f
...@@ -84,5 +84,6 @@ ...@@ -84,5 +84,6 @@
"REMIND" => "REMIND", "REMIND" => "REMIND",
"DUPLICATE" => "DUPLICATE", "DUPLICATE" => "DUPLICATE",
"WORKSFORME" => "WORKSFORME", "WORKSFORME" => "WORKSFORME",
"MOVED" => "MOVED" } %] "MOVED" => "MOVED",
"---" => "---" } %]
...@@ -595,7 +595,13 @@ function doOnSelectProduct(selectmode) { ...@@ -595,7 +595,13 @@ function doOnSelectProduct(selectmode) {
[% FOREACH name = ${sel.name} %] [% FOREACH name = ${sel.name} %]
<option value="[% name FILTER html %]" <option value="[% name FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, name) != -1 %]> [% " 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 %] [% END %]
</select> </select>
</label> </label>
......
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