confirm-duplicate.html.tmpl 1.98 KB
Newer Older
1 2 3
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
  #
5 6
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
7 8 9 10 11 12 13
  #%]

[%# INTERFACE:
  # 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
14
  # cclist_accessible: boolean; whether or not users on the cc: list
15 16
  #   of the original bug can access that bug.
  #%]
17

18
[% PROCESS global/header.html.tmpl title="Duplicate Warning" %]
19 20
[% orig_bug = "$terms.bug $original_bug_id"
     FILTER bug_link(original_bug_id) %]
21

22
<p>
23 24
  When marking [% terms.abug %] as a duplicate, the reporter of the duplicate
  is normally added to the CC list of the original. The permissions
25
  on [% orig_bug FILTER none %] (the original) are currently set
26 27 28 29
  such that the reporter would not normally be able to see it.
</p>

<p>
30
  <b>Adding the reporter to the CC list of [% orig_bug FILTER none %]
31 32 33 34 35
  [% IF cclist_accessible %]
    will immediately
  [% ELSE %]
    might, in the future,
  [% END %]
36
  allow him/her access to view this [% terms.bug %].</b>
37 38
  Do you wish to do this?
</p>
39

40
<form method="post" action="process_bug.cgi">
41

42
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %]
43 44

<p>
45
  <input type="radio" name="confirm_add_duplicate" value="1">
46
    Yes, add the reporter to CC list on [% orig_bug FILTER none %]
47 48
</p>
<p>
49
  <input type="radio" name="confirm_add_duplicate" value="0" checked="checked">
50
    No, do not add the reporter to CC list on [% orig_bug FILTER none %]
51 52
</p>
<p>
53 54 55
  [% "Throw away my changes, and revisit $terms.bug $duplicate_bug_id"
     FILTER bug_link(duplicate_bug_id) FILTER none %]
</p>
56
<p>
57
  <input type="submit" id="process" value="Submit">
58 59 60 61
</p>

</form>

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