Rename “isFriend” property to just “friend”.
[Sone.git] / src / main / resources / templates / viewSone.html
index 7b0647f..84c9c51 100644 (file)
@@ -13,7 +13,7 @@
                <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
 
                <%if ! sone.isCurrent>
-                       <%if sone.isFriend>
+                       <%if sone.friend>
                                <div><a href="unfollowSone.html?sone=<% sone.id>"><%= Page.ViewSone.UnfollowSone.Text|l10n|html></a></div>
                        <%else>
                                <div><a href="followSone.html?sone=<% sone.id>"><%= Page.ViewSone.FollowSone.Text|l10n|html></a></div>