Unify unsubscribe section styles with others emails

This commit is contained in:
taitus
2022-05-10 15:34:50 +02:00
parent 7ff62532df
commit 41b9705563
2 changed files with 12 additions and 28 deletions

View File

@@ -21,18 +21,10 @@
</tbody> </tbody>
</table> </table>
<table style="width: 100%;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 20px;">
<tbody> <%= sanitize(t("mailers.direct_message_for_receiver.unsubscribe_text",
<tr> notifications: link_to(t("mailers.config.notifications_link"),
<td style="padding-left: 10px;"> edit_subscriptions_url(token: @token),
<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;"> style: "color: #2895F1; text-decoration: none;"))) %>
<%= sanitize(t("mailers.direct_message_for_receiver.unsubscribe_text", </p>
notifications: link_to(t("mailers.config.notifications_link"),
edit_subscriptions_url(token: @token),
style: "color: #2895F1; text-decoration: none;"))) %>
</p>
</td>
</tr>
</tbody>
</table>
</td> </td>

View File

@@ -59,18 +59,10 @@
</table> </table>
<% end %> <% end %>
<table style="width: 100%;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 20px;">
<tbody> <%= sanitize(t("mailers.proposal_notification_digest.unsubscribe_text",
<tr> notifications: link_to(t("mailers.config.notifications_link"),
<td style="padding-left: 10px;"> edit_subscriptions_url(token: @token),
<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;"> style: "color: #2895F1; text-decoration: none;"))) %>
<%= sanitize(t("mailers.proposal_notification_digest.unsubscribe_text", </p>
notifications: link_to(t("mailers.config.notifications_link"),
edit_subscriptions_url(token: @token),
style: "color: #2895F1; text-decoration: none;"))) %>
</p>
</td>
</tr>
</tbody>
</table>
</td> </td>