From 62f3bb44dc79c97371493cb1b84fd6d1f3409b62 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 17 Oct 2023 16:50:17 +0300 Subject: [PATCH] fix up email templates --- files/templates/email/default.html | 21 ++--- files/templates/email/email_change.html | 106 ++++++++++++---------- files/templates/email/email_verify.html | 100 ++++++++++---------- files/templates/email/password_reset.html | 103 ++++++++++++--------- 4 files changed, 181 insertions(+), 149 deletions(-) diff --git a/files/templates/email/default.html b/files/templates/email/default.html index 32aa91ca3..fb32a6471 100644 --- a/files/templates/email/default.html +++ b/files/templates/email/default.html @@ -19,7 +19,7 @@ -webkit-text-size-adjust: none; } a { - color: #FF459A!important; + color: #FF459A !important; } a img { border: none; @@ -30,7 +30,6 @@ .preheader { display: none !important; visibility: hidden; - mso-hide: all; font-size: 1px; line-height: 1px; max-height: 0; @@ -378,21 +377,19 @@ - +
- + diff --git a/files/templates/email/email_change.html b/files/templates/email/email_change.html index 9a295a7ca..b1e3c8de2 100644 --- a/files/templates/email/email_change.html +++ b/files/templates/email/email_change.html @@ -5,50 +5,64 @@ {% block preheader %}Verify your new {{SITE_NAME}} email.{% endblock %} {% block content %} -

You told us you wanted to change your {{SITE_NAME}} account email. To finish this process, please verify your new email address:

-
- - - - -
-
-
- Verify email -
- - - -

For reference, here's your current information:

-
- - - - - - - -
-
-
- - Email: {{v.email}} - -
- - Username: {{v.username}} - -
- - - -

Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.

-
- - - -
-

If you're having trouble with the button above, copy and paste the URL below into your web browser.

-

{{action_url}}

-
+

You told us you wanted to change your {{SITE_NAME}} account email. To finish this process, please verify your new email address:

+
+ + + + +
+
+ + + + +
+ Verify email +
+
+
+
+ +

For reference, here's your current information:

+ +
+ + + + +
+
+ + + + + + + +
+ + Email: {{v.email}} + +
+ + Username: {{v.username}} + +
+
+
+
+ +

Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.

+ +
+ + + + +
+

If you're having trouble with the button above, copy and paste the URL below into your web browser.

+

{{action_url}}

+
+
{% endblock %} diff --git a/files/templates/email/email_verify.html b/files/templates/email/email_verify.html index a642a5464..35a63fa71 100644 --- a/files/templates/email/email_verify.html +++ b/files/templates/email/email_verify.html @@ -3,50 +3,58 @@ {% block title %}Welcome to {{SITE_NAME}}!{% endblock %} {% block content %} -

Thanks for joining {{SITE_NAME}}. We're happy to have you on board. To get the most out of {{SITE_NAME}}, please verify your account email:

-
- - - - -
-
-
- Verify email -
- - - -

For reference, here's your username.

-
- - - - - - - -
-
-
- - Email: {{v.email}} - -
- - Username: {{v.username}} - -
- - - -

Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.

-
- - - -
-

If you're having trouble with the button above, copy and paste the URL below into your web browser.

-

{{action_url}}

-
+

Thanks for joining {{SITE_NAME}}. We're happy to have you on board. To get the most out of {{SITE_NAME}}, please verify your account email:

+
+ + + + +
+
+ + + + +
+ Verify email +
+
+
+

For reference, here's your username.

+
+ + + + + + + +
+
+
+ + Email: {{v.email}} + +
+ + Username: {{v.username}} + +
+ + + +
+ +

Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.

+ +
+ + + + +
+

If you're having trouble with the button above, copy and paste the URL below into your web browser.

+

{{action_url}}

+
+
{% endblock %} diff --git a/files/templates/email/password_reset.html b/files/templates/email/password_reset.html index 7d1936f17..e880ef09b 100644 --- a/files/templates/email/password_reset.html +++ b/files/templates/email/password_reset.html @@ -4,49 +4,62 @@ {% block preheader %}Reset your {{SITE_NAME}} password.{% endblock %} {% block content %} -

To reset your password, click the button below:

-
- - - - -
-
-
- Reset password -
- - - -

For reference, here's your login information:

-
- - - - - - - -
-
-
- - Email: {{v.email}} - -
- - Username: {{v.username}} - -
- - - -
- - - -
-

If you're having trouble with the button above, copy and paste the URL below into your web browser.

-

{{action_url}}

-
+

To reset your password, click the button below:

+
+ + + + +
+
+ + + + +
+ Reset password +
+
+
+
+ +

For reference, here's your login information:

+ +
+ + + + +
+
+ + + + + + + +
+ + Email: {{v.email}} + +
+ + Username: {{v.username}} + +
+
+
+
+ +
+ + + + +
+

If you're having trouble with the button above, copy and paste the URL below into your web browser.

+

{{action_url}}

+
+
{% endblock %}