From: David ‘Bombe’ Roden Date: Sun, 27 Jan 2013 21:14:35 +0000 (+0100) Subject: Fix check for a recipient. X-Git-Tag: 0.8.5^2~3^2~39 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=d100af6d02674395f77ee23cda8f82f015e264a0 Fix check for a recipient. --- diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 7120d06..b46532f 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -18,12 +18,12 @@
class="hidden"<%/if>> - <%ifnull !post.recipient> + <%if post.hasRecipient> → - <%ifnull post.recipient.identity> - + <%ifnull post.recipient.orNull> + <%else> - + <%/if> <%/if> <% post.text|html|store key==originalText text==true>