mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 16:09:19 +02:00
🎉 Add html emails.
This commit is contained in:
parent
721879aaa8
commit
fbd6e395a4
27 changed files with 368 additions and 366 deletions
19
backend/resources/emails/change-email/en.html
Normal file
19
backend/resources/emails/change-email/en.html
Normal 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 %}
|
1
backend/resources/emails/change-email/en.subj
Normal file
1
backend/resources/emails/change-email/en.subj
Normal file
|
@ -0,0 +1 @@
|
|||
Email change
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue