NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Dovecot] improved quarantine message

fdf21b84
Aiko Appeldorn <[email protected]> 7 years ago
data/assets/templates/quarantine.tpl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Diff

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 %}