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.
-- <%= 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 %> - | -