From: David ‘Bombe’ Roden Date: Fri, 15 Jul 2011 09:16:55 +0000 (+0200) Subject: Collapse multiple identical posts in mention notification. X-Git-Tag: 0.6.6^2~12 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=389ae6a5c78211870e7dd368968885ed4cdcd1af;p=Sone.git Collapse multiple identical posts in mention notification. This resolves #207. --- diff --git a/src/main/resources/templates/notify/mentionNotification.html b/src/main/resources/templates/notify/mentionNotification.html index 087fc2e..10e9ad3 100644 --- a/src/main/resources/templates/notify/mentionNotification.html +++ b/src/main/resources/templates/notify/mentionNotification.html @@ -4,7 +4,7 @@
<%= Notification.Mention.Text|l10n|html> - <%foreach posts post> + <%foreach posts post|unique> <% post.sone.niceName|html><%notlast>,<%/notlast><%last>.<%/last> <%/foreach>