~ubuntu-branches/debian/squeeze/bugzilla/squeeze

« back to all changes in this revision

Viewing changes to template/en/default/admin/versions/confirm-delete.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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/
6
 
  #
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.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
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
17
 
  # Rights Reserved.
18
 
  #
19
 
  # Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org>
20
 
  #                 Frédéric Buclin <LpSolit@gmail.com>
21
 
  #%]
22
 
 
23
 
[%# INTERFACE:
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.
28
 
  #%]
29
 
 
30
 
[% title = BLOCK %]Delete Version of Product '[% product.name FILTER html %]'
31
 
  [% END %]
32
 
 
33
 
[% PROCESS global/header.html.tmpl
34
 
  title = title
35
 
%]
36
 
 
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>
41
 
</tr>
42
 
<tr>
43
 
  <td valign="top">Version:</td>
44
 
  <td valign="top">[% version.name FILTER html %]</td>
45
 
</tr>
46
 
<tr>
47
 
  <td valign="top">Version of Product:</td>
48
 
  <td valign="top">[% product.name FILTER html %]</td>
49
 
</tr>
50
 
<tr>
51
 
  <td valign="top">[% terms.Bugs %]:</td>
52
 
  <td valign="top">
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 %]&amp;product=
57
 
          [%- product.name FILTER url_quote %]">
58
 
          [%- version.bug_count FILTER none %]</a>
59
 
[% ELSE %]
60
 
  None
61
 
[% END %]
62
 
  </td>
63
 
</tr>
64
 
</table>
65
 
 
66
 
<h2>Confirmation</h2>
67
 
 
68
 
[% IF version.bug_count %]
69
 
  <p>
70
 
  Sorry, there
71
 
  [% IF version.bug_count > 1 %] 
72
 
    are [% version.bug_count FILTER none %] [%+ terms.bugs %] 
73
 
  [% ELSE %]
74
 
    is [% version.bug_count FILTER none %] [%+ terms.bug %] 
75
 
  [% END %]
76
 
 
77
 
  outstanding for this version. You must move 
78
 
 
79
 
  [% IF version.bug_count > 1 %]
80
 
     those [% terms.bugs %] 
81
 
  [% ELSE %]
82
 
     that [% terms.bug %]
83
 
  [% END %]
84
 
  to another version before you can delete this one.
85
 
  </p>
86
 
[% ELSE %]
87
 
 
88
 
  <p>Do you really want to delete this version?</p>
89
 
  
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 %]">
96
 
  </form>
97
 
 
98
 
[% END %]
99
 
 
100
 
[% PROCESS admin/versions/footer.html.tmpl %]
101
 
 
102
 
[% PROCESS global/footer.html.tmpl %]