Whitespace fixes for user_blocks erb files

This commit is contained in:
Andy Allan 2019-03-06 10:42:25 +01:00 committed by Tom Hughes
parent 68a5aa5ed8
commit aa9e9a5eb1
6 changed files with 15 additions and 20 deletions

View file

@ -1,8 +1,7 @@
<% @title = t '.title', :name => h(@user.display_name) %>
<% content_for :heading do %>
<h1><%= raw t('.heading',
:name => link_to(
h(@user.display_name),
:name => link_to(h(@user.display_name),
user_path(@user))) %></h1>
<% end %>
<%= form_for(@user_block) do |f| %>

View file

@ -4,11 +4,9 @@
<% content_for :heading do %>
<h1><%= raw t('.heading',
:block_on => link_to(
h(@user_block.user.display_name),
:block_on => link_to(h(@user_block.user.display_name),
user_path(@user_block.user)),
:block_by => link_to(
h(@user_block.creator.display_name),
:block_by => link_to(h(@user_block.creator.display_name),
user_path(@user_block.creator))) %></h1>
<% end %>

View file

@ -4,11 +4,9 @@
<% content_for :heading do %>
<h1><%= raw t('.heading',
:block_on => link_to(
h(@user_block.user.display_name),
:block_on => link_to(h(@user_block.user.display_name),
user_path(@user_block.user)),
:block_by => link_to(
h(@user_block.creator.display_name),
:block_by => link_to(h(@user_block.creator.display_name),
user_path(@user_block.creator))) %></h1>
<ul class='secondary-actions clearfix'>
<% if @user_block.ends_at > Time.now.getutc %>