From b50aeb7ae4eb8b20801e21ae90dc3b2d790d5dc4 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Wed, 6 May 2020 12:40:41 +0530 Subject: [PATCH] Chore: Fix broken conversation mailer layout (#825) --- .../reply_with_summary.html.erb | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb b/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb index 5a490de62..599d21276 100644 --- a/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb +++ b/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb @@ -2,22 +2,22 @@

You have new messages on your conversation.

- - <% @messages.each do |message| %> - - - + + + + - - <% end %> -
- <%= message.incoming? ? 'You' : message.user.name %> - : - <% if message.content %> - <%= message.content %> +<% @messages.each do |message| %> +
+ <%= message.incoming? ? 'You' : message.user.name %> +
+ <% if message.content %> + <%= message.content %> + <% end %> + <% if message.attachments %> + <% message.attachments.each do |attachment| %> + attachment [click here to view] <% end %> - <% if message.attachments %> - <% message.attachments.each do |attachment| %> - attachment [click here to view] - <% end %> - <% end %> -
+ <% end %> + + +<% end %>