diff --git a/app/views/users/list.html.erb b/app/views/users/list.html.erb index 3c14e3cb75..b0955afdec 100644 --- a/app/views/users/list.html.erb +++ b/app/views/users/list.html.erb @@ -51,9 +51,9 @@
  • See Full Profile
  • <% if current_user && (current_user.role == "admin" || current_user.role == "moderator") %> <% if user.status == 0 %> - <%= t('users.list.banned') %> - <% elsif user.status == 1 && user != current_user %> -
  • <%= t('users.list.ban') %>
  • +
  • <%= t('users.list.unban') %>
  • + <% elsif user.status == 1 && user != current_user %> +
  • <%= t('users.list.ban') %>
  • <% end %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 54d3e63f08..d8755881a1 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -136,7 +136,9 @@ en: notes_and_edits: "research notes and wiki edits" banned: "Banned" are_you_sure: "Are you sure? The user will no longer be able to log in or publish." + are_you_sure_to_unban: "Are you sure? The user will be eligible to log in or publish." ban: "Ban" + unban: "Unban" _photo: profile_photo: "Profile photo" drag_and_drop_image: "Drag and drop to add an image, or"