Rename “isCurrent” property to “current”.
[Sone.git] / src / main / resources / templates / include / viewSone.html
index cecbb33..a5debbc 100644 (file)
@@ -2,8 +2,8 @@
        <div class="profile-link"><a href="viewSone.html?sone=<% sone.id>" title="<% sone.requestUri|html>"><% sone.niceName|html></a></div>
        <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.current>
+                       <%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>" />