add emails
This commit is contained in:
25
lib/lokal_web/templates/email/confirm_email.html.eex
Normal file
25
lib/lokal_web/templates/email/confirm_email.html.eex
Normal file
@ -0,0 +1,25 @@
|
||||
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center;">
|
||||
<span style="margin-bottom: 0.75em; font-size: 1.5em;">
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
</span>
|
||||
|
||||
<br/>
|
||||
|
||||
<span style="margin-bottom: 1em; font-size: 1.25em;">
|
||||
<%= dgettext("emails", "Welcome to %{name}!", name: "Lokal") %>
|
||||
</span>
|
||||
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails", "You can confirm your account by visiting the URL below:") %>
|
||||
|
||||
<br/>
|
||||
|
||||
<a style="margin: 1em; color: rgb(31, 31, 31);" href="<%= @url %>"><%= @url %></a>
|
||||
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't create an account at %{name}, please ignore this.",
|
||||
name: "Lokal") %>
|
||||
</div>
|
12
lib/lokal_web/templates/email/confirm_email.txt.eex
Normal file
12
lib/lokal_web/templates/email/confirm_email.txt.eex
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
|
||||
<%= dgettext("emails", "Welcome to %{name}%!", name: "Lokal") %>
|
||||
|
||||
<%= dgettext("emails", "You can confirm your account by visiting the URL below:") %>
|
||||
|
||||
<%= @url %>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't create an account at %{url}, please ignore this.",
|
||||
url: Routes.live_url(Endpoint, PageLive)) %>
|
19
lib/lokal_web/templates/email/reset_password.html.eex
Normal file
19
lib/lokal_web/templates/email/reset_password.html.eex
Normal file
@ -0,0 +1,19 @@
|
||||
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center;">
|
||||
<span style="margin-bottom: 0.5em; font-size: 1.5em;">
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
</span>
|
||||
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails", "You can reset your password by visiting the URL below:") %>
|
||||
|
||||
<br/>
|
||||
|
||||
<a style="margin: 1em; color: rgb(31, 31, 31);" href="<%= @url %>"><%= @url %></a>
|
||||
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't request this change from %{name}, please ignore this.",
|
||||
name: "Lokal") %>
|
||||
</div>
|
10
lib/lokal_web/templates/email/reset_password.txt.eex
Normal file
10
lib/lokal_web/templates/email/reset_password.txt.eex
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
|
||||
<%= dgettext("emails", "You can reset your password by visiting the URL below:") %>
|
||||
|
||||
<%= @url %>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't request this change from %{url}, please ignore this.",
|
||||
url: Routes.live_url(Endpoint, PageLive)) %>
|
19
lib/lokal_web/templates/email/update_email.html.eex
Normal file
19
lib/lokal_web/templates/email/update_email.html.eex
Normal file
@ -0,0 +1,19 @@
|
||||
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center;">
|
||||
<span style="margin-bottom: 0.5em; font-size: 1.5em;">
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
</span>
|
||||
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails", "You can change your email by visiting the URL below:") %>
|
||||
|
||||
<br/>
|
||||
|
||||
<a style="margin: 1em; color: rgb(31, 31, 31);" href="<%= @url %>"><%= @url %></a>
|
||||
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't request this change from %{name}, please ignore this.",
|
||||
name: "Lokal") %>
|
||||
</div>
|
10
lib/lokal_web/templates/email/update_email.txt.eex
Normal file
10
lib/lokal_web/templates/email/update_email.txt.eex
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
|
||||
<%= dgettext("emails", "You can change your email by visiting the URL below:") %>
|
||||
|
||||
<%= @url %>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't request this change from %{url}, please ignore this.",
|
||||
url: Routes.live_url(Endpoint, PageLive)) %>
|
Reference in New Issue
Block a user