X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..0baa293699cf6efaea979b342ec877af522213ca:/app/views/user_blocks/blocks_on.html.erb?ds=sidebyside diff --git a/app/views/user_blocks/blocks_on.html.erb b/app/views/user_blocks/blocks_on.html.erb index 1a74ba560..004a967b0 100644 --- a/app/views/user_blocks/blocks_on.html.erb +++ b/app/views/user_blocks/blocks_on.html.erb @@ -3,7 +3,7 @@

<%= raw(t(".heading", :name => link_to(h(@user.display_name), user_path(@user)))) %>

<% end %> <% unless @user_blocks.empty? %> -<%= render :partial => "blocks", :locals => { :show_revoke_link => (current_user and current_user.moderator?), :show_user_name => false, :show_creator_name => true } %> +<%= render :partial => "blocks", :locals => { :show_revoke_link => (current_user && current_user.moderator?), :show_user_name => false, :show_creator_name => true } %> <% else %>

<%= t ".empty", :name => h(@user.display_name) %>

<% end %>