summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/delete-series.html.tmpl
blob: 5003551c7459f4d283cb154f8bdf77a48b27a927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[%# 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 Frédéric Buclin.
  # Portions created by the Initial Developer are Copyright (C) 2009
  # the Initial Developer. All Rights Reserved.
  #
  # Contributor(s):
  #  Frédéric Buclin <LpSolit@gmail.com>
  #%]

[% series_name = BLOCK %]
  [% series.category FILTER html %] /
  [%+ series.subcategory FILTER html %] /
  [%+ series.name FILTER html %]
[% END %]

[% PROCESS global/header.html.tmpl title = "Delete Series"
                                   style_urls = ['skins/standard/admin.css'] %]

<p>
  You are going to completely remove the <b>[% series_name FILTER none %]</b> series
  from the database. All data related to this series will be permanently deleted.
</p>
<p>
  [% IF series.creator %]
    This series has been created by <a href="mailto:[% series.creator.email FILTER html %]">
    [% series.creator.email FILTER html %]</a>
  [% ELSE %]
    This series has been automatically created by [% terms.Bugzilla %]
  [% END %]

  [% IF series.public %]
    and is public.
  [% ELSIF series.creator %]
    and is only visible by this user.
  [% ELSE %]
    and cannot be displayed by anybody.
  [% END %]
</p>

<p class="areyoureallyreallysure">Are you sure you want to delete this series?</p>

<p>
  <a href="chart.cgi?action=delete&amp;series_id=[% series.series_id FILTER html %]&amp;token=
           [%- issue_hash_token([series.id, series.name]) FILTER url_quote %]">Yes, delete</a> |
  <a href="chart.cgi">No, go back to the charts page</a>
</p>

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