Skip to content
Snippets Groups Projects
Commit 51011b06 authored by felmer's avatar felmer
Browse files

SSDM-4146: Update home page URL for logo and about box

SVN: 38140
parent c2d8bdfd
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.ICommonClientServiceAs
import ch.systemsx.cisd.openbis.generic.client.web.client.application.AbstractAsyncCallback;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.Dict;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.IViewContext;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.menu.user.action.AboutBoxAction;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.LoginPanelAutofill;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.LoginWidget;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.GWTUtils;
......@@ -118,7 +119,7 @@ final class LoginPage extends com.google.gwt.user.client.ui.VerticalPanel
image.setTitle(viewContext.getMessage(Dict.OPENBIS_LOGO_TITLE));
Anchor logo =
new Anchor(image.getElement().getString(), true,
"http://www.cisd.ethz.ch/software/openBIS", "_blank");
AboutBoxAction.OPENBIS_WEB_SITE, "_blank");
return logo;
}
......
......@@ -27,6 +27,8 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.IDele
*/
public class AboutBoxAction implements IDelegatedAction
{
public static final String OPENBIS_WEB_SITE = "https://sis.id.ethz.ch/software/openbis.html";
private final IViewContext<?> viewContext;
public AboutBoxAction(IViewContext<?> viewContext)
......@@ -42,7 +44,7 @@ public class AboutBoxAction implements IDelegatedAction
.info(viewContext.getMessage(Dict.ABOUT_BOX_DIALOG_TITLE),
viewContext.getMessage(Dict.FOOTER, viewContext.getModel()
.getApplicationInfo().getVersion())
+ " <a href=\"http://www.cisd.ethz.ch/software/openBIS\" target=\"_blank\">OpenBIS Home page</a>",
+ " <a href=\"" + OPENBIS_WEB_SITE + "\" target=\"_blank\">OpenBIS Home page</a>",
null);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment