diff --git a/app/views/map/_peopleLeaflet.html.erb b/app/views/map/_peopleLeaflet.html.erb index 5ea062a98e1..9f339be1daf 100644 --- a/app/views/map/_peopleLeaflet.html.erb +++ b/app/views/map/_peopleLeaflet.html.erb @@ -2,7 +2,7 @@ <% unique_id = rand(1000) %>
This page shows a list of all Public Lab contributors and is sorted by those who have posted most recently. Click the profile link to view their posting activity.
-<%= t('users.list.admins_ban_spam') %>
- <% end %> -- - | <%= 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 %> -