fixed bug not dsplaying correctly Confirm Leave option

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/gcube-loggedin@133200 82a268e6-3cf1-43bd-a215-b396298e98cf
master
Massimiliano Assante 8 years ago
parent 638c842784
commit 4734c5a829

@ -80,19 +80,16 @@
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>custom-portal-handler</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.common.portal</groupId>
<artifactId>portal-manager</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>gcube-widgets</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
<scope>compile</scope>
</dependency>
<dependency>
@ -108,7 +105,6 @@
<dependency>
<groupId>org.gcube.dvos</groupId>
<artifactId>usermanagement-core</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -119,7 +115,6 @@
<dependency>
<groupId>com.liferay.portal</groupId>
<artifactId>portal-service</artifactId>
<version>${liferay.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -137,7 +132,6 @@
<dependency>
<groupId>com.liferay.portal</groupId>
<artifactId>util-java</artifactId>
<version>${liferay.version}</version>
<scope>provided</scope>
</dependency>
<dependency>

@ -149,7 +149,7 @@ public class AboutView extends Composite {
// show alert block
alertBlockOnLeave.setVisible(true);
leaveVreButton.setVisible(false);
}
});
@ -179,6 +179,7 @@ public class AboutView extends Composite {
// just hide alertBlock
alertBlockOnLeave.setVisible(false);
leaveVreButton.setVisible(true);
}
});

@ -235,7 +235,8 @@ public class LoggedinServiceImpl extends RemoteServiceServlet implements Loggedi
sendUserUnregisteredNotification(username, getASLSession().getScope(),
PortalContext.getConfiguration().getGatewayURL(getThreadLocalRequest()),
PortalContext.getConfiguration().getGatewayName(getThreadLocalRequest()));
return "/";
return PortalContext.getConfiguration().getSiteLandingPagePath(getThreadLocalRequest());
} catch (Exception e) {
e.printStackTrace();
return null;

@ -13,4 +13,14 @@ div.gwt-HTML.vre-description {
.loading-text {
width: 100%;
text-align: center;
}
.cancel-leave-button {
font-weight: bold;
}
.cancel-leave-button:hover {
cursor: pointer;
cursor: hand;
text-decoration: underline;
}
Loading…
Cancel
Save