X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8682b58154b0d42cb0dcc9f85efa806bea68210c..4370fe45add697f481ab88764aba8379eb3316c2:/app/views/users/show.html.erb
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 253945b9b..76bedf60e 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -14,7 +14,8 @@
<%= number_with_delimiter(current_user.changesets.size) %>
+
- <%= 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" %>
-
@@ -155,50 +161,48 @@
- <% if can?(:set_status, User) || can?(:destroy, User) %>
+ <% if can?(:update, :user_status) %>