summaryrefslogtreecommitdiffstats
path: root/template/default/process/confirm-dupe.html.tmpl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-04-13 06:01:53 +0200
committermyk%mozilla.org <>2002-04-13 06:01:53 +0200
commit5c0c85df6d698ad183a88a8794ed0212de2895c1 (patch)
tree59f323dce2a9803285d9c6f5e68f79eae3b30f5c /template/default/process/confirm-dupe.html.tmpl
parent452bd0f653a9afea703e637b77b3f1c60b0f5c18 (diff)
downloadbugzilla-5c0c85df6d698ad183a88a8794ed0212de2895c1.tar.gz
bugzilla-5c0c85df6d698ad183a88a8794ed0212de2895c1.tar.xz
Fix for bug 125660: Templatizes process_bug.cgi.
Patch by Myk Melez <myk@mozilla.org> r=gerv,bbaetz
Diffstat (limited to 'template/default/process/confirm-dupe.html.tmpl')
-rw-r--r--template/default/process/confirm-dupe.html.tmpl73
1 files changed, 73 insertions, 0 deletions
diff --git a/template/default/process/confirm-dupe.html.tmpl b/template/default/process/confirm-dupe.html.tmpl
new file mode 100644
index 000000000..d17bfa55f
--- /dev/null
+++ b/template/default/process/confirm-dupe.html.tmpl
@@ -0,0 +1,73 @@
+<!-- 1.0@bugzilla.org -->
+[%# 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 <myk@mozilla.org>
+ #%]
+
+[%# INTERFACE:
+ # form: hash; the form values submitted to the script
+ # original_bug_id: number; the bug number for the bug
+ # against which a bug is being duped
+ # duplicate_bug_id: number; the bug number for the bug
+ # being duped
+ # cclist_accessible: boolean; whether or not users on the cc: list
+ # of the original bug can access that bug.
+ #%]
+
+[% PROCESS global/header title="Duplicate Warning" %]
+
+<p>
+ When marking a bug as a duplicate, the reporter of the duplicate
+ is normally added to the CC list of the original. The permissions
+ on bug [% original_bug_id %] (the original) are currently set
+ such that the reporter would not normally be able to see it.
+</p>
+
+<p>
+ <b>Adding the reporter to the CC list of bug [% original_bug_id %]
+ [% IF cclist_accessible %]
+ will immediately
+ [% ELSE %]
+ might, in the future,
+ [% END %]
+ allow him/her access to view this bug.</b>
+ Do you wish to do this?
+</p>
+
+<form method="post">
+
+[% PROCESS "global/hidden-fields.html.tmpl" exclude="^(Bugzilla|LDAP)_(login|password)$" %]
+
+<p>
+ <input type="radio" name="confirm_add_duplicate" value="1">
+ Yes, add the reporter to CC list on bug [% original_bug_id %]
+</p>
+<p>
+ <input type="radio" name="confirm_add_duplicate" value="0" checked="checked">
+ No, do not add the reporter to CC list on bug [% original_bug_id %]
+</p>
+<p>
+ <a href="show_bug.cgi?id=[% duplicate_bug_id %]">Throw away my changes,
+ and revisit bug [% duplicate_bug_id %]</a>
+<p>
+ <input type="submit" value="Submit">
+</p>
+
+</form>
+
+[% PROCESS global/footer %]