We modified the link that previously redirected us to the "My content" page to redirect us to the new page for managing subscriptions. We also adapted the existing generic text by adding a description of the related notification.
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
<td style="padding-bottom: 20px; padding-left: 10px;">
|
|
|
|
<h1 style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;">
|
|
<%= t("mailers.comment.title") %>
|
|
</h1>
|
|
|
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
|
<%= t("mailers.comment.hi") %> <strong><%= @commentable.author.name %></strong>,
|
|
</p>
|
|
|
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
|
<%= sanitize(t("mailers.comment.new_comment_by", commenter: @comment.author.name)) %>
|
|
<%= link_to @commentable.title, commentable_url(@commentable), style: "color: #2895F1; text-decoration:none;" %>
|
|
</p>
|
|
|
|
<p style="border-left: 2px solid #DEE0E3;font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-style: italic;font-weight: normal;line-height: 24px;margin-left: 20px;padding: 10px;">
|
|
<%= sanitize_and_auto_link @comment.body %>
|
|
</p>
|
|
|
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 20px;">
|
|
<%= sanitize(t("mailers.config.unsubscribe_text",
|
|
notifications: link_to(
|
|
t("mailers.config.notifications_link"),
|
|
edit_subscriptions_url(token: @token),
|
|
style: "color: #2895F1; text-decoration: none;"
|
|
),
|
|
notification: User.human_attribute_name(:email_on_comment)
|
|
)) %>
|
|
</p>
|
|
</td>
|