X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ca4555df43b36adc005e7a9752b94878f0990da9..8809e1fd08377ebb010db09a5fd7de7e759d2583:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 81e33dddb..76bedf60e 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -11,21 +11,23 @@ <% 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" %>
@@ -131,54 +153,56 @@ <% 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) %> + <% if can?(:update, :user_status) %>