add i18n and page header in role list

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1224737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-12-26 15:07:11 +00:00
parent a2e60c0810
commit 404fccfc73
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,6 @@
<div class='well' id="main-menu" redback-permissions="{permissions: ['archiva-manage-users']}" style="display: none">
<ul class="navigation">
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-users']}"><a href="#" onclick="displayUsersGrid()">${$.i18n.prop('users.list')}</a></li>
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-users']}"><a href="#" onclick="displayRolesGrid()">Role List</a></li>
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-users']}"><a href="#" onclick="displayRolesGrid()">${$.i18n.prop('roles.list')}</a></li>
</ul>
</div>

View File

@ -1,4 +1,7 @@
<script id="rolesGrid" type="text/x-jquery-tmpl">
<div class="page-header">
<h2>${$.i18n.prop('roles.list')}</h2>
</div>
<table class="bordered-table zebra-striped" id="rolesTable">
<thead>
<tr>