Commit 2f97c275 authored by wurblzap%gmail.com's avatar wurblzap%gmail.com

Bug 422935 – Status values for “Take Bug” functionality on attachment…

Bug 422935 – Status values for “Take Bug” functionality on attachment creation not localizable. Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit; a=LpSolit
parent 60507620
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
# Marc Schumann <wurblzap@gmail.com> # Marc Schumann <wurblzap@gmail.com>
#%] #%]
[% PROCESS global/variables.none.tmpl %] [% PROCESS "global/field-descs.none.tmpl" %]
[%# Define strings that will serve as the title and header of this page %] [%# Define strings that will serve as the title and header of this page %]
[% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bug.bug_id %][% END %] [% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bug.bug_id %][% END %]
...@@ -82,10 +82,10 @@ ...@@ -82,10 +82,10 @@
[% IF bug_statuses.size %] [% IF bug_statuses.size %]
<label for="takebug">and set the [% terms.bug %] status to</label> <label for="takebug">and set the [% terms.bug %] status to</label>
<select id="bug_status" name="bug_status"> <select id="bug_status" name="bug_status">
<option label="[% bug.status.name FILTER html %]">[% bug.status.name FILTER html %] (current)</option> <option value="[% bug.status.name FILTER html %]">[% get_status(bug.status.name) FILTER html %] (current)</option>
[% FOREACH bug_status = bug_statuses %] [% FOREACH bug_status = bug_statuses %]
[% NEXT IF bug_status.id == bug.status.id %] [% NEXT IF bug_status.id == bug.status.id %]
<option label="[% bug_status.name FILTER html %]">[% bug_status.name FILTER html %]</option> <option value="[% bug_status.name FILTER html %]">[% get_status(bug_status.name) FILTER html %]</option>
[% END %] [% END %]
</select> </select>
[% END %] [% 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