]> git.proxmox.com Git - pmg-api.git/blame - templates/spamreport-verbose.tt
bump version to 5.1-4
[pmg-api.git] / templates / spamreport-verbose.tt
CommitLineData
9a56f771
DM
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 -%]
2e35bebd
DM
6
7[% BLOCK tooltip %]Received: [% d.date %] [% d.time %]
8From: [% d.envelope_sender %]
9TO: [% d.receiver %]
10Size: [% d.bytes %]
11Score: [% d.spamlevel %]
12File: [% d.file %]
13[% END %]
14
9a56f771 15<html>
1d20daff
DM
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 %]
2e35bebd 35 <tr>
1d20daff
DM
36 <td>[% item.from %]</td>
37 <td align=right nowrap>[% item.date %] [% item.time %]</td>
38 </tr>
2e35bebd 39 <tr title='[% PROCESS tooltip d=item | html %]'>
1d20daff
DM
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;'>
2e35bebd
DM
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>
1d20daff
DM
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>
9a56f771 62</html>