From 706185757bd1dbd5568dbd9d731a31a709c53d79 Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Wed, 1 Mar 2017 11:23:16 +0000 Subject: [PATCH] removed client scope helper dependency git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@144464 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../view/templates/SingleNotificationView.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java index 275ab61..5717808 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java +++ b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java @@ -5,7 +5,6 @@ import org.gcube.portal.databook.client.GCubeSocialNetworking; import org.gcube.portal.databook.client.util.Encoder; import org.gcube.portal.databook.shared.Notification; import org.gcube.portal.databook.shared.NotificationType; -import org.gcube.portlets.user.gcubewidgets.client.ClientScopeHelper; import org.gcube.portlets.user.gcubewidgets.client.elements.Span; import org.gcube.portlets.user.notifications.client.view.templates.images.NotificationImages; @@ -67,7 +66,7 @@ public class SingleNotificationView extends Composite { actualHTML = actualHTML.length() > 200 ? actualHTML.substring(0, 200) + " ..." : actualHTML; String profilePageURL = GCubePortalConstants.PREFIX_GROUP_URL + - ClientScopeHelper.extractOrgFriendlyURL(Location.getHref()) +"/"+GCubePortalConstants.USER_PROFILE_FRIENDLY_URL; + extractOrgFriendlyURL(Location.getHref()) +"/"+GCubePortalConstants.USER_PROFILE_FRIENDLY_URL; notificationText.setHTML( "