From: David ‘Bombe’ Roden Date: Wed, 26 Jan 2011 09:17:39 +0000 (+0100) Subject: Hide message input when not logged in. Fixes #98. X-Git-Tag: 0.4.3^2~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=34c6f1ac735a7966be5b91855ef3d1a8125429f7;p=Sone.git Hide message input when not logged in. Fixes #98. --- diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index fac920b..4b2502a 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -35,16 +35,18 @@ <%/foreach> - <%if ! sone.current> -

<%= Page.ViewSone.WriteAMessage|l10n|html>

- -
- - - - - -
+ <%ifnull ! currentSone> + <%if ! sone.current> +

<%= Page.ViewSone.WriteAMessage|l10n|html>

+ +
+ + + + + +
+ <%/if> <%/if>

<%= Page.ViewSone.PostList.Title|l10n|replace needle="{sone}" replacementKey=sone.niceName|html>