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/
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.
11 # The Original Code is the Bugzilla Bug Tracking System.
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
18 # Contributor(s): Erik Stambaugh <erik@dasbistro.com>
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
31 [% PROCESS global/variables.none.tmpl %]
32 [% PROCESS 'global/field-descs.none.tmpl' %]
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" %]
40 [% IF author.login == recipient.login %]
41 To edit your whine schedule, visit the following URL:
42 [%+ urlbase %]editwhines.cgi
44 This search was scheduled by [% author.login %].
48 [% FOREACH query=queries %]
51 [%+ "-" FILTER repeat(query.title.length) %]
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) -%]
63 Summary: [% bug.short_desc %]