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
# Contributor(s): Frédéric Buclin <LpSolit@gmail.com>
18
# a: attachment object; attachment the user wants to delete.
19
# token: string; The token used to identify the session.
22
[% PROCESS global/variables.none.tmpl %]
25
Delete Attachment [% a.id FILTER html %] of
26
[%+ "$terms.Bug " _ a.bug_id FILTER bug_link(a.bug_id) FILTER none %]
29
[% PROCESS global/header.html.tmpl title = title %]
31
<table border="1" cellpadding="4" cellspacing="0">
32
<tr bgcolor="#6666FF">
33
<th valign="top" align="left">Field</th>
34
<th valign="top" align="left">Value</th>
37
<td valign="top">Attachment ID:</td>
39
<a href="attachment.cgi?id=[% a.id FILTER html %]">[% a.id FILTER html %]</a>
43
<td valign="top">File name:</td>
44
<td valign="top">[% a.filename FILTER html %]</td>
47
<td valign="top">Description:</td>
48
<td valign="top">[% a.description FILTER html %]</td>
51
<td valign="top">Contained in [% terms.Bug %]:</td>
52
<td valign="top">[% a.bug_id FILTER bug_link(a.bug_id) FILTER none %]</td>
55
<td valign="top">Creator:</td>
56
<td valign="top">[% a.attacher.identity FILTER html %]</td>
59
<td valign="top">Creation Date:</td>
60
<td valign="top">[% a.attached FILTER time %]</td>
66
<table border="0" cellpadding="20" width="70%" bgcolor="red">
69
The content of this attachment will be deleted in an <b>irreversible</b> way.
74
<p>Do you really want to delete this attachment?</p>
76
<form action="attachment.cgi" method="POST">
77
<label for="reason">Reason of the deletion:</label>
78
<input type="text" id="reason" name="reason" value="" size="80" maxlength="200">
80
<input type="submit" value="Yes, delete" id="delete">
81
<input type="hidden" name="action" value="delete">
82
<input type="hidden" name="id" value="[% a.id FILTER html %]">
83
<input type="hidden" name="token" value="[% token FILTER html %]">
87
No, cancel this deletion and return to
88
[%+ "$terms.bug " _ a.bug_id FILTER bug_link(a.bug_id) FILTER none %].
91
[% PROCESS global/footer.html.tmpl %]