diff --git a/templates/emails/contact_email_notification.html b/templates/emails/contact_email_notification.html deleted file mode 100644 index 13a7f19..0000000 --- a/templates/emails/contact_email_notification.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends 'email_base.html' %} -{% block email_body %} -{% endblock email_body %} diff --git a/templates/emails/activation_email.html b/templates/emails/html/activation_email.html similarity index 100% rename from templates/emails/activation_email.html rename to templates/emails/html/activation_email.html diff --git a/templates/emails/html/contact_email_notification.html b/templates/emails/html/contact_email_notification.html new file mode 100644 index 0000000..44fe376 --- /dev/null +++ b/templates/emails/html/contact_email_notification.html @@ -0,0 +1,18 @@ +{% extends 'email_base.html' %} +{% block pre_header %} + Запрос на обратную связь от пользователя +{% endblock pre_header %} +{% block email_body %} +
+ Пользователь {{ name }} отправил вам запрос по продукту {{ subject }}. +
++ Чтобы связаяться для уточнения информации. + Используйте следующий почтовый ящик {{ email }} для ответа . +
+ {% if phone %} ++ Либо используйте мобильный номер телефона {{ phone }} +
+ {% endif %} +{% endblock email_body %} diff --git a/templates/emails/password_reset_email.html b/templates/emails/html/password_reset_email.html similarity index 100% rename from templates/emails/password_reset_email.html rename to templates/emails/html/password_reset_email.html diff --git a/templates/emails/txt/contact_email_notification.txt b/templates/emails/txt/contact_email_notification.txt new file mode 100644 index 0000000..50447c6 --- /dev/null +++ b/templates/emails/txt/contact_email_notification.txt @@ -0,0 +1,17 @@ +===================================================================== + Запрос на обратную связь от пользователя +===================================================================== + +---------------------------------------------------------------------- +Пользователь {{ name }} отправил вам запрос по продукту {{ subject }}. + +Чтобы связаяться для уточнения информации. + +Используйте следующий почтовый ящик {{ email }} для ответа. + +{% if phone %} + Либо используйте мобильный номер телефона {{ phone }} . +{% endif %} + +---------------------------------------------------------------------- +