From d06db94e9793766ba8b67fcf6602f6d87bd624d4 Mon Sep 17 00:00:00 2001 From: "guy.pyrzak%gmail.com" <> Date: Thu, 10 Apr 2008 21:33:15 +0000 Subject: Bug 414236 Ð show_bug.cgi: Remove the knob in favor of normal -
- -[% FOREACH bug_status = new_bug_statuses %] - - - [%# Closed bugs cannot have their resolution changed this way. %] - [% IF !bug_status.is_open && !all_closed_bugs %] - and set the resolution to [% PROCESS select_resolution id = bug_status.id %] - [%+ "(*)" UNLESS all_open_bugs %] - [% display_warning = 1 UNLESS all_open_bugs %] - [% END %] -
-[% END %] - -[%# If all the bugs being changed are open, allow the user to clear their resolution. %] -[% IF all_open_bugs %] - -
-[% END %] - -[%# If all the bugs being changed are closed, allow the user to change their resolution. %] -[% IF all_closed_bugs %] - - - [%+ PROCESS select_resolution id = "change_resolution" %]
-[% END %] - -[% IF display_warning %] -

- (*) Note that the resolution will only be applied to open [% terms.bugs %]. - Already closed [% terms.bugs %] will keep their resolution unchanged. -

-[% END %] - [% IF Param('move-enabled') && user.is_mover %] @@ -374,12 +336,50 @@ [% END %] -[% BLOCK select_resolution %] - + + + [% FOREACH bug_status = new_bug_statuses %] + + [% IF !bug_status.is_open %] + [% filtered_status = bug_status.name FILTER js %] + [% closed_status_array.push( filtered_status ) %] + [% END %] + [% END %] + + [%# If all the bugs being changed are closed, allow the user to change their resolution. %] + [% IF all_closed_bugs %] + [% filtered_status = dontchange FILTER js %] + [% closed_status_array.push( filtered_status ) %] + [% END %] + + + + + + + + [% END %] -- cgit v1.2.3-24-g4f1b