X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6b6345ecdba2589df96489b259651adb4c764362..1977e66ace0751b8b4fdf3b55bde367ec33e7c57:/app/views/users/show.html.erb?ds=sidebyside diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index aee000a97..1bd5f8fa5 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -35,7 +35,7 @@ <% end %> - <% if current_user and current_user.moderator? and current_user.blocks_created.exists? %> + <% if can?(:create, UserBlock) and current_user.blocks_created.exists? %>
+
<%= t ".mapper since" %> <%= l @user.creation_time.to_date, :format => :long %> <% unless @user.terms_agreed %> @@ -164,7 +168,7 @@ <% if current_user and current_user.administrator? -%> -