Skip to content

Commit

Permalink
Add username column to users management
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Jan 18, 2024
1 parent 80b7579 commit 4765c04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/fauna/users/_user.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tr
td = user.name
td = user.username
td = user.email
td.roles_column
= render partial: '/fauna/role_assignments/role_assignments', locals: {user: user}
1 change: 1 addition & 0 deletions app/views/fauna/users/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ section.container
thead
tr
th = User.human_attribute_name(:name)
th = User.human_attribute_name(:username)
th = User.human_attribute_name(:email)
th.roles_column = User.human_attribute_name(:roles)
tbody#user_table
Expand Down

0 comments on commit 4765c04

Please sign in to comment.