Skip to content

Commit

Permalink
Add selection of Role in the User Group wizard #5285
Browse files Browse the repository at this point in the history
Fixed interval between roles in statistics panel of group.
  • Loading branch information
edloidas committed Aug 10, 2017
1 parent e9f8fc1 commit f7e3d56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Expand Up @@ -60,11 +60,13 @@
}
}

&.memeberships .data-list li {
margin-bottom: 10px;

&.list-header {
&.memberships, &.roles {
.data-list li {
margin-bottom: 10px;

&.list-header {
margin-bottom: 10px;
}
}
}

Expand Down
Expand Up @@ -80,7 +80,7 @@ export class UserItemStatisticsPanel extends ItemStatisticsPanel<UserTreeGridIte
userGroup = new ItemDataGroup(i18n('field.user'), 'user');
userGroup.addDataList(i18n('field.email'), principal.asUser().getEmail());

rolesAndGroupsGroup = new ItemDataGroup(i18n('field.rolesAndGroups'), 'memeberships');
rolesAndGroupsGroup = new ItemDataGroup(i18n('field.rolesAndGroups'), 'memberships');

let roles = principal.asUser().getMemberships().filter((el) => {
return el.isRole();
Expand Down

0 comments on commit f7e3d56

Please sign in to comment.