Show active flag for users mini-grid on Role view page
This commit is contained in:
parent
ec8ce36bd5
commit
c0219938e3
|
@ -123,7 +123,9 @@ class RolesView(PrincipalMasterView):
|
|||
grids.GridAction('view', icon='zoomin',
|
||||
url=lambda r, i: self.request.route_url('users.view', uuid=r.uuid))
|
||||
]
|
||||
kwargs['users'] = grids.Grid(None, users, ['username'], request=self.request, model_class=model.User,
|
||||
kwargs['users'] = grids.Grid(None, users, ['username', 'active'],
|
||||
request=self.request,
|
||||
model_class=model.User,
|
||||
main_actions=actions)
|
||||
else:
|
||||
kwargs['users'] = None
|
||||
|
|
Loading…
Reference in a new issue