From fdf21b841269fbe82ef3abec36c2f861757b71f2 Mon Sep 17 00:00:00 2001 From: Aiko Appeldorn Date: Sat, 9 Feb 2019 21:27:47 +0100 Subject: [PATCH 1/2] [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 %} From 36ba1f28d5b1635329d300dc5149a7eda7c1ae66 Mon Sep 17 00:00:00 2001 From: Aiko Appeldorn Date: Sat, 9 Feb 2019 21:29:15 +0100 Subject: [PATCH 2/2] [Dovecot] fixed indentation for quarantine template --- data/assets/templates/quarantine.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/assets/templates/quarantine.tpl b/data/assets/templates/quarantine.tpl index e4210ee0..3af0e121 100644 --- a/data/assets/templates/quarantine.tpl +++ b/data/assets/templates/quarantine.tpl @@ -25,11 +25,11 @@

Hi!
- {% if counter == 1 %} + {% if counter == 1 %} There is 1 new message waiting in quarantine:
- {% else %} - There are {{counter}} new messages waiting in quarantine:
- {% endif %} + {% else %} + There are {{counter}} new messages waiting in quarantine:
+ {% endif %}

SubjectSenderScoreArrived onActions
{% if quarantine_acl == 1 %}{% endif %} {% for line in meta %}
SubjectSenderScoreArrived onActions