From 4765c04f4a9122b7574d489aa96dbd58c8572f61 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Fri, 19 Jan 2024 00:38:30 +0200 Subject: [PATCH] Add username column to users management --- app/views/fauna/users/_user.html.slim | 1 + app/views/fauna/users/index.html.slim | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/fauna/users/_user.html.slim b/app/views/fauna/users/_user.html.slim index efc3b68f..79e51048 100644 --- a/app/views/fauna/users/_user.html.slim +++ b/app/views/fauna/users/_user.html.slim @@ -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} diff --git a/app/views/fauna/users/index.html.slim b/app/views/fauna/users/index.html.slim index 3050bb94..9f125a9e 100644 --- a/app/views/fauna/users/index.html.slim +++ b/app/views/fauna/users/index.html.slim @@ -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