From c703a3d1a78ab1e9bfa6a8f1b15b8c2880f898a1 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 6 Mar 2019 11:13:47 +0100 Subject: [PATCH] Whitespace fixes for messages erb files --- app/views/messages/_message_count.html.erb | 3 +-- app/views/messages/inbox.html.erb | 2 +- app/views/messages/outbox.html.erb | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/messages/_message_count.html.erb b/app/views/messages/_message_count.html.erb index c6d84032d..33a3b52f3 100644 --- a/app/views/messages/_message_count.html.erb +++ b/app/views/messages/_message_count.html.erb @@ -3,6 +3,5 @@ :new_messages => t("messages.inbox.new_messages", :count => current_user.new_messages.size), :old_messages => t("messages.inbox.old_messages", - :count => current_user.messages.size - current_user.new_messages.size) -%> + :count => current_user.messages.size - current_user.new_messages.size) %>

diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb index 03e01915e..9cb541107 100644 --- a/app/views/messages/inbox.html.erb +++ b/app/views/messages/inbox.html.erb @@ -3,7 +3,7 @@ <% end %> <% content_for :heading do %> -

<%= t '.my_inbox'%>/<%= link_to t('.outbox'), outbox_messages_path %>

+

<%= t '.my_inbox' %>/<%= link_to t('.outbox'), outbox_messages_path %>

<% end %>

<%= render :partial => "message_count" %>

diff --git a/app/views/messages/outbox.html.erb b/app/views/messages/outbox.html.erb index 199cfdc49..36e0f22e9 100644 --- a/app/views/messages/outbox.html.erb +++ b/app/views/messages/outbox.html.erb @@ -3,7 +3,7 @@ <% end %> <% content_for :heading do %> -

<%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_messages_path)) %>/<%= t'.outbox' %>

+

<%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_messages_path)) %>/<%= t '.outbox' %>

<% end %>

<%= t '.messages', :count => current_user.sent_messages.size %>

-- 2.39.5