diff --git a/templates/emails/activation_email.html b/templates/emails/activation_email.html index 4cc2169..8011a9b 100644 --- a/templates/emails/activation_email.html +++ b/templates/emails/activation_email.html @@ -1,10 +1,35 @@ - - - - - $Title$ - - -$END$ - - +{% extends 'emails/email_base.html' %} +{% block title %} + Активация учетной записи +{% endblock title %} +{% block email_body %} + + + + +
+

Здравствуйте!

+

Спасибо за регистрацию на сайте {{ request.get_host }}

+

Для того чтобы войти в свой аккуант его нужно активировать.\n +Чтобы активировать ваш аккаунт, перейдите по ссылке:

+ + + + + + +
+ + + + + + +
Активация
+
+

This is a really simple email template. Its sole purpose is to get the + recipient to click the button with no distractions.

+

С уважением, Администрация сайта {{ request.get_host }}

+
+ +{% endblock email_body %} diff --git a/templates/emails/email_base.html b/templates/emails/email_base.html index 4cc2169..9a81fe6 100644 --- a/templates/emails/email_base.html +++ b/templates/emails/email_base.html @@ -1,10 +1,396 @@ - - + + - $Title$ + {{ title }} + + + + {% block email_head %} + {% endblock email_head %} - -$END$ + + + + + + + +
  +
+ + + This is preheader text. Some clients will show this text as a preview. + + + + + + + + +
+ {% block email_body %} + {% endblock email_body %} +
+ + + + + + +
+
 
+{% block email_extra_js %} +{% endblock email_extra_js %} diff --git a/templates/emails/password_reset_email.html b/templates/emails/password_reset_email.html index 21f5da2..1831644 100644 --- a/templates/emails/password_reset_email.html +++ b/templates/emails/password_reset_email.html @@ -1 +1,35 @@ -{% extends 'base.html' %} +{% extends 'emails/email_base.html' %} +{% block title %} + Сброс пароля +{% endblock title %} +{% block email_body %} + + + + +
+

Hi there,

+

Sometimes you just want to send a simple HTML email with a simple design + and clear call to action. This is it.

+ + + + + + +
+ + + + + + +
Call + To Action
+
+

This is a really simple email template. Its sole purpose is to get the + recipient to click the button with no distractions.

+

Good luck! Hope it works.

+
+ +{% endblock email_body %}