From 80c639a6b5391020943452337f4fb6a06e516636 Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Sat, 5 Mar 2022 01:48:10 +0000 Subject: [PATCH] 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) --- app/views/user_blocks/blocks_on.html.erb | 1 + 1 file changed, 1 insertion(+) 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 %> -- 2.39.5