From fdf21b841269fbe82ef3abec36c2f861757b71f2 Mon Sep 17 00:00:00 2001 From: Aiko Appeldorn Date: Sat, 9 Feb 2019 21:27:47 +0100 Subject: [PATCH] [Dovecot] improved quarantine message --- data/assets/templates/quarantine.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/assets/templates/quarantine.tpl b/data/assets/templates/quarantine.tpl index 787a043f..e4210ee0 100644 --- a/data/assets/templates/quarantine.tpl +++ b/data/assets/templates/quarantine.tpl @@ -25,7 +25,11 @@

Hi!
- There are {{counter}} new messages waiting in quarantine:
+ {% if counter == 1 %} + There is 1 new message waiting in quarantine:
+ {% else %} + There are {{counter}} new messages waiting in quarantine:
+ {% endif %} {% if quarantine_acl == 1 %}{% endif %} {% for line in meta %}
SubjectSenderScoreArrived onActions