4375ee13b252cec7d65d0acc1e119ab8334f8dfd
[vuplus_webkit] / Websites / bugs.webkit.org / template / en / default / whine / mail.txt.tmpl
1 [%# The contents of this file are subject to the Mozilla Public
2   # License Version 1.1 (the "License"); you may not use this file
3   # except in compliance with the License. You may obtain a copy of
4   # the License at http://www.mozilla.org/MPL/
5   #
6   # Software distributed under the License is distributed on an "AS
7   # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
8   # implied. See the License for the specific language governing
9   # rights and limitations under the License.
10   #
11   # The Original Code is the Bugzilla Bug Tracking System.
12   #
13   # The Initial Developer of the Original Code is Netscape Communications
14   # Corporation. Portions created by Netscape are
15   # Copyright (C) 1998 Netscape Communications Corporation. All
16   # Rights Reserved.
17   #
18   # Contributor(s): Erik Stambaugh <erik@dasbistro.com>
19   #%]
20
21 [%# INTERFACE:
22   # subject: subject line of message
23   # body: message body, shown before the query tables
24   # queries: array of hashes containing:
25   #     bugs: array containing hashes of fieldnames->values for each bug
26   #     title: the title given in the whine scheduling mechanism
27   # author: user object for the person who scheduled this whine
28   # recipient: user object for the intended recipient of the message
29   #%]
30
31 [% PROCESS global/variables.none.tmpl %]
32 [% PROCESS 'global/field-descs.none.tmpl' %]
33
34 [%# assignee_login_string is a literal string used for getting the 
35   # assignee's name out of the bug data %]
36 [% SET assignee_login_string="map_assigned_to.login_name" %]
37
38 [% body %]
39
40 [% IF author.login == recipient.login %]
41   To edit your whine schedule, visit the following URL:
42   [%+ urlbase %]editwhines.cgi
43 [% ELSE %]
44   This search was scheduled by [% author.login %].
45 [% END %]
46
47
48 [% FOREACH query=queries %]
49
50 [%+ query.title +%]
51 [%+ "-" FILTER repeat(query.title.length) %]
52
53  [% FOREACH bug=query.bugs %]
54   [% terms.Bug +%] [%+ bug.bug_id %]:
55   [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
56   Priority: [%+ bug.priority -%]
57   Severity: [%+ bug.bug_severity -%]
58   Platform: [%+ bug.rep_platform %]
59   Assignee: [%+ bug.$assignee_login_string %]
60     Status: [%+ get_status(bug.bug_status) %]
61             [%- IF bug.resolution -%] Resolution: [% get_resolution(bug.resolution) -%]
62                                 [%- END %]
63    Summary: [% bug.short_desc %]
64
65  [% END %]
66
67 [% END %]
68
69