From a58cd7ef9bd8545f2de0a1a1464b756a51e2803b Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 30 Dec 2011 17:08:32 +0000 Subject: [PATCH] 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 --- .../js/redback/templates/roles-tmpl.html | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) 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}} -- 2.39.5