Templates
This commit is contained in:
parent
5f5edb4935
commit
5c39b91157
4 changed files with 45 additions and 0 deletions
16
authens/templates/authens/pwd_reset.html
Normal file
16
authens/templates/authens/pwd_reset.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% extends "authens/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block container-title %}
|
||||
{% trans "Réinitialisation du mot de passe" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% for error in form.non_field_errors %}
|
||||
<p class="error">{{ error }}</p>
|
||||
{% endfor %}
|
||||
|
||||
<div class=" auth_form exte">
|
||||
{% include "authens/form_full_snippet.html" with submit_text="Valider" %}
|
||||
</div>
|
||||
{% endblock %}
|
16
authens/templates/authens/pwd_reset_confirm.html
Normal file
16
authens/templates/authens/pwd_reset_confirm.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% extends "authens/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block container-title %}
|
||||
{% trans "Nouveau mot de passe" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% for error in form.non_field_errors %}
|
||||
<p class="error">{{ error }}</p>
|
||||
{% endfor %}
|
||||
|
||||
<div class=" auth_form exte">
|
||||
{% include "authens/form_full_snippet.html" with submit_text="Valider" %}
|
||||
</div>
|
||||
{% endblock %}
|
12
authens/templates/authens/pwd_reset_email.txt
Normal file
12
authens/templates/authens/pwd_reset_email.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% load i18n %}{% autoescape off %}
|
||||
{% blocktrans %}Quelqu'un (probablement vous) a demandé la réinitialisation du mot de passe associé à cette addresse sur {{ site_name }}.{% endblocktrans %}
|
||||
|
||||
{% blocktrans %}S'il s'agit bien de vous, vous pouvez vous rendre à l'adresse suivante pour en choisir un nouveau : {% endblocktrans %}
|
||||
{% block reset_link %}
|
||||
{{ protocol }}://{{ domain }}{% url "authens:reset.pwd.confirm" uidb64=uid token=token %}
|
||||
{% endblock %}
|
||||
{% blocktrans with username=user.get_username %}Au cas où, votre nom d'utilisateur est le suivant : {{ username }}{% endblocktrans %}
|
||||
|
||||
{% block signature %}{% blocktrans %}L'équipe {{site_name}}{% endblocktrans %}{% endblock %}
|
||||
|
||||
{% endautoescape %}
|
1
authens/templates/authens/pwd_reset_subject.txt
Normal file
1
authens/templates/authens/pwd_reset_subject.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Réinitialisation de votre mot de passe {{site_name}}
|
Loading…
Add table
Reference in a new issue