]> git.proxmox.com Git - pmg-api.git/blobdiff - templates/spamreport-verbose.tt
bump version to 5.1-4
[pmg-api.git] / templates / spamreport-verbose.tt
index f7fd21f7d5610005d6f9bc75f968e920ba52f634..2b2915d7a4a8e1c99cf49c2334a470eb70f95f1e 100644 (file)
@@ -3,6 +3,15 @@
 [%- ELSE %]
 [%- SET title = "Daily Spam Report for '${pmail}' - ${date}" -%]
 [%- END -%]
+
+[% BLOCK tooltip %]Received: [% d.date %] [% d.time %]
+From: [% d.envelope_sender %]
+TO: [% d.receiver %]
+Size: [% d.bytes %]
+Score: [% d.spamlevel %]
+File: [% d.file %]
+[% END %]
+
 <html>
   <head>
     <title>[% title %]</title>
 
        <!--start entries-->
        [% FOREACH item IN items %]
-       <tr title='[% item.title %]'>
+       <tr>
          <td>[% item.from %]</td>
          <td align=right nowrap>[% item.date %] [% item.time %]</td>
        </tr>
-       <tr title='[% item.title %]'>
+       <tr title='[% PROCESS tooltip d=item | html  %]'>
          <td><a style='cursor:pointer;' href='[% item.href | url %]'><b>[% item.subject %]</b></a></td>
          <td align=right nowrap>
            <div style='font-size:xx-small;'>
-             <a href='[% item.wlhref | url %]'>Whitelist</a>&nbsp;
-             <a href='[% item.blhref | url %]'>Blacklist</a>&nbsp;
-             <a href='[% item.deliverhref | url %]'>Deliver</a>&nbsp;
-             <a href='[% item.deletehref | url %]'>Delete</a>
+             <a href='[% item.href | url %]&action=whitelist'>Whitelist</a>&nbsp;
+             <a href='[% item.href | url %]&action=blacklist'>Blacklist</a>&nbsp;
+             <a href='[% item.href | url %]&action=deliver'>Deliver</a>&nbsp;
+             <a href='[% item.href | url %]&action=delete'>Delete</a>
            </div>
          </td>
        </tr>