This commit is contained in:
parent
a94407a216
commit
7fe636a99e
@ -62,7 +62,7 @@ if config_env() == :prod do
|
|||||||
System.get_env("SECRET_KEY_BASE") ||
|
System.get_env("SECRET_KEY_BASE") ||
|
||||||
raise """
|
raise """
|
||||||
environment variable SECRET_KEY_BASE is missing.
|
environment variable SECRET_KEY_BASE is missing.
|
||||||
You can generate one by calling: mix phx.gen.secret
|
You can generate one by running: mix phx.gen.secret
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config :memex, MemexWeb.Endpoint, secret_key_base: secret_key_base
|
config :memex, MemexWeb.Endpoint, secret_key_base: secret_key_base
|
||||||
|
@ -4,15 +4,15 @@
|
|||||||
<%= @email.subject %>
|
<%= @email.subject %>
|
||||||
</title>
|
</title>
|
||||||
</head>
|
</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 %>
|
<%= @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(
|
<%= dgettext(
|
||||||
"emails",
|
"emails",
|
||||||
"This email was sent from Memex, the self-hosted firearm tracker website."
|
"This email was sent from memEx"
|
||||||
) %>
|
) %>
|
||||||
</a>
|
</a>
|
||||||
</body>
|
</body>
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
=====================
|
=====================
|
||||||
|
|
||||||
<%= dgettext("emails",
|
<%= 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)) %>
|
url: Routes.live_url(Endpoint, HomeLive)) %>
|
||||||
|
@ -52,16 +52,6 @@ msgstr ""
|
|||||||
msgid "Reset your Memex password"
|
msgid "Reset your Memex password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/templates/layout/email.txt.eex:9
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "This email was sent from Memex at %{url}, the self-hosted firearm tracker website."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/layout/email.html.heex:13
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "This email was sent from Memex, the self-hosted firearm tracker website."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex/accounts/email.ex:44
|
#: lib/memex/accounts/email.ex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Update your Memex email"
|
msgid "Update your Memex email"
|
||||||
@ -90,3 +80,13 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You can reset your password by visiting the URL below:"
|
msgid "You can reset your password by visiting the URL below:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/templates/layout/email.html.heex:13
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "This email was sent from memEx"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/templates/layout/email.txt.eex:9
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "This email was sent from memEx at %{url}"
|
||||||
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user