From 496013d2cc0586cde9db0ace761292594fcae995 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Tue, 12 Mar 2002 21:54:53 +0000 Subject: Fix for bug 103778: Rewrites and templatizes buglist.cgi. Patch by Myk Melez . r=bbaetz,gerv --- template/default/buglist/change-form.tmpl | 339 ++++++++++++++++++++++++++++++ 1 file changed, 339 insertions(+) create mode 100644 template/default/buglist/change-form.tmpl (limited to 'template/default/buglist/change-form.tmpl') diff --git a/template/default/buglist/change-form.tmpl b/template/default/buglist/change-form.tmpl new file mode 100644 index 000000000..8498a0ab8 --- /dev/null +++ b/template/default/buglist/change-form.tmpl @@ -0,0 +1,339 @@ +[%# 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): Myk Melez + #%] + + + +
+ +

+ To change multiple bugs: +

    +
  1. Check the bugs you want to change above.
  2. +
  3. Make your changes in the form fields below. If the change + you are making requires an explanation, include it in + the comments box.
  4. +
  5. Click the Commit button.
  6. +
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% IF Param("useqacontact") %] + + + + + [% END %] + + + + + + + + + [% IF use_keywords %] + + + + + + + [% END %] + + + + + + + + + + + +
+ [% PROCESS selectmenu menuname = "product" + menuitems = products %] + + [% PROCESS selectmenu menuname = "version" + menuitems = versions %] +
+ + + [% PROCESS selectmenu menuname = "rep_platform" + menuitems = platforms %] + + + + [% PROCESS selectmenu menuname = "priority" + menuitems = priorities %] +
+ [% PROCESS selectmenu menuname = "component" + menuitems = components %] + + + + [% PROCESS selectmenu menuname = "severity" + menuitems = severities %] +
+ [% PROCESS selectmenu menuname = "target_milestone" + menuitems = targetmilestones %] +
+ +
+ + +
+ + + + +
Depends on: + + +
Blocks: + + +
+ + + +
+
+ +[% IF groups.size > 0 %] + + Groupset:
+ + + + + [% FOREACH group = groups %] + + + + [% IF group.isactive %] + + [% ELSE %] + + [% foundinactive = 1 %] + [% END %] + + + + + [% END %] + +
Don't
change
this group
restriction +
Remove
bugs
from this
group +
Add
bugs
to this
group +
Group Name: +
+ + + + + +   + [% IF group.isactive %] + [% group.description %] + [% ELSE %] + [% group.description FILTER strike %] + [% END %] +
+ + [% IF foundinactive %] + (Note: Bugs may not be added to inactive + groups, only removed.)
+ [% END %] + +[% END %] + + + +[% knum = 0 %] + +
+ +[% IF bugstatuses.size == 1 && bugstatuses.0 == unconfirmedstate %] + [% knum = knum + 1 %] + + Confirm bugs (change status to NEW) +
+[% END %] + +[% knum = knum + 1 %] + +
+ +[%# If all the bugs being changed are open, allow the user to close them. %] +[% IF !bugstatuses.containsany(closedstates) %] + [% knum = knum + 1 %] + +
+ + [% knum = knum + 1 %] + + +
+ +[% END %] + +[%# If all the bugs are closed, allow the user to reopen them. %] +[% IF !bugstatuses.containsany(openstates) %] + [% knum = knum + 1 %] + +
+[% END %] + +[% IF bugstatuses.size == 1 %] + [% IF bugstatuses.contains('RESOLVED') %] + [% knum = knum + 1 %] + +
+ [% ELSIF bugstatuses.contains('VERIFIED') %] + [% knum = knum + 1 %] + +
+ [% END %] +[% END %] + +[% knum = knum + 1 %] + + +
+ +[% knum = knum + 1 %] + +
+ + + +[% IF ismover %] + +[% END %] + + +[%############################################################################%] +[%# Select Menu Block #%] +[%############################################################################%] + +[% BLOCK selectmenu %] + +[% END %] -- cgit v1.2.3-24-g4f1b