Don’t show Sone header when current Sone is viewed.
[Sone.git] / src / main / resources / templates / viewSone.html
index 71fba4f..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>
@@ -29,6 +31,8 @@
                <div id="following">
                        <%foreach sone.friends sone>
                                <%include include/viewSone.html>
+                       <%foreachelse>
+                               <div><%= Page.ViewSone.Following.FollowingNone.Text|l10n|html></div>
                        <%/foreach>
                </div>