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): Myk Melez <myk@mozilla.org>
20
# Jeff Hedlund <jeff.hedlund@matrixsi.com>
21
# Frédéric Buclin <LpSolit@gmail.com>
24
[% PROCESS global/variables.none.tmpl %]
26
[% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %]
27
[% attidsummary = attachment.id _ ': ' _ attachment.description %]
28
[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "canceled" ,
31
[% to_identity = "" %]
32
[% IF flag.status == '?' %]
33
[% to_identity = flag.requestee.identity _ " for" %]
34
[% subject_status = "requested" %]
36
[% IF flag.requester %]
37
[% to_identity = flag.requester.identity _ "'s request for" %]
39
[% subject_status = statuses.${flag.status} %]
41
From: [% Param('mailfrom') %]
43
Subject: [% flag.type.name %] [%+ subject_status %]: [[% terms.Bug %] [%+ bug.bug_id %]] [% bug.short_desc %]
44
[%- IF attachment %] :
45
[Attachment [% attachment.id %]] [% attachment.description %][% END %]
46
X-Bugzilla-Type: request
49
[%- FILTER bullet = wrap(80) -%]
51
[% user.identity %] has [% statuses.${flag.status} %] [%+ to_identity %] [%+ flag.type.name %]:
53
[% terms.Bug %] [%+ bugidsummary %]
55
[%+ Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]
58
[% FILTER bullet = wrap(80) %]
59
Attachment [% attidsummary %]
61
[%+ Param('urlbase') %]attachment.cgi?id=[% attachment.id %]&action=edit
63
[%- FILTER bullet = wrap(80) %]
66
[% IF Bugzilla.cgi.param("comment") && Bugzilla.cgi.param("comment").length > 0 %]
67
------- Additional Comments from [% user.identity %]
68
[%+ Bugzilla.cgi.param("comment") %]