[Asset] Add default template for quarantine notifications

master
andryyy 2019-01-29 00:21:09 +01:00
parent 07392b7437
commit 43a91639e0
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<html>
<head>
<style>
body {
font-family: sans-serif;
}
table {
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
vertical-align: top;
}
</style>
</head>
<body>
<p>Hi!<br>
There are {{counter}} new messages waiting in quarantine:<br>
<table>
<tr><th>Subject</th><th>Sender</th><th>Arrived on</th></tr>
{% for line in meta %}
<tr>
<td>{{ line.subject|e }}</td>
<td>{{ line.sender|e }}</td>
<td>{{ line.created }}</td>
</tr>
{% endfor %}
</table>
</p>
</body>
</html>