<%= @user.display_name %> <%= role_icons(@user) %>
<% if current_user and @user.id == current_user.id %>
<% else %>
<% end %>
- <%= t ".mapper since" %>
- <%= l @user.created_at.to_date, :format => :long %>
- <%= t ".last map edit" %>
- <%= l @user.changesets.first&.created_at&.to_date, :format => :long, :default => t(".no activity yet") %>
<% unless @user.terms_agreed %>
- <%= t ".ct status" %>
-
<% if @user.terms_seen? -%>
<%= t ".ct declined" %>
<% else -%>
<%= t ".ct undecided" %>
<% end -%>
<% end -%>
<% if current_user&.moderator? || current_user&.administrator? %>
- <%= t ".uid" %>
- <%= link_to @user.id, api_user_path(:id => @user.id) %>
<% end -%>
<% if can?(:set_status, User) || can?(:destroy, User) %>
<% end %>
<% if current_user and current_user.administrator? -%>
- <%= t ".email address" %>
- <%= @user.email %>
<% unless @user.creation_address.nil? -%>
- <%= t ".created from" %>
- <%= link_to @user.creation_address, users_path(:ip => @user.creation_address) %>
<% end -%>
- <%= t ".status" %>
- <%= link_to @user.status.capitalize, users_path(:status => @user.status) %>
- <%= t ".spam score" %>
- <%= @user.spam_score %>
<% end -%>