From 44f2f20011d28bc1420dcfcc8b9ff61183e86e24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 19 Oct 2010 08:39:11 +0200 Subject: [PATCH] =?utf8?q?Rename=20=E2=80=9CisBlocked=E2=80=9D=20property?= =?utf8?q?=20to=20=E2=80=9Cblocked=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/template/SoneAccessor.java | 2 +- src/main/resources/templates/include/viewSone.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java b/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java index dc4c0ab..97cf327 100644 --- a/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java +++ b/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java @@ -56,7 +56,7 @@ public class SoneAccessor extends ReflectionAccessor { } 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()); } diff --git a/src/main/resources/templates/include/viewSone.html b/src/main/resources/templates/include/viewSone.html index cecbb33..57ab384 100644 --- a/src/main/resources/templates/include/viewSone.html +++ b/src/main/resources/templates/include/viewSone.html @@ -16,7 +16,7 @@ <%/if> - <%if sone.isBlocked> + <%if sone.blocked>
-- 2.7.4