-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-to-django-1-8
- Loading branch information
Showing
5 changed files
with
42 additions
and
21 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
18 changes: 12 additions & 6 deletions
18
user_management/api/templates/user_management/account_validation_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,12 +1,18 @@ | ||
{% spaceless %}{% load i18n %}{% autoescape off %}{% blocktrans with name=site.name %} | ||
{% load i18n %} | ||
<p> | ||
{% blocktrans with name=site.name %} | ||
You are receiving this email because your email address has been used to | ||
register an account at {{ name }}. | ||
|
||
{% endblocktrans %} | ||
</p> | ||
<p> | ||
{% blocktrans %} | ||
Please click the following link to complete your registration: | ||
{% endblocktrans %} | ||
{{ protocol }}://{{ site.domain }}/#/register/verify/{{ token }}/ | ||
|
||
</p> | ||
<p><a href="{{ protocol }}://{{ site.domain }}/#/register/verify/{{ token }}/">{{ protocol }}://{{ site.domain }}/#/register/verify/{{ token }}/</a></p> | ||
<p> | ||
{% blocktrans with name=site.name %} | ||
The {{ name }} team. | ||
{% endblocktrans %}{% endautoescape %} | ||
{% endspaceless %} | ||
{% endblocktrans %} | ||
</p> |
9 changes: 5 additions & 4 deletions
9
user_management/api/templates/user_management/account_validation_email.txt
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,13 @@ | ||
{% spaceless %}{% load i18n %}{% autoescape off %}{% blocktrans with name=site.name %} | ||
{% load i18n %}{% blocktrans with name=site.name %} | ||
You are receiving this email because your email address has been used to | ||
register an account at {{ name }}. | ||
|
||
{% endblocktrans %} | ||
{% blocktrans %} | ||
Please click the following link to complete your registration: | ||
{% endblocktrans %} | ||
|
||
{{ protocol }}://{{ site.domain }}/#/register/verify/{{ token }}/ | ||
|
||
{% blocktrans with name=site.name %} | ||
The {{ name }} team. | ||
{% endblocktrans %}{% endautoescape %} | ||
{% endspaceless %} | ||
{% endblocktrans %} |
20 changes: 14 additions & 6 deletions
20
user_management/api/templates/user_management/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,10 +1,18 @@ | ||
{% spaceless %}{% load i18n %}{% autoescape off %}{% blocktrans with name=site.name %} | ||
{% load i18n %} | ||
<p> | ||
{% blocktrans with name=site.name %} | ||
You are receiving this email because you requested a password reset | ||
for your user account at {{ name }}. | ||
|
||
Please go to the following page and choose a new password:{% endblocktrans %} | ||
{{ protocol }}://{{ site.domain }}{% url 'user_management_api:password_reset_confirm' uidb64=uid token=token %} | ||
{% endblocktrans %} | ||
</p> | ||
<p> | ||
{% blocktrans %} | ||
Please go to the following page and choose a new password: | ||
{% endblocktrans %} | ||
</p> | ||
<p><a href="{{ protocol }}://{{ site.domain }}{% url 'user_management_api:password_reset_confirm' uidb64=uid token=token %}">{{ protocol }}://{{ site.domain }}{% url 'user_management_api:password_reset_confirm' uidb64=uid token=token %}</a></p> | ||
<p> | ||
{% blocktrans with name=site.name %} | ||
The {{ name }} team. | ||
{% endblocktrans %}{% endautoescape %} | ||
{% endspaceless %} | ||
{% endblocktrans %} | ||
</p> |
13 changes: 9 additions & 4 deletions
13
user_management/api/templates/user_management/password_reset_email.txt
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,10 +1,15 @@ | ||
{% spaceless %}{% load i18n %}{% autoescape off %}{% blocktrans with name=site.name %} | ||
{% load i18n %} | ||
{% blocktrans with name=site.name %} | ||
You are receiving this email because you requested a password reset | ||
for your user account at {{ name }}. | ||
{% endblocktrans %} | ||
|
||
{% blocktrans %} | ||
Please go to the following page and choose a new password: | ||
{% endblocktrans %} | ||
|
||
Please go to the following page and choose a new password:{% endblocktrans %} | ||
{{ protocol }}://{{ site.domain }}{% url 'user_management_api:password_reset_confirm' uidb64=uid token=token %} | ||
|
||
{% blocktrans with name=site.name %} | ||
The {{ name }} team. | ||
{% endblocktrans %}{% endautoescape %} | ||
{% endspaceless %} | ||
{% endblocktrans %} |