X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e1d681db3316673d8c3f26c2b0efc4a1382ddb73..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? %> +