From fdf21b841269fbe82ef3abec36c2f861757b71f2 Mon Sep 17 00:00:00 2001
From: Aiko Appeldorn <aap@codeink.de>
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 @@
   </head>
   <body>
     <p>Hi!<br>
-    There are {{counter}} new messages waiting in quarantine:<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 %}

From 36ba1f28d5b1635329d300dc5149a7eda7c1ae66 Mon Sep 17 00:00:00 2001
From: Aiko Appeldorn <aap@codeink.de>
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 @@
   </head>
   <body>
     <p>Hi!<br>
-	{% if counter == 1 %}
+    {% if counter == 1 %}
     There is 1 new message waiting in quarantine:<br>
-	{% else %}
-	There are {{counter}} new messages waiting in quarantine:<br>
-	{% endif %}
+    {% 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 %}