-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey Zhavoronkov
committed
Nov 11, 2020
1 parent
a916e65
commit e309f2f
Showing
6 changed files
with
35 additions
and
14 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 |
---|---|---|
|
@@ -7,3 +7,4 @@ datumaro/ | |
keys/ | ||
logs/ | ||
static/ | ||
templates/ |
8 changes: 5 additions & 3 deletions
8
cvat/apps/authentication/templates/account/email/email_confirmation_signup_message.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,12 +1,14 @@ | ||
{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}{% blocktrans with | ||
site_name=current_site.name site_domain=current_site.domain %}Hello from {{ site_name }}! | ||
{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %} | ||
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %} | ||
Hello from {{ site_name }}! | ||
|
||
<p> | ||
You're receiving this e-mail because user <strong>{{ user_display }}</strong> has given yours as an e-mail address | ||
to connect their account. | ||
</p> | ||
|
||
<p>To confirm this is correct, go to <a href="{{ activate_url }}">{{ activate_url }}</a></p> | ||
{% endblocktrans %} {% blocktrans with site_name=current_site.name site_domain=current_site.domain %} | ||
{% endblocktrans %} | ||
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %} | ||
<strong>{{ site_domain }}</strong> | ||
{% endblocktrans %} {% endautoescape %} |
21 changes: 16 additions & 5 deletions
21
cvat/apps/authentication/templates/authentication/password_reset_email.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,5 +1,16 @@ | ||
{% load i18n %}{% autoescape off %} {% 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:" %} {% block reset_link %} {{ protocol }}://{{ domain }}/auth/password/reset/confirm?uid={{ uid }}&token={{ | ||
token }} {% endblock %} {% trans "Your username, in case you've forgotten:" %} {{ user.get_username }} {% trans "Thanks | ||
for using our site!" %} {% blocktrans %}The {{ site_name }} team{% endblocktrans %} {% endautoescape %} | ||
{% load i18n %}{% autoescape off %} | ||
{% 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:" %} | ||
{% block reset_link %} | ||
{{ protocol }}://{{ domain }}/auth/password/reset/confirm?uid={{ uid }}&token={{ token }} | ||
{% endblock %} | ||
{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }} | ||
|
||
{% trans "Thanks for using our site!" %} | ||
|
||
{% blocktrans %}The {{ site_name }} team{% endblocktrans %} | ||
|
||
{% endautoescape %} |
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
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
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