diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/GCubeCkanDataCatalog.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/GCubeCkanDataCatalog.java index 934d278..902e1d2 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/GCubeCkanDataCatalog.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/GCubeCkanDataCatalog.java @@ -27,7 +27,7 @@ public class GCubeCkanDataCatalog implements EntryPoint { public static final String REVERT_QUERY_PARAM = "manage"; public static final String GCUBE_CKAN_IFRAME = "gcube-ckan-iframe"; - public static final String LOGGED_IN_DIV = "logged_in"; + //public static final String LOGGED_IN_DIV = "logged_in"; /** * This is the entry point method. diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java index 9ea0ffe..1f0d60b 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java @@ -200,7 +200,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate { managementPanel.visibilityEditItemButton(true); managementPanel.visibilityDeleteItemButton(true); managementPanel.enablePublishItemButton(true); - RootPanel.get(GCubeCkanDataCatalog.LOGGED_IN_DIV).add(new HTML("Logged in as "+RolesCkanGroupOrOrg.ADMIN)); + //RootPanel.get(GCubeCkanDataCatalog.LOGGED_IN_DIV).add(new HTML("Logged in as "+RolesCkanGroupOrOrg.ADMIN)); break; } case EDITOR: { @@ -208,7 +208,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate { managementPanel.visibilityEditItemButton(true); managementPanel.visibilityDeleteItemButton(true); managementPanel.enablePublishItemButton(true); - RootPanel.get(GCubeCkanDataCatalog.LOGGED_IN_DIV).add(new HTML("Logged in as "+RolesCkanGroupOrOrg.EDITOR)); + //RootPanel.get(GCubeCkanDataCatalog.LOGGED_IN_DIV).add(new HTML("Logged in as "+RolesCkanGroupOrOrg.EDITOR)); break; } case MEMBER: { @@ -218,7 +218,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate { // not the rights to publish managementPanel.visibilityPublishItemButton(true, true); managementPanel.enablePublishItemButton(false); - RootPanel.get(GCubeCkanDataCatalog.LOGGED_IN_DIV).add(new HTML("Logged in as "+RolesCkanGroupOrOrg.MEMBER)); + //RootPanel.get(GCubeCkanDataCatalog.LOGGED_IN_DIV).add(new HTML("Logged in as "+RolesCkanGroupOrOrg.MEMBER)); break; } default: {