delete-series.html.tmpl 1.58 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 14 15 16 17 18 19 20 21 22 23 24 25 26
  #%]

[% 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 %]
27
    This series has been automatically created by Bugzilla
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
  [% 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=
43
           [%- issue_hash_token([series.id, series.name]) FILTER uri %]">Yes, delete</a> |
44 45 46 47
  <a href="chart.cgi">No, go back to the charts page</a>
</p>

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