diff --git a/app/views/users/list.html.erb b/app/views/users/list.html.erb index c8e5e4a3bf2..4e4196060a6 100644 --- a/app/views/users/list.html.erb +++ b/app/views/users/list.html.erb @@ -13,44 +13,36 @@
- - | <%= t('users.list.username') %> | -<%= t('users.list.last_activity') %> | -<%= t('users.list.history') %> | -<%= t('users.list.joined') %> | - - <% if current_user && (current_user.role == "admin" || current_user.role == "moderator") %> -<%= t('users.list.moderation') %> | - <% end %> -
---|---|---|---|---|---|
- |
- - | -<%= t = user.revisions.order(timestamp: :desc).first.try(:created_at);time_ago_in_words(t) if (t) %> | -<%= user.nodes.count %> <%= t('users.list.notes_and_edits') %> | -<%= distance_of_time_in_words(user.created_at, Time.current, { include_seconds: false, scope: 'datetime.time_ago_in_words' }) %> | - <% if current_user && (current_user.role == "admin" || current_user.role == "moderator") %> -- <% if user.status == 0 %> - <%= t('users.list.banned') %> - <% elsif user.status == 1 %> - <%= t('users.list.ban') %> - <% end %> - | <% end %> -