Rename “isFriend” property to just “friend”.
[Sone.git] / src / main / resources / templates / include / viewSone.html
index cecbb33..c75119a 100644 (file)
@@ -3,7 +3,7 @@
        <div class="last-update">(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)</div>
        <%ifnull ! currentSone>
                <%if ! sone.isCurrent>
-                       <%if sone.isFriend>
+                       <%if sone.friend>
                                <form class="unfollow" action="unfollowSone.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="sone" value="<% sone.id>" />
@@ -16,7 +16,7 @@
                                        <button type="submit"><%= View.Sone.Button.FollowSone|l10n|html></button>
                                </form>
                        <%/if>
-                       <%if sone.isBlocked>
+                       <%if sone.blocked>
                                <form class="unblock" action="unblockSone.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="sone" value="<% sone.id>" />