In the mail section we have very different indentations and formatting in texts with sanitize, links and texts with interpolations. In my opinion it helps a lot to have clearer indentations in these cases. This may not be the best way to indent them, but at least I think it is clearer than it was and at least relatively unified.
19 lines
503 B
Plaintext
19 lines
503 B
Plaintext
<td style="<%= css_for_mailer_content %>">
|
|
|
|
<h1 style="<%= css_for_mailer_heading %>">
|
|
<%= t("mailers.direct_message_for_sender.title") %>
|
|
</h1>
|
|
|
|
<p style="<%= css_for_mailer_text %>">
|
|
<%= sanitize(t("mailers.direct_message_for_sender.text", receiver: @direct_message.receiver.name)) %>
|
|
</p>
|
|
|
|
<p style="<%= css_for_mailer_text %>">
|
|
<%= @direct_message.title %>
|
|
</p>
|
|
|
|
<div style="<%= css_for_mailer_text %>">
|
|
<%= mailer_simple_format(@direct_message.body) %>
|
|
</div>
|
|
</td>
|