From 41b9705563d8df15871dd3c2b824d0740a23606f Mon Sep 17 00:00:00 2001 From: taitus Date: Tue, 10 May 2022 15:34:50 +0200 Subject: [PATCH] Unify unsubscribe section styles with others emails --- .../direct_message_for_receiver.html.erb | 20 ++++++------------- .../proposal_notification_digest.html.erb | 20 ++++++------------- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/app/views/mailer/direct_message_for_receiver.html.erb b/app/views/mailer/direct_message_for_receiver.html.erb index ae9637d3e..c24b071e6 100644 --- a/app/views/mailer/direct_message_for_receiver.html.erb +++ b/app/views/mailer/direct_message_for_receiver.html.erb @@ -21,18 +21,10 @@ - - - - - - -
-

- <%= 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;"))) %> -

-
+

+ <%= 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;"))) %> +

diff --git a/app/views/mailer/proposal_notification_digest.html.erb b/app/views/mailer/proposal_notification_digest.html.erb index 95975ede9..35654e1eb 100644 --- a/app/views/mailer/proposal_notification_digest.html.erb +++ b/app/views/mailer/proposal_notification_digest.html.erb @@ -59,18 +59,10 @@ <% end %> - - - - - - -
-

- <%= 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;"))) %> -

-
+

+ <%= 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;"))) %> +