-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update issue with password reset email
- Loading branch information
Showing
3 changed files
with
32 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{% extends 'common/email/base.html' %} | ||
{% load settings_value %} | ||
{% load i18n %} | ||
|
||
{% block title %}Recuperar contraseña{% endblock %} | ||
|
||
{% block maintitle %}Recuperar contraseña{% endblock %} | ||
|
||
{% block content %} | ||
|
||
{% autoescape off %} | ||
{% blocktranslate %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktranslate %} | ||
|
||
{% translate "Please go to the following page and choose a new password:" %} | ||
|
||
{% translate 'Your username, in case you’ve forgotten:' %} {{ user.get_username }} | ||
|
||
{% translate "Thanks for using our site!" %} | ||
{% endautoescape %} | ||
|
||
{% endblock%} | ||
|
||
{% block call_button %} | ||
|
||
{% url 'auth:password_reset_confirm' uidb64=uid token=token as link %} | ||
{% translate "Restaurar contraseña" as link_text %} | ||
{% include 'common/email/button.html' with link_text=link_text link_href=link %} | ||
|
||
{% endblock call_button %} |