} else if (member.equals("isCurrent")) {
Sone currentSone = (Sone) dataProvider.getData("currentSone");
return currentSone.equals(sone);
- } else if (member.equals("isBlocked")) {
+ } else if (member.equals("blocked")) {
Sone currentSone = (Sone) dataProvider.getData("currentSone");
return currentSone.isSoneBlocked(sone.getId());
}
<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>" />