summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger/template/en/default/email/request_nagging-watching.html.tmpl
blob: e01167c5f5c8eb8fe7b36472e20cb36c9c15bd3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[% PROCESS "global/field-descs.none.tmpl" %]

<!doctype html>
<html>

<head>
  <title>[[% terms.Bugzilla %]] Outstanding Requests Report</title>
</head>

<body bgcolor="#ffffff">

<p>
  The following is a list of people who you are watching that have outstanding
  requests.
</p>

<hr>

[% FOREACH login = requests.keys.sort %]
  [% requestee = requests.$login.requestee %]
  [% requestee.identity FILTER html %]
  <ul>
    <li>
      [%+ FOREACH type = requests.$login.typelist %]
        [% requests.$login.types.item(type).size %] [%+ type FILTER html %]
        [% ", " UNLESS loop.last %]
      [% END %]
    </li>
  </ul>
[% END %]

[% FOREACH login = requests.keys.sort %]
  [% requestee = requests.$login.requestee %]

  [% bug_ids = [] %]
  [% FOREACH type = requests.$login.typelist %]
    [% FOREACH request = requests.$login.types.$type %]
      [% bug_ids.push(request.bug.id) %]
    [% END %]
  [% END %]

  <hr>
  <h3>
    [% requestee.identity FILTER html %]
    <span style="font-size: x-small; font-weight: normal">
      (<a href="[% urlbase FILTER none %]buglist.cgi?bug_id=[% bug_ids.join(",") FILTER uri %]">buglist</a>)
    </span><br>
    <span style="font-size: x-small; font-weight: normal">
      [% FOREACH type = requests.$login.typelist %]
        [% requests.$login.types.item(type).size %] [%+ type FILTER html %]
        [% ", " UNLESS loop.last %]
      [% END %]
    </span>
  </h3>

  [% FOREACH type = requests.$login.typelist %]

    <h3>[% type FILTER upper FILTER html %] requests</h3>

    <ul>
      [% FOREACH request = requests.$login.types.$type %]
        <li>
          <a href="[% urlbase FILTER none %]show_bug.cgi?id=[% request.bug.id FILTER none %]"
            title="[% request.bug.bug_status FILTER html %]
                   [% request.bug.product FILTER html %] :: [% request.bug.component FILTER html %]">
            [% request.bug.id FILTER none %] - [% request.bug.short_desc FILTER html %]
          </a><br>
          <b>[%+ request.flag.age FILTER html %]</b> from [% request.requester.identity FILTER html %]<br>
          [% IF request.flag.deferred %]
            Deferred until [%+ request.flag.deferred.ymd FILTER html %]<br>
          [% END %]
          <br>
        </li>
      [% END %]
    </ul>

  [% END %]

[% END %]

<div>
  <hr style="border: 1px dashed #969696">
  <a href="[% urlbase FILTER none %]userprefs.cgi?tab=request_nagging">
    Change who you are watching
  </a>
</div>

<div style="font-size: 90%; color: #666666">
  <hr style="border: 1px dashed #969696">
  <b>You are receiving this mail because:</b>
  <ul>
    <li>you are watching someone with outstanding requests.</li>
  </ul>
</div>

</body>
</html>