[Web] Improvement of quarantine notification

master
André Peters 2019-02-10 00:16:36 +01:00 committed by GitHub
commit c187531afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -25,7 +25,11 @@
</head> </head>
<body> <body>
<p>Hi!<br> <p>Hi!<br>
{% if counter == 1 %}
There is 1 new message waiting in quarantine:<br>
{% else %}
There are {{counter}} new messages waiting in quarantine:<br> There are {{counter}} new messages waiting in quarantine:<br>
{% endif %}
<table> <table>
<tr><th>Subject</th><th>Sender</th><th>Score</th><th>Arrived on</th>{% if quarantine_acl == 1 %}<th>Actions</th>{% endif %}</tr> <tr><th>Subject</th><th>Sender</th><th>Score</th><th>Arrived on</th>{% if quarantine_acl == 1 %}<th>Actions</th>{% endif %}</tr>
{% for line in meta %} {% for line in meta %}