1
[%# 1.0@bugzilla.org %]
2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org>
20
# Frédéric Buclin <LpSolit@gmail.com>
24
# product: object; Bugzilla::Product object representing the product to
25
# which the version belongs.
26
# version: object; Bugzilla::Version object representing the
27
# version the user wants to delete.
30
[% title = BLOCK %]Delete Version of Product '[% product.name FILTER html %]'
33
[% PROCESS global/header.html.tmpl
37
<table border="1" cellpadding="4" cellspacing="0">
38
<tr bgcolor="#6666FF">
39
<th valign="top" align="left">Field</th>
40
<th valign="top" align="left">Value</th>
43
<td valign="top">Version:</td>
44
<td valign="top">[% version.name FILTER html %]</td>
47
<td valign="top">Version of Product:</td>
48
<td valign="top">[% product.name FILTER html %]</td>
51
<td valign="top">[% terms.Bugs %]:</td>
53
[% IF version.bug_count %]
54
<a title="List of [% terms.bugs %] targetted at version '
55
[%- version.name FILTER html %]'"
56
href="buglist.cgi?version=[% version.name FILTER url_quote %]&product=
57
[%- product.name FILTER url_quote %]">
58
[%- version.bug_count FILTER none %]</a>
68
[% IF version.bug_count %]
71
[% IF version.bug_count > 1 %]
72
are [% version.bug_count FILTER none %] [%+ terms.bugs %]
74
is [% version.bug_count FILTER none %] [%+ terms.bug %]
77
outstanding for this version. You must move
79
[% IF version.bug_count > 1 %]
80
those [% terms.bugs %]
84
to another version before you can delete this one.
88
<p>Do you really want to delete this version?</p>
90
<form method="post" action="editversions.cgi">
91
<input type="submit" id="delete" value="Yes, delete">
92
<input type="hidden" name="action" value="delete">
93
<input type="hidden" name="product" value="[% product.name FILTER html %]">
94
<input type="hidden" name="version" value="[% version.name FILTER html %]">
95
<input type="hidden" name="token" value="[% token FILTER html %]">
100
[% PROCESS admin/versions/footer.html.tmpl %]
102
[% PROCESS global/footer.html.tmpl %]