Chore: Fix broken conversation mailer layout (#825)

This commit is contained in:
Pranav Raj S 2020-05-06 12:40:41 +05:30 committed by GitHub
parent e9131ea558
commit b50aeb7ae4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,14 @@
<p>You have new messages on your conversation.</p> <p>You have new messages on your conversation.</p>
<table>
<% @messages.each do |message| %> <% @messages.each do |message| %>
<tr> <tr>
<td> <td>
<b><%= message.incoming? ? 'You' : message.user.name %></b> <b><%= message.incoming? ? 'You' : message.user.name %></b>
</td> </td>
<td>: </tr>
<tr>
<td style="padding-bottom: 16px;">
<% if message.content %> <% if message.content %>
<%= message.content %> <%= message.content %>
<% end %> <% end %>
@ -20,4 +21,3 @@
</td> </td>
</tr> </tr>
<% end %> <% end %>
</table>