restyle emails
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-27 12:59:16 -05:00
parent a94407a216
commit 7fe636a99e
4 changed files with 16 additions and 16 deletions

View File

@ -4,15 +4,15 @@
<%= @email.subject %>
</title>
</head>
<body style="padding: 2em; color: rgb(31, 31, 31); background-color: rgb(220, 220, 228); font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; text-align: center;">
<body style="padding: 2em; color: rgb(161, 161, 170); background-color: rgb(39, 39, 42); font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; text-align: center;">
<%= @inner_content %>
<hr style="margin: 2em auto; border-width: 1px; border-color: rgb(212, 212, 216); width: 100%; max-width: 42rem;" />
<hr style="margin: 2em auto; border-width: 1px; border-color: rgb(161, 161, 170); width: 100%; max-width: 42rem;" />
<a style="color: rgb(31, 31, 31);" href={Routes.live_url(Endpoint, HomeLive)}>
<a style="color: rgb(161, 161, 170);" href={Routes.live_url(Endpoint, HomeLive)}>
<%= dgettext(
"emails",
"This email was sent from Memex, the self-hosted firearm tracker website."
"This email was sent from memEx"
) %>
</a>
</body>

View File

@ -7,5 +7,5 @@
=====================
<%= dgettext("emails",
"This email was sent from Memex at %{url}, the self-hosted firearm tracker website.",
"This email was sent from memEx at %{url}",
url: Routes.live_url(Endpoint, HomeLive)) %>