Files
astuto/app/views/user_mailer/notify_post_owner.html.erb
Riccardo Graziosi 98daafc244 Improve emails (#305)
2024-03-09 17:26:24 +01:00

15 lines
466 B
Plaintext

<%= render 'user_mailer/opening', user_name: @user.full_name %>
<p>
<%= t('mailers.user.notify_post_owner.body_html', user: @comment.user.full_name, post: @comment.post.title) %>:
</p>
<%= render 'user_mailer/quoted_text', text: @comment.body %>
<p>
<%= link_to t('mailers.user.learn_more'), add_subdomain_to(method(:post_url), @comment.post) %>
</p>
<%= render 'user_mailer/closing' %>
<%= render 'user_mailer/unsubscribe_from_post', post: @comment.post %>