Misc. tweaks for users, roles
This commit is contained in:
parent
d61fa7b6b9
commit
dd6c9cc8ce
|
@ -187,7 +187,7 @@ class RoleView(PrincipalMasterView):
|
|||
f.set_type('notes', 'text_wrapped')
|
||||
|
||||
# users
|
||||
if use_buefy and self.viewing or self.deleting:
|
||||
if use_buefy and self.viewing:
|
||||
f.set_renderer('users', self.render_users)
|
||||
else:
|
||||
f.remove('users')
|
||||
|
|
|
@ -52,6 +52,7 @@ class UserView(PrincipalMasterView):
|
|||
has_rows = True
|
||||
model_row_class = model.UserEvent
|
||||
has_versions = True
|
||||
touchable = True
|
||||
|
||||
grid_columns = [
|
||||
'username',
|
||||
|
|
Loading…
Reference in a new issue