🎉 Add html emails.

This commit is contained in:
Andrey Antukh 2020-06-01 13:19:35 +02:00 committed by Alonso Torres
parent 721879aaa8
commit fbd6e395a4
27 changed files with 368 additions and 366 deletions

View file

@ -0,0 +1,19 @@
{% extends "emails/base.html" %}
{% block content %}
<p>Hello {{name}}!</p>
<p>We received a request to change your current email to {{ pending-email }}.</p>
<p>Click to the link below to confirm the change:</p>
<a class="btn-primary" href="{{ public-uri }}/#/auth/verify-token?token={{token}}">Confirm email change</a>
<p>If you received this email by mistake, please consider changing your password
for security reasons.</p>
<p>Enjoy!</p>
<p>The UXBOX team.</p>
{% endblock %}

View file

@ -0,0 +1 @@
Email change

View file

@ -1,19 +1,13 @@
-- begin :subject
Email change.
-- end
-- begin :body-text
Hello {{name}}!
We received a request to change your current email to {{ pendingEmail }}.
We received a request to change your current email to {{ pending-email }}.
Click to the link below to confirm the change:
{{ publicUri }}/#/auth/verify-token?token={{token}}
{{ public-uri }}/#/auth/verify-token?token={{token}}
If you received this email by mistake, please consider changing your password
for security reasons.
Enjoy!
The UXBOX team.
-- end