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

This commit is contained in:
lpsolit%gmail.com 2005-05-07 13:26:14 +00:00
parent 667ef5e006
commit 2443091c7e
2 changed files with 8 additions and 5 deletions

View File

@ -87,7 +87,7 @@
],
'search/search-specific.html.tmpl' => [
's',
'status.name',
],
'search/tabs.html.tmpl' => [

View File

@ -59,10 +59,13 @@ for "crash secure SSL flash".
</td>
<td>
<select name="bug_status" id="bug_status">
[% FOREACH s = ['open', 'closed', 'all'] %]
<option value="__[% s %]__"
[% " selected" IF default.bug_status.0 == "__${s}__" %]>
[% s %]
[% statuses = [ { name = 'open', label = "Open" },
{ name = 'closed', label = "Closed" },
{ name = 'all', label = "All" } ] %]
[% FOREACH status = statuses %]
<option value="__[% status.name %]__"
[% " selected" IF default.bug_status.0 == "__${status.name}__" %]>
[% status.label FILTER html %]
</option>
[% END %]
</select>