浏览代码

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 6 年之前
父节点
当前提交
a071262e7e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      data/assets/templates/quarantine.tpl

+ 4 - 0
data/assets/templates/quarantine.tpl

@@ -25,7 +25,11 @@
   </head>
   <body>
     <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>
+    {% endif %}
     <table>
     <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 %}