Commit ab723ea0 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 290972: In the "Find a Specific Bug" page, the status of the bug being…

Bug 290972: In the "Find a Specific Bug" page, the status of the bug being searched cannot be translated - Patch by Emmanuel Seyman <eseyman@linagora.com> r=myk a=myk
parent 9af44ff9
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
], ],
'search/search-specific.html.tmpl' => [ 'search/search-specific.html.tmpl' => [
's', 'status.name',
], ],
'search/tabs.html.tmpl' => [ 'search/tabs.html.tmpl' => [
......
...@@ -59,10 +59,13 @@ for "crash secure SSL flash". ...@@ -59,10 +59,13 @@ for "crash secure SSL flash".
</td> </td>
<td> <td>
<select name="bug_status" id="bug_status"> <select name="bug_status" id="bug_status">
[% FOREACH s = ['open', 'closed', 'all'] %] [% statuses = [ { name = 'open', label = "Open" },
<option value="__[% s %]__" { name = 'closed', label = "Closed" },
[% " selected" IF default.bug_status.0 == "__${s}__" %]> { name = 'all', label = "All" } ] %]
[% s %] [% FOREACH status = statuses %]
<option value="__[% status.name %]__"
[% " selected" IF default.bug_status.0 == "__${status.name}__" %]>
[% status.label FILTER html %]
</option> </option>
[% END %] [% END %]
</select> </select>
......
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