]> git.proxmox.com Git - pmg-api.git/blob - templates/spamreport-verbose.tt
bump version to 5.1-4
[pmg-api.git] / templates / spamreport-verbose.tt
1 [%- IF timespan == 'week' -%]
2 [%- SET title = "Weekly Spam Report for '${pmail}' - ${date}'" -%]
3 [%- ELSE %]
4 [%- SET title = "Daily Spam Report for '${pmail}' - ${date}" -%]
5 [%- END -%]
6
7 [% BLOCK tooltip %]Received: [% d.date %] [% d.time %]
8 From: [% d.envelope_sender %]
9 TO: [% d.receiver %]
10 Size: [% d.bytes %]
11 Score: [% d.spamlevel %]
12 File: [% d.file %]
13 [% END %]
14
15 <html>
16 <head>
17 <title>[% title %]</title>
18 </head>
19 <body>
20
21 <div align=center>
22
23
24 <table width='100%'>
25 <tr>
26 <td colspan=2>
27 <div style='width:600px;'><h2>[% title %]</h2></div>
28 </td>
29 </tr>
30
31 <tr><td colspan=2><hr></td></tr>
32
33 <!--start entries-->
34 [% FOREACH item IN items %]
35 <tr>
36 <td>[% item.from %]</td>
37 <td align=right nowrap>[% item.date %] [% item.time %]</td>
38 </tr>
39 <tr title='[% PROCESS tooltip d=item | html %]'>
40 <td><a style='cursor:pointer;' href='[% item.href | url %]'><b>[% item.subject %]</b></a></td>
41 <td align=right nowrap>
42 <div style='font-size:xx-small;'>
43 <a href='[% item.href | url %]&action=whitelist'>Whitelist</a>&nbsp;
44 <a href='[% item.href | url %]&action=blacklist'>Blacklist</a>&nbsp;
45 <a href='[% item.href | url %]&action=deliver'>Deliver</a>&nbsp;
46 <a href='[% item.href | url %]&action=delete'>Delete</a>
47 </div>
48 </td>
49 </tr>
50 <tr><td colspan=2><hr></td></tr>
51 [% END %]
52 <!--end entries-->
53
54 </table>
55
56 <p>Please use the <a href='[% managehref | url %]'>web interface</a> to manage your spam quarantine.</p>
57 <p>Powered by <a target=_blank href='http://www.proxmox.com'>Proxmox</a>.</p>
58
59 </div>
60
61 </body>
62 </html>