1[%# This Source Code Form is subject to the terms of the Mozilla Public
2  # License, v. 2.0. If a copy of the MPL was not distributed with this
3  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4  #
5  # This Source Code Form is "Incompatible With Secondary Licenses", as
6  # defined by the Mozilla Public License, v. 2.0.
7  #%]
8
9[%# INTERFACE:
10  # subject: subject line of message
11  # body: message body, shown before the query tables
12  # queries: array of hashes containing:
13  #     bugs: array containing hashes of fieldnames->values for each bug
14  #     title: the title given in the whine scheduling mechanism
15  #     name: the name of the query
16  #     columnlist: array of fieldnames to display in the mail
17  # author: user object for the person who scheduled this whine
18  # recipient: user object for the intended recipient of the message
19  #%]
20
21[% body %]
22
23[% IF author.login == recipient.login %]
24  あなたの設定した whine のスケジュールを編集するには、次の URL を利用してください
25  [%+ urlbase %]editwhines.cgi
26[% ELSE %]
27  この検索は [% author.login %] によって設定されました。
28[% END %]
29
30
31[% IF queries.size %]
32  [% FOREACH query=queries %]
33
34[%+ query.title +%] ([% query.bugs.size %] [%+ terms.bugs %])
35[%+ "-" FILTER repeat(query.title.length) %]
36
37  [% FOREACH bug=query.bugs %]
38  [% terms.Bug +%] [%+ bug.bug_id %]:
39  [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
40  [% largest_title = 0 %]
41  [% FOREACH col = query.columnlist %]
42    [% NEXT IF col == 'bug_id' %]
43    [% IF field_descs.${col}.length > largest_title %]
44      [% largest_title = field_descs.${col}.length %]
45    [% END %]
46  [% END %]
47  [% FOREACH col = query.columnlist %]
48    [% NEXT IF col == 'bug_id' %]
49  [%+ " " FILTER repeat(largest_title - field_descs.${col}.length) %]
50  [% field_descs.$col %]: [% display_value($col, bug.$col) %]
51  [% END %]
52
53   [% END %]
54
55  [% IF author.login == recipient.login %]
56[% terms.bug %] リストとしてみる: [% urlbase %]buglist.cgi?cmdtype=runnamed&namedcmd=[% query.name FILTER uri %]
57 [% END %]
58  [% END %]
59
60[% ELSE %]
61
62  検索条件に合致する [% terms.bugs %] が見つかりませんでした。
63[% END %]
64