Don’t show Sone header when current Sone is viewed.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 12:51:54 +0000 (14:51 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 12:51:54 +0000 (14:51 +0200)
src/main/resources/templates/viewSone.html

index 292ab44..75c0337 100644 (file)
@@ -14,7 +14,9 @@
 
        <%else>
 
-               <%include include/viewSone.html>
+               <%if ! sone.current>
+                       <%include include/viewSone.html>
+               <%/if>
 
                <div id="posts">
                        <%foreach sone.posts post>