From c0219938e38ffba808a8fcf9a8bf26013db42242 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 14 Oct 2019 11:54:01 -0500 Subject: [PATCH] Show active flag for users mini-grid on Role view page --- tailbone/views/roles.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tailbone/views/roles.py b/tailbone/views/roles.py index 403cfde3..3d10d349 100644 --- a/tailbone/views/roles.py +++ b/tailbone/views/roles.py @@ -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