mirror of https://github.com/apache/archiva.git
rework menu per user suggestion on dev@
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86eb3e0e0c
commit
dd3383692d
|
@ -122,9 +122,9 @@ menu.repositories=Repositories
|
|||
menu.manage=Manage
|
||||
menu.administration=Administration
|
||||
menu.repository.groups=Repository Groups
|
||||
menu.find=Find
|
||||
menu.find.search=Search
|
||||
menu.find.browse=Browse
|
||||
menu.artifacts=Artifacts
|
||||
menu.artifacts.search=Search
|
||||
menu.artifacts.browse=Browse
|
||||
|
||||
#user
|
||||
user.change.password.required=Change password required
|
||||
|
|
|
@ -19,12 +19,28 @@
|
|||
<div id="main-menu">
|
||||
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header">${$.i18n.prop('menu.find')}</li>
|
||||
<li class="nav-header">${$.i18n.prop('menu.artifacts')}</li>
|
||||
<li>
|
||||
<a href="#" id="menu-find-search-a" onclick="displaySearch(this)">${$.i18n.prop('menu.find.search')}</a>
|
||||
<a href="#" id="menu-find-search-a" onclick="displaySearch(this)">${$.i18n.prop('menu.artifacts.search')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" id="menu-find-browse-a" onclick="displayBrowse()">${$.i18n.prop('menu.find.browse')}</a>
|
||||
<a href="#" id="menu-find-browse-a" onclick="displayBrowse()">${$.i18n.prop('menu.artifacts.browse')}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<li class="nav-header">${$.i18n.prop('menu.administration')}</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-repository-groups-list-a" onclick="displayRepositoryGroups()">${$.i18n.prop('menu.repository.groups')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-repositories-list-a" onclick="displayRepositoriesGrid()">${$.i18n.prop('menu.repositories')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-proxy-connectors-list-a" onclick="displayProxyConnectors()">${$.i18n.prop('menu.proxy-connectors')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-network-proxies-list-a" onclick="displayNetworkProxies()">${$.i18n.prop('menu.network-proxies')}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@ -38,20 +54,4 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<li class="nav-header">${$.i18n.prop('menu.administration')}</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-repository-groups-list-a" onclick="displayRepositoryGroups()">${$.i18n.prop('menu.repository.groups')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-repositories-list-a" onclick="displayRepositoriesGrid()">${$.i18n.prop('menu.repositories')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-network-proxies-list-a" onclick="displayNetworkProxies()">${$.i18n.prop('menu.network-proxies')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
|
||||
<a href="#" id="menu-proxy-connectors-list-a" onclick="displayProxyConnectors()">${$.i18n.prop('menu.proxy-connectors')}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue