From cf69c8b375de419421fb83ef6a26e04e438c6689 Mon Sep 17 00:00:00 2001 From: Thomas Citharel <tcit@tcit.fr> Date: Tue, 9 Nov 2021 12:59:37 +0100 Subject: [PATCH] Break line after notification settings in emails Closes #913 Signed-off-by: Thomas Citharel <tcit@tcit.fr> --- lib/web/templates/email/email.html.heex | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/web/templates/email/email.html.heex b/lib/web/templates/email/email.html.heex index 6f4802614..789baa6f5 100644 --- a/lib/web/templates/email/email.html.heex +++ b/lib/web/templates/email/email.html.heex @@ -141,12 +141,14 @@ <!-- ADDRESS --> <tr> <td bgcolor="#ECEBF2" align="center" style="padding: 30px 30px 30px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 18px;" > - <p style="margin: 0;"> - <%= if @offer_unsupscription do %> + <%= if @offer_unsupscription do %> + <p> <a href={"#{Mobilizon.Web.Endpoint.url()}/settings/notifications"}> <%= gettext("Manage your notification settings") %> </a> - <% end %> + </p> + <% end %> + <p style="margin: 0;"> <%= gettext("<b>%{instance}</b> is powered by Mobilizon.", instance: @instance_name) |> raw %><br /> <a href="https://joinmobilizon.org"><%= gettext "Learn more about Mobilizon here!" %></a> </p>