Skip to content
Snippets Groups Projects
Commit 6f023bef authored by buczekp's avatar buczekp
Browse files

[LMS-1597] use welcomePage.html in welcome panel instead of dictionary entry

SVN: 17886
parent 092b33af
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,6 @@ public abstract class Dict
public static final String OPENBIS_INSTANCE = "openbis_instance";
public static final String WELCOME = "welcome";
public static final String FOOTER = "footer";
//
......
......@@ -19,10 +19,7 @@ package ch.systemsx.cisd.openbis.generic.client.web.client.application.framework
import com.extjs.gxt.ui.client.widget.Component;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.layout.CenterLayout;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.Dict;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.IViewContext;
/**
......@@ -36,16 +33,9 @@ public class WelcomePanelHelper
{
final LayoutContainer layoutContainer = new LayoutContainer(new CenterLayout());
layoutContainer.setId(idPrefix + "welcome");
layoutContainer.addText(createWelcomeText(viewContext));
HtmlPage welcomePage = new HtmlPage("welcomePage");
layoutContainer.add(welcomePage);
return layoutContainer;
}
private static final String createWelcomeText(IViewContext<?> viewContext)
{
final Element div = DOM.createDiv();
div.setClassName("intro-tab");
div.setInnerText(viewContext.getMessage(Dict.WELCOME));
return div.getString();
}
}
......@@ -2,7 +2,6 @@
var common = {
applicationName: "openBIS",
welcome: "Welcome to openBIS",
openbis_instance: "",
footer: "openBIS (Version {0})",
openbis_logo_title: "openBIS",
......
Welcome to <b>openBIS</b>
\ No newline at end of file
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