Skip to content
Snippets Groups Projects
Commit ad469c3b authored by kaloyane's avatar kaloyane
Browse files

[LMS-2594] 'Administration' renamed to 'Admin' and moved to the top-right side of the page

SVN: 23327
parent d55d2389
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,13 @@
package ch.systemsx.cisd.openbis.generic.client.web.client.application.menu;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.layout.FlowLayout;
import com.extjs.gxt.ui.client.widget.toolbar.FillToolItem;
import com.extjs.gxt.ui.client.widget.toolbar.SeparatorToolItem;
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
import com.google.gwt.user.client.Element;
import ch.systemsx.cisd.openbis.generic.client.web.client.ICommonClientServiceAsync;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.GenericConstants;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.IViewContext;
......@@ -29,13 +36,6 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.menu.top.N
import ch.systemsx.cisd.openbis.generic.client.web.client.application.menu.user.LoggedUserMenu;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.IMessageProvider;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.layout.FlowLayout;
import com.extjs.gxt.ui.client.widget.toolbar.FillToolItem;
import com.extjs.gxt.ui.client.widget.toolbar.SeparatorToolItem;
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
import com.google.gwt.user.client.Element;
/**
* Implements functionality of the top menu.
*
......@@ -116,7 +116,6 @@ public class TopMenu extends LayoutContainer
toolBar.add(new BrowseMenu(viewContext, componentProvider));
toolBar.add(new NewMenu(viewContext, componentProvider));
toolBar.add(new ImportMenu(viewContext, componentProvider));
toolBar.add(new AdministrationMenu(viewContext, componentProvider));
toolBar.add(new ModulesMenu(viewContext, viewContext.getClientPluginFactoryProvider()));
toolBar.add(new FillToolItem());
toolBar.add(new SearchWidget(viewContext));
......@@ -127,6 +126,7 @@ public class TopMenu extends LayoutContainer
{
toolBar.add(new TrashButton(viewContext, componentProvider));
}
toolBar.add(new AdministrationMenu(viewContext, componentProvider));
toolBar.add(new LoggedUserMenu(viewContext, componentProvider));
}
......
......@@ -384,7 +384,7 @@ var common = {
// Menu Titles
//
menu_administration: "Administration",
menu_administration: "Admin",
ADMINISTRATION_MENU_MANAGE_GROUPS: "Spaces",
menu_authorization: "Authorization",
......
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