From: Harry Wood Date: Sat, 5 Mar 2022 01:48:10 +0000 (+0000) Subject: Add newline to align with blocks_by X-Git-Tag: live~2165^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/80c639a6b5391020943452337f4fb6a06e516636 Add newline to align with blocks_by `blocks_on.html.erb` is almost identical to `block_by.html.erb`. Add a newline to align with the other file (makes it easier to see the more subtle important difference) --- diff --git a/app/views/user_blocks/blocks_on.html.erb b/app/views/user_blocks/blocks_on.html.erb index e82711a4e..7d1f83ce3 100644 --- a/app/views/user_blocks/blocks_on.html.erb +++ b/app/views/user_blocks/blocks_on.html.erb @@ -2,6 +2,7 @@ <% content_for :heading do %>

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

<% end %> + <% unless @user_blocks.empty? %> <%= render :partial => "blocks", :locals => { :show_revoke_link => can?(:revoke, UserBlock), :show_user_name => false, :show_creator_name => true } %> <% else %>