]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 422935 â\80\93 Status values for â\80\9cTake Bugâ\80\9d functionality on attachment creation...
authorwurblzap%gmail.com <>
Mon, 17 Mar 2008 14:12:13 +0000 (14:12 +0000)
committerwurblzap%gmail.com <>
Mon, 17 Mar 2008 14:12:13 +0000 (14:12 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>;
r=LpSolit; a=LpSolit

template/en/default/attachment/create.html.tmpl

index 3a5353577d2c2c4f34d90b50720a71d9c155ffc4..7944228f373e7d2df975980ea9384debd56d0df6 100644 (file)
@@ -21,7 +21,7 @@
   #                 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 %]
 [% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bug.bug_id %][% END %]
           [% IF bug_statuses.size %]
             <label for="takebug">and set the [% terms.bug %] status to</label>
             <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 %]
                 [% 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 %]
             </select>
           [% END %]