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:
Olivier Lamy 2012-02-28 23:44:21 +00:00
parent 86eb3e0e0c
commit dd3383692d
2 changed files with 22 additions and 22 deletions

View File

@ -122,9 +122,9 @@ menu.repositories=Repositories
menu.manage=Manage menu.manage=Manage
menu.administration=Administration menu.administration=Administration
menu.repository.groups=Repository Groups menu.repository.groups=Repository Groups
menu.find=Find menu.artifacts=Artifacts
menu.find.search=Search menu.artifacts.search=Search
menu.find.browse=Browse menu.artifacts.browse=Browse
#user #user
user.change.password.required=Change password required user.change.password.required=Change password required

View File

@ -19,12 +19,28 @@
<div id="main-menu"> <div id="main-menu">
<ul class="nav nav-list"> <ul class="nav nav-list">
<li class="nav-header">${$.i18n.prop('menu.find')}</li> <li class="nav-header">${$.i18n.prop('menu.artifacts')}</li>
<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>
<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> </li>
</ul> </ul>
@ -38,20 +54,4 @@
</li> </li>
</ul> </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> </div>