Unify unsubscribe section styles with others emails
This commit is contained in:
@@ -21,18 +21,10 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding-left: 10px;">
|
||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; margin: 0; font-style: italic; padding-bottom: 20px;">
|
||||
<%= sanitize(t("mailers.direct_message_for_receiver.unsubscribe_text",
|
||||
notifications: link_to(t("mailers.config.notifications_link"),
|
||||
edit_subscriptions_url(token: @token),
|
||||
style: "color: #2895F1; text-decoration: none;"))) %>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 20px;">
|
||||
<%= sanitize(t("mailers.direct_message_for_receiver.unsubscribe_text",
|
||||
notifications: link_to(t("mailers.config.notifications_link"),
|
||||
edit_subscriptions_url(token: @token),
|
||||
style: "color: #2895F1; text-decoration: none;"))) %>
|
||||
</p>
|
||||
</td>
|
||||
|
||||
@@ -59,18 +59,10 @@
|
||||
</table>
|
||||
<% end %>
|
||||
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding-left: 10px;">
|
||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; margin: 0; font-style: italic; padding-bottom: 20px;">
|
||||
<%= sanitize(t("mailers.proposal_notification_digest.unsubscribe_text",
|
||||
notifications: link_to(t("mailers.config.notifications_link"),
|
||||
edit_subscriptions_url(token: @token),
|
||||
style: "color: #2895F1; text-decoration: none;"))) %>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 20px;">
|
||||
<%= sanitize(t("mailers.proposal_notification_digest.unsubscribe_text",
|
||||
notifications: link_to(t("mailers.config.notifications_link"),
|
||||
edit_subscriptions_url(token: @token),
|
||||
style: "color: #2895F1; text-decoration: none;"))) %>
|
||||
</p>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user