X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..00f75c175e432e51c7c80eff02384dc35294d760:/app/views/user_blocks/index.html.erb diff --git a/app/views/user_blocks/index.html.erb b/app/views/user_blocks/index.html.erb index ff019b293..42e75ecf0 100644 --- a/app/views/user_blocks/index.html.erb +++ b/app/views/user_blocks/index.html.erb @@ -4,7 +4,7 @@ <% end %> <% unless @user_blocks.empty? %> -<%= render :partial => "blocks", :locals => { :show_revoke_link => (current_user and current_user.moderator?), :show_user_name => true, :show_creator_name => true } %> +<%= render :partial => "blocks", :locals => { :show_revoke_link => (current_user && current_user.moderator?), :show_user_name => true, :show_creator_name => true } %> <% else %>

<%= t ".empty" %>

<% end %>