From 222190060b2c463f74f93496dfe080e56a7e8b5a Mon Sep 17 00:00:00 2001 From: Chris Lowis Date: Thu, 28 Sep 2023 16:50:14 +0100 Subject: [PATCH] Remove 2SV abbr tag from /users table Using isn't consistent with the design system so we're removing it. --- app/helpers/users_helper.rb | 4 ---- app/views/users/index.html.erb | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index fd5f5c2f00..f4d8e631cc 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -1,8 +1,4 @@ module UsersHelper - def two_step_abbr_tag - tag.abbr("2SV", title: "Two step verification") - end - def two_step_status(user) user.two_step_status.humanize.capitalize end diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 46b32efd58..4effee9333 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -48,7 +48,7 @@ { text: "Email" }, { text: "Role" }, { text: "Status" }, - { text: "#{two_step_abbr_tag} Status".html_safe }, + { text: "2SV Status".html_safe }, ], rows: @users.map do |user| [