Merge pull request #3714 from vismay-golwala/org_member_count

Show only member users for organization

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-05-03 12:36:29 +00:00 committed by GitHub
commit f26ae8ef13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ export default ['NotificationsList', 'i18n',
name: 'users',
dataPlacement: 'top',
awToolTip: i18n._('Please save before adding users.'),
basePath: 'api/v2/organizations/{{$stateParams.organization_id}}/access_list/',
basePath: 'api/v2/organizations/{{$stateParams.organization_id}}/users/',
search: {
order_by: 'username'
},
@ -118,13 +118,15 @@ export default ['NotificationsList', 'i18n',
key: true,
label: i18n._('User'),
linkBase: 'users',
columnClass: 'col-sm-6'
columnClass: 'col-sm-4'
},
role: {
label: i18n._('Role'),
type: 'role',
nosort: true,
columnClass: 'col-sm-6'
first_name: {
label: i18n._('First name'),
columnClass: 'col-sm-4'
},
last_name: {
label: i18n._('Last name'),
columnClass: 'col-sm-4'
}
}
},