Skip to content

Commit

Permalink
Remove 2SV abbr tag from /users table
Browse files Browse the repository at this point in the history
Using <abbr> isn't consistent with the design system so we're removing
it.
  • Loading branch information
chrislo committed Sep 28, 2023
1 parent 356e46c commit 2221900
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions app/helpers/users_helper.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
[
Expand Down

0 comments on commit 2221900

Please sign in to comment.