X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/efc61f13159f2cf4e2ba542bac40ca84a57480da..d23763d6cdbf5ec11f0e83f8e6e8fb32ed973e6a:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 0c803ebb0..253945b9b 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -101,6 +101,12 @@ <% end %> + <% if can?(:revoke_all, UserBlock) and @user.blocks.active.exists? %> +