confirm-duplicate.html.tmpl 2.6 KB
Newer Older
1
[%# 1.0@bugzilla.org %]
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
[%# 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
24
  # mform: hash; the form multi-values submitted to the script
25 26 27 28
  # 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
29
  # cclist_accessible: boolean; whether or not users on the cc: list
30 31
  #   of the original bug can access that bug.
  #%]
32 33 34

[% PROCESS global/variables.none.tmpl %]

35
[% PROCESS global/header.html.tmpl title="Duplicate Warning" %]
36

37
<p>
38 39
  When marking [% terms.abug %] as a duplicate, the reporter of the duplicate
  is normally added to the CC list of the original. The permissions
40
  on [% terms.bug %] [%+ original_bug_id %] (the original) are currently set
41 42 43 44
  such that the reporter would not normally be able to see it.
</p>

<p>
45 46
  <b>Adding the reporter to the CC list of [% terms.bug %] 
    [%+ original_bug_id %]
47 48 49 50 51
  [% IF cclist_accessible %]
    will immediately
  [% ELSE %]
    might, in the future,
  [% END %]
52
  allow him/her access to view this [% terms.bug %].</b>
53 54
  Do you wish to do this?
</p>
55

56
<form method="post" action="process_bug.cgi">
57

58
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %]
59 60

<p>
61
  <input type="radio" name="confirm_add_duplicate" value="1">
62
    Yes, add the reporter to CC list on [% terms.bug %] [%+ original_bug_id %]
63 64
</p>
<p>
65
  <input type="radio" name="confirm_add_duplicate" value="0" checked="checked">
66 67
    No, do not add the reporter to CC list on [% terms.bug %] 
    [%+ original_bug_id %]
68 69
</p>
<p>
70
  <a href="show_bug.cgi?id=[% duplicate_bug_id %]">Throw away my changes,
71
    and revisit [% terms.bug %] [%+ duplicate_bug_id %]</a>
72 73 74 75 76 77
<p>
  <input type="submit" value="Submit">
</p>

</form>

78
[% PROCESS global/footer.html.tmpl %]