Add username to admin users index

This commit is contained in:
Michael Ball 2020-07-27 18:51:41 -07:00
parent 35ef0dbae9
commit 61c107c244
2 changed files with 4 additions and 3 deletions

View file

@ -31,6 +31,7 @@ class UserDatatable < AjaxDatatablesRails::Base
confirmed_at: record.confirmed_at,
email: record.email,
name: record.name,
username: record.username,
attended: record.attended_count,
roles: record.roles.any? ? show_roles(record.get_roles) : 'None',
view_url: admin_user_path(record),

View file

@ -14,9 +14,9 @@
%thead
%th{ width: '0' } ID
%th{ width: '0' } Confirmed?
%th{ width: '50%' } Name
%th{ width: '0' } Email
%th{ width: '0' } Username
%th{ width: '30%' } Name
%th{ width: '15%' } Email
%th{ width: '15%' } Username
%th{ width: '0' } Conferences Attended
%th{ width: '50%' } Roles
%th{ width: '0' } Actions