mirror of https://github.com/apache/archiva.git
display users with current role and with parents roles
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1225865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4edc7d2a36
commit
a58cd7ef9b
|
@ -121,9 +121,44 @@
|
|||
</table>
|
||||
{{/if}}
|
||||
|
||||
<div class="page-header">
|
||||
<h2>${$.i18n.prop('role.edit.section.users')}</h2>
|
||||
</div>
|
||||
{{if parentsRolesUsers}}
|
||||
<div class="page-header">
|
||||
<h3>${$.i18n.prop('role.edit.users.defined.in.parent.roles')}</h3>
|
||||
</div>
|
||||
{{if $.isArray(parentsRolesUsers)}}
|
||||
<ul>
|
||||
{{each parentsRolesUsers}}
|
||||
<li>${$value.fullName} - ( ${$value.username} - ${$value.email} ) </li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{else}}
|
||||
<ul>
|
||||
<li>${parentsRolesUsers.fullName} - ( ${parentsRolesUsers.username} - ${parentsRolesUsers.email} ) </li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<div class="page-header">
|
||||
<h3>${$.i18n.prop('role.edit.users.defined.in.current.role')}</h3>
|
||||
</div>
|
||||
|
||||
{{if users}}
|
||||
{{if $.isArray(users)}}
|
||||
<ul>
|
||||
{{each users}}
|
||||
<li>${$value.fullName} - ( ${$value.username} - ${$value.email} ) </li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{else}}
|
||||
<ul>
|
||||
<li>${users.fullName} - ( ${users.username} - ${users.email} ) </li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
${$.i18n.prop('role.edit.no.user.defined')}
|
||||
{{/if}}
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue