generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #565 from ita-social-projects/553-authorization-ch…
…ange-the-verification-email-body 553 authorization change the verification email body
- Loading branch information
Showing
2 changed files
with
21 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,18 @@ | ||
{% load i18n %} | ||
|
||
{% block subject %} | ||
{% blocktrans %}Account activation on {{ site_name }}{% endblocktrans %} | ||
{% blocktrans %}Активація облікового запису CraftMerge{% endblocktrans %} | ||
{% endblock subject %} | ||
|
||
{% block text_body %} | ||
{% blocktrans %}You're receiving this email because you need to finish activation process on {{ site_name }}.{% endblocktrans %} | ||
|
||
{% trans "Please go to the following page to activate account:" %} | ||
{{ protocol }}://{{ domain }}/{{ url|safe }} | ||
|
||
{% trans "Thanks for using our site!" %} | ||
|
||
{% blocktrans %}The {{ site_name }} team{% endblocktrans %} | ||
{% endblock text_body %} | ||
|
||
{% block html_body %} | ||
<img src="{{protocol}}://178.212.110.52/forum-logo.ico" alt="Forum project logo" /> | ||
<p>{% blocktrans %}You're receiving this email because you need to finish activation process on {{ site_name }}.{% endblocktrans %}</p> | ||
|
||
<p>{% trans "Please go to the following page to activate account:" %}</p> | ||
<p><a href="{{ protocol }}://{{ domain }}/{{ url|safe }}">{{ protocol }}://{{ domain }}/{{ url|safe }}</a></p> | ||
|
||
<p>{% trans "Thanks for using our site!" %}</p> | ||
|
||
<p>{% blocktrans %}The {{ site_name }} team{% endblocktrans %}</p> | ||
|
||
<style> p {color: black} </style> | ||
<img src="{{protocol}}://178.212.110.52/craftMerge-logo.png" alt="Forum project logo" /> | ||
<p>Доброго дня, {{user.surname}} {{user.name}}</p> | ||
<p>Ви надіслали запит на створення облікового запису на сайті CraftMerge. | ||
Щоб завершити процес активації, будь ласка, підтвердить свою адресу електронної пошти за наступним посиланням:</p> | ||
<a href="{{ protocol }}://{{ domain }}/{{ url|safe }}">{{ protocol }}://{{ domain }}/{{ url|safe }}</a> | ||
<p>Якщо ви не реєструвались на нашому сайті або отримали цей лист помилково, ігноруйте його.</p> | ||
<p>Дякуємо за використання нашого сайту!</p> | ||
<p>З повагою,<br/> | ||
Команда CraftMerge</p> | ||
{% endblock html_body %} |
29 changes: 10 additions & 19 deletions
29
authentication/templates/email/custom_password_reset.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,18 @@ | ||
{% load i18n %} | ||
|
||
{% block subject %} | ||
{% blocktrans %}Password reset on {{ site_name }}{% endblocktrans %} | ||
{% blocktrans %}Відновлення паролю до облікового запису CraftMerge{% endblocktrans %} | ||
{% endblock subject %} | ||
|
||
{% block text_body %} | ||
{% blocktrans %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %} | ||
|
||
{% trans "Please go to the following page and choose a new password:" %} | ||
{{ protocol }}://{{ domain }}/{{ url|safe }} | ||
{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }} | ||
|
||
{% trans "Thanks for using our site!" %} | ||
|
||
{% blocktrans %}The {{ site_name }} team{% endblocktrans %} | ||
{% endblock text_body %} | ||
|
||
{% block html_body %} | ||
<img src="{{protocol}}://178.212.110.52/forum-logo.ico" alt="Forum project logo" /> | ||
<p>{% blocktrans %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}</p> | ||
<p>{% trans "Please go to the following page and choose a new password:" %}</p> | ||
<head><style> p {color: black} </style></head> | ||
<img src="{{protocol}}://178.212.110.52/craftMerge-logo.png" alt="Forum project logo" /> | ||
<p>Доброго дня, {{user.surname}} {{user.name}}</p> | ||
<p>Ви надіслали запит на відновлення паролю до облікового запису на сайті CraftMerge. | ||
Щоб завершити процес відновлення паролю, будь ласка, перейдіть за наступним посиланням:</p> | ||
<a href="{{ protocol }}://{{ domain }}/{{ url|safe }}">{{ protocol }}://{{ domain }}/{{ url|safe }}</a> | ||
<p>{% trans "Your username, in case you've forgotten:" %} <b>{{ user.get_username }}</b></p> | ||
<p>{% trans "Thanks for using our site!" %}</p> | ||
<p>{% blocktrans %}The {{ site_name }} team{% endblocktrans %}</p> | ||
<p>Якщо ви не подавали запит на нашому сайті або отримали цей лист помилково, ігноруйте його.</p> | ||
<p>Дякуємо за використання нашого сайту!</p> | ||
<p>З повагою,<br/> | ||
Команда CraftMerge</p> | ||
{% endblock html_body %} |