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 + [% bug_status_select_displayed = 1 %] + [% END %] [% PROCESS initial_action %] [% NEXT IF bug_status.name == bug.bug_status %] - - - [% IF bug.isopened && !bug_status.is_open %] - and set the resolution to [% PROCESS select_resolution field = "knob_${bug_status.id}" %] + + [% IF !bug_status.is_open %] + [% show_resolution = 1 %] + [% filtered_status = bug_status.name FILTER js %] + [% closed_status_array.push( filtered_status ) %] [% END %] -
[% END %] [%# These actions are special and are independent of the workflow. %] [% IF bug.user.canedit || bug.user.isreporter %] + [% IF NOT bug_status_select_displayed %] + - -
[% END %] - [% ELSE %] - [% IF bug.resolution != "MOVED" || bug.user.canmove %] + [% ELSIF bug.resolution != "MOVED" || bug.user.canmove %] [% PROCESS initial_action %] - - - [% PROCESS select_resolution field = "knob_change_resolution" %] -
- [% END %] + [% show_resolution = 1 %] [% END %] - - [% PROCESS duplicate %] + [% END %] + [% IF bug_status_select_displayed %] + + [% ELSE %] + [% get_status(bug.bug_status) FILTER html %] + [% IF bug.resolution %] + [%+ get_resolution(bug.resolution) FILTER html %] + [% IF bug.dup_id %] + of + [% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %] + [% END %] + [% END %] [% END %] - - -
- - [% IF bug.user.canmove %] - + [% IF bug.user.canedit || bug.user.isreporter %] + [% IF show_resolution %] + + [% PROCESS select_resolution %] [% END %] -
+ + + of + + [% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %] + (edit) + + +
+ Mark as Duplicate +
+ [% END %] + [%# Common actions %] [% BLOCK initial_action %] - [%# Only show 'Leave as' action in combination with another knob %] [% IF !initial_action_shown %] - - -
+ + [% IF !bug.isopened %] + [% show_resolution = 1 %] + [% filtered_status = bug.bug_status FILTER js %] + [% closed_status_array.push(filtered_status) %] + [% END %] [% initial_action_shown = 1 %] [% END %] [% END %] [% BLOCK select_resolution %] - [% FOREACH r = bug.choices.resolution %] - + [% NEXT IF r == "MOVED" && bug.resolution != "MOVED" %] + [% END %] [% END %] - -[% BLOCK duplicate %] - - - -
-[% END %] -- cgit v1.2.3-24-g4f1b