X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a57472d28203459b0765e08a4bd004050b97e0ed..549a46c867002c974224bc86cc5933edd8acef94:/app/views/user_blocks/blocks_on.html.erb diff --git a/app/views/user_blocks/blocks_on.html.erb b/app/views/user_blocks/blocks_on.html.erb index 0c15b8866..38254a5a3 100644 --- a/app/views/user_blocks/blocks_on.html.erb +++ b/app/views/user_blocks/blocks_on.html.erb @@ -7,7 +7,7 @@ <% end %> <% unless @user_blocks.empty? %> -<%= render :partial => "blocks", :locals => { :show_revoke_link => can?(:revoke, UserBlock), :show_user_name => false, :show_creator_name => true } %> +<%= render :partial => "blocks" %> <% else %>
<%= t ".empty", :name => @user.display_name %>
<% end %>