From: Olivier Lamy Date: Fri, 30 Dec 2011 17:08:32 +0000 (+0000) Subject: display users with current role and with parents roles X-Git-Tag: archiva-1.4-M3~1670 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a58cd7ef9bd8545f2de0a1a1464b756a51e2803b;p=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 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html index bea2ef35d..4b242335d 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html @@ -121,9 +121,44 @@ {{/if}} + + {{if parentsRolesUsers}} + + {{if $.isArray(parentsRolesUsers)}} + + {{else}} + + {{/if}} + {{/if}} + + {{if users}} + {{if $.isArray(users)}} + + {{else}} + + {{/if}} + {{else}} + ${$.i18n.prop('role.edit.no.user.defined')} + {{/if}}