diff --git a/webtools/bugzilla/template/en/default/bug/edit.html.tmpl b/webtools/bugzilla/template/en/default/bug/edit.html.tmpl
index 911035da1613..7c5273be5135 100644
--- a/webtools/bugzilla/template/en/default/bug/edit.html.tmpl
+++ b/webtools/bugzilla/template/en/default/bug/edit.html.tmpl
@@ -515,125 +515,7 @@
[% END %]
[% END %]
-[%# *** Knob *** %]
-
-
-
- Leave as [% bug.bug_status FILTER html %]
- [% bug.resolution FILTER html %]
-
-
- [% knum = 1 %]
-
- [% IF bug.bug_status == "UNCONFIRMED" &&
- bug.user.canconfirm %]
-
- Confirm [% terms.bug %] (change status to NEW)
-
- [% knum = knum + 1 %]
- [% END %]
-
- [% IF bug.user.canedit %]
- [% IF bug.isopened %]
- [% IF bug.bug_status != "ASSIGNED" && bug.user.canconfirm %]
-
- Accept [% terms.bug %] (
- [% IF bug.isunconfirmed %]confirm [% terms.bug %], [% END %]change
- status to ASSIGNED)
-
- [% knum = knum + 1 %]
- [% END %]
-
- [% IF bug.resolution %]
-
- Clear the resolution (remove the current resolution of
- [% bug.resolution FILTER html %])
- [% knum = knum + 1 %]
- [% END %]
-
-
- Resolve [% terms.bug %], changing resolution to
-
-
- [% knum = knum + 1 %]
-
-
- Resolve [% terms.bug %], mark it as duplicate of [% terms.bug %] #
-
-
- [% knum = knum + 1 %]
-
-
- Reassign [% terms.bug %] to
-
-
- [% IF bug.isunconfirmed && bug.user.canconfirm %]
-
- and confirm [% terms.bug %] (change status to NEW)
-
- [% END %]
- [% knum = knum + 1 %]
-
-
- Reassign [% terms.bug %] to owner
- [% " and QA contact" IF Param('useqacontact') %]
- of selected component
-
- [% IF bug.isunconfirmed && bug.user.canconfirm %]
-
- and confirm [% terms.bug %] (change status to NEW)
-
- [% END %]
- [% knum = knum + 1 %]
- [% ELSE %]
- [% IF bug.resolution != "MOVED" ||
- (bug.resolution == "MOVED" && bug.user.canmove) %]
- Reopen [% terms.bug %]
-
- [% knum = knum + 1 %]
- [% END %]
- [% IF bug.bug_status == "RESOLVED" %]
-
- Mark [% terms.bug %] as VERIFIED
- [% knum = knum + 1 %]
- [% END %]
- [% IF bug.bug_status != "CLOSED" %]
-
- Mark [% terms.bug %] as CLOSED
- [% knum = knum + 1 %]
- [% END %]
- [% END %]
- [% END %]
-
-
-
-
- - - View [% terms.Bug %] Activity - | - Format For Printing - - - - [% IF bug.user.canmove %] - | - - [% END %] -
+[% PROCESS bug/knob.html.tmpl %] [%# *** Additional Comments *** %] diff --git a/webtools/bugzilla/template/en/default/bug/knob.html.tmpl b/webtools/bugzilla/template/en/default/bug/knob.html.tmpl new file mode 100644 index 000000000000..dfcd4437bde6 --- /dev/null +++ b/webtools/bugzilla/template/en/default/bug/knob.html.tmpl @@ -0,0 +1,144 @@ + +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gervase Markham+ + + View [% terms.Bug %] Activity + | + Format For Printing + + + + [% IF bug.user.canmove %] + | + + [% END %] +
+