confirm-delete.html.tmpl 1.22 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
  #%]

[%# INTERFACE:
10
  # keyword: A Bugzilla::Keyword object.
11 12 13 14 15 16 17
  #%]

[% PROCESS global/header.html.tmpl
  title = "Delete Keyword"
%]

<p>
18
  [% IF keyword.bug_count == 1 %]
19
    There is one [% terms.bug %] with this keyword set.
20
  [% ELSIF keyword.bug_count > 1 %]
21
    There are [% keyword.bug_count FILTER html %] [%+ terms.bugs %] with
22 23 24 25
    this keyword set.
  [% END %]
  
  Are you <b>sure</b> you want to delete
26
  the <code>[% keyword.name FILTER html %]</code> keyword?
27 28 29
</p>

<form method="post" action="editkeywords.cgi">
30
  <input type="hidden" name="id" value="[% keyword.id FILTER html %]">
31
  <input type="hidden" name="action" value="delete">
32
  <input type="hidden" name="token" value="[% token FILTER html %]">
33 34
  <input type="submit" id="delete"
         value="Yes, really delete the keyword">
35 36
</form>

37
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>
38 39

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