Add “comment” links on Sone page.
[Sone.git] / src / main / resources / templates / viewSone.html
index 84c9c51..9485ca1 100644 (file)
@@ -1,5 +1,11 @@
 <%include include/head.html>
 
+       <script language="javascript">
+               $(document).ready(function() {
+                       addCommentLinks();
+               });
+       </script>
+
        <%ifnull sone.name>
 
                <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
@@ -12,7 +18,7 @@
 
                <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
 
-               <%if ! sone.isCurrent>
+               <%if ! sone.current>
                        <%if sone.friend>
                                <div><a href="unfollowSone.html?sone=<% sone.id>"><%= Page.ViewSone.UnfollowSone.Text|l10n|html></a></div>
                        <%else>