forked from shibao/cannery
style emails lol
This commit is contained in:
@ -1,12 +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>
|
||||
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails", "Welcome to %{name}!", name: "Cannery") %>
|
||||
<span style="margin-bottom: 1em; font-size: 1.25em;">
|
||||
<%= dgettext("emails", "Welcome to %{name}!", name: "Cannery") %>
|
||||
</span>
|
||||
|
||||
<%= dgettext("emails", "You can confirm your account by visiting the URL below:") %>
|
||||
<br/>
|
||||
|
||||
<%= @url %>
|
||||
<%= dgettext("emails", "You can confirm your account by visiting the URL below:") %>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't create an account at %{url}, please ignore this.",
|
||||
url: Routes.live_url(Endpoint, HomeLive)) %>
|
||||
<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: "Cannery") %>
|
||||
</div>
|
||||
|
@ -1,10 +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>
|
||||
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails", "You can reset your password by visiting the URL below:") %>
|
||||
<%= dgettext("emails", "You can reset your password by visiting the URL below:") %>
|
||||
|
||||
<%= @url %>
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't request this change from %{url}, please ignore this.",
|
||||
url: Routes.live_url(Endpoint, HomeLive)) %>
|
||||
<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: "Cannery") %>
|
||||
</div>
|
||||
|
@ -1,10 +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>
|
||||
|
||||
<%= dgettext("emails", "Hi %{email},", email: @user.email) %>
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails", "You can change your email by visiting the URL below:") %>
|
||||
<%= dgettext("emails", "You can change your email by visiting the URL below:") %>
|
||||
|
||||
<%= @url %>
|
||||
<br/>
|
||||
|
||||
<%= dgettext("emails",
|
||||
"If you didn't request this change from %{url}, please ignore this.",
|
||||
url: Routes.live_url(Endpoint, HomeLive)) %>
|
||||
<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: "Cannery") %>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user