mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-08 20:12:23 +00:00
suppress link to whatsnew within login hint popup
5153
This commit is contained in:
1 parent
2d1582ed13
commit
ca44a96bb3
1 file changed
+7
+7
@@ -2,6 +2,7 @@ package com.sap.sse.security.ui.authentication.login;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Element;
|
||||
import com.google.gwt.dom.client.Style.Display;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
@@ -12,6 +13,7 @@ import com.google.gwt.user.client.EventListener;
|
||||
import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sse.gwt.shared.Branding;
|
||||
|
||||
/**
|
||||
* Widget that shows a message to inform the user that it has benefits to log in. There are two links the user can
|
||||
@@ -68,5 +70,10 @@ public class LoginHintContent extends Composite {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (!Branding.getInstance().isActive()) {
|
||||
moreInfo.getElement().getStyle().setDisplay(Display.NONE);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user