+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n %}
-
-{% block content %}
-
-<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
-
-<p><a href="../">{% trans 'Log in again' %}</a></p>
-
-{% endblock %}
+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n %}
-{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %}{% trans 'Change password' %} / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}
-
-{% block title %}<br />{% trans 'Password change successful' %}{% endblock %}
-
-{% block content %}
-
-<p>{% trans 'Your password was changed.' %}</p>
-
-{% endblock %}
+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n adminmedia %}
-{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}
-{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}
-
-{% block title %}<br />{% trans 'Password change' %}{% endblock %}
-
-{% block content %}<div id="content-main">
-
-<form id="password_change" action="" method="post">{% csrf_token %}
-<div>
-{% if form.errors %}
- <p class="errornote">
- {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
- </p>
-{% endif %}
-
-<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
-
-<fieldset class="aligned wide">
-
-<div class="form-row">
- {{ form.old_password.errors }}
- <label for="id_old_password" class="required">{% trans 'Old password' %}:</label>{{ form.old_password }}
-</div>
-
-<div class="form-row">
- {{ form.new_password1.errors }}
- <label for="id_new_password1" class="required">{% trans 'New password' %}:</label>{{ form.new_password1 }}
-</div>
-
-<div class="form-row">
-{{ form.new_password2.errors }}
- <label for="id_new_password2" class="required">{% trans 'Password (again)' %}:</label>{{ form.new_password2 }}
-</div>
-
-</fieldset>
-
-<br />
-<div class="submit-row">
- <a href="#" class="component_icon button icon_save"
- onclick="document.getElementById('password_change').submit(); return false;">{% trans 'Change my password' %}</a>
-</div>
-
-<script type="text/javascript">document.getElementById("id_old_password").focus();</script>
-</div>
-</form></div>
-
-{% endblock %}
+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n %}
-
-{% block title %}<br />{% trans 'Password reset complete' %}{% endblock %}
-
-{% block content %}
-<p>{% trans "Your password has been set. You may go ahead and log in now." %}</p>
-
-<br />
-<p><a href="{{ login_url }}" class="component_icon button icon_login">{% trans "Log in" %}</a></p>
-{% endblock %}
+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n %}
-
-{% block title %}<br />{% trans 'Password reset' %}{% endblock %}
-
-{% block content %}
-{% if validlink %}
-<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
-
-<br />
-
-<form id="password_confirm" action="" method="post">{% csrf_token %}
-<table><tr>
-<td>{{ form.new_password1.errors }}<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label></td><td>{{ form.new_password1 }}</p></td></tr>
-<tr><td>{{ form.new_password2.errors }}
-<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label></td><td>{{ form.new_password2 }}</p></td>
-</tr></table>
-
-<br /><br />
-<p><a href="#" class="component_icon button icon_save" onclick="document.getElementById('password_confirm').submit(); return false;">{% trans 'Change my password' %}</a></p>
-</form>
-
-{% else %}
-<h1>{% trans 'Password reset unsuccessful' %}</h1>
-<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
-
-{% endif %}
-{% endblock %}
+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n %}
-
-{% block title %}<br />{% trans "Password reset successful" %}{% endblock %}
-
-{% block content %}
-
-<p>Nous vous avons envoyé un mail contenant les instructions pour mettre à jour votre mot de passe. Vous devriez le recevoir sous peu.</p>
-{% endblock %}
+++ /dev/null
-{% load teleforma_tags %}{% load i18n %}{% autoescape off %}{% trans "Hello" %},
-
-{% trans "You're receiving this e-mail because you requested a password reset" %}
-{% blocktrans %}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 }}{% url 'teleforma-password-reset-confirm' uidb64=uid token=token %}
-{% endblock %}
-{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
-
-{% trans "Best regards" %},
-{% trans "The site administrator" %} {% trans "of the" %} {% organization %}
-
-{% endautoescape %}
+++ /dev/null
-{% extends "teleforma/base.html" %}
-{% load i18n %}
-
-{% block title %}<br />{% trans "Password reset" %}{% endblock %}
-
-{% block content %}
-<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p>
-
-<form id="password_reset" action="" method="post">{% csrf_token %}
-{{ form.email.errors }}
-<p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <a href="#" class="component_icon button icon_ok" onclick="document.getElementById('password_reset').submit(); return false;">{% trans 'Reset my password' %}</a></p>
-</form>
-{% endblock %}
--- /dev/null
+{% extends "teleforma/base.html" %}
+{% load i18n %}
+{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %}{% trans 'Change password' %} / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}
+
+{% block title %}<br />{% trans 'Password change successful' %}{% endblock %}
+
+{% block content %}
+
+<p>{% trans 'Your password was changed.' %}</p>
+
+{% endblock %}
--- /dev/null
+{% extends "teleforma/base.html" %}
+{% load i18n adminmedia %}
+{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}
+{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}
+
+{% block title %}<br />{% trans 'Password change' %}{% endblock %}
+
+{% block content %}<div id="content-main">
+
+<form id="password_change" action="" method="post">{% csrf_token %}
+<div>
+{% if form.errors %}
+ <p class="errornote">
+ {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
+ </p>
+{% endif %}
+
+<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
+
+<fieldset class="aligned wide">
+
+<div class="form-row">
+ {{ form.old_password.errors }}
+ <label for="id_old_password" class="required">{% trans 'Old password' %}:</label>{{ form.old_password }}
+</div>
+
+<div class="form-row">
+ {{ form.new_password1.errors }}
+ <label for="id_new_password1" class="required">{% trans 'New password' %}:</label>{{ form.new_password1 }}
+</div>
+
+<div class="form-row">
+{{ form.new_password2.errors }}
+ <label for="id_new_password2" class="required">{% trans 'Password (again)' %}:</label>{{ form.new_password2 }}
+</div>
+
+</fieldset>
+
+<br />
+<div class="submit-row">
+ <a href="#" class="component_icon button icon_save"
+ onclick="document.getElementById('password_change').submit(); return false;">{% trans 'Change my password' %}</a>
+</div>
+
+<script type="text/javascript">document.getElementById("id_old_password").focus();</script>
+</div>
+</form></div>
+
+{% endblock %}
--- /dev/null
+{% extends "teleforma/base.html" %}
+{% load i18n %}
+
+{% block title %}<br />{% trans 'Password reset complete' %}{% endblock %}
+
+{% block content %}
+<p>{% trans "Your password has been set. You may go ahead and log in now." %}</p>
+
+<br />
+<p><a href="{{ login_url }}" class="component_icon button icon_login">{% trans "Log in" %}</a></p>
+{% endblock %}
--- /dev/null
+{% extends "teleforma/base.html" %}
+{% load i18n %}
+
+{% block title %}<br />{% trans 'Password reset' %}{% endblock %}
+
+{% block content %}
+{% if validlink %}
+<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
+
+<br />
+
+<form id="password_confirm" action="" method="post">{% csrf_token %}
+<table><tr>
+<td>{{ form.new_password1.errors }}<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label></td><td>{{ form.new_password1 }}</p></td></tr>
+<tr><td>{{ form.new_password2.errors }}
+<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label></td><td>{{ form.new_password2 }}</p></td>
+</tr></table>
+
+<br /><br />
+<p><a href="#" class="component_icon button icon_save" onclick="document.getElementById('password_confirm').submit(); return false;">{% trans 'Change my password' %}</a></p>
+</form>
+
+{% else %}
+<h1>{% trans 'Password reset unsuccessful' %}</h1>
+<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
+
+{% endif %}
+{% endblock %}
--- /dev/null
+{% extends "teleforma/base.html" %}
+{% load i18n %}
+
+{% block title %}<br />{% trans "Password reset successful" %}{% endblock %}
+
+{% block content %}
+
+<p>Nous vous avons envoyé un mail contenant les instructions pour mettre à jour votre mot de passe. Vous devriez le recevoir sous peu.</p>
+{% endblock %}
--- /dev/null
+{% load teleforma_tags %}{% load i18n %}{% autoescape off %}{% trans "Hello" %},
+
+{% trans "You're receiving this e-mail because you requested a password reset" %}
+{% blocktrans %}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 }}{% url 'teleforma-password-reset-confirm' uidb64=uid token=token %}
+{% endblock %}
+{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
+
+{% trans "Best regards" %},
+{% trans "The site administrator" %} {% trans "of the" %} {% organization %}
+
+{% endautoescape %}
--- /dev/null
+{% extends "teleforma/base.html" %}
+{% load i18n %}
+
+{% block title %}<br />{% trans "Password reset" %}{% endblock %}
+
+{% block content %}
+<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p>
+
+<form id="password_reset" action="" method="post">{% csrf_token %}
+{{ form.email.errors }}
+<p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <a href="#" class="component_icon button icon_ok" onclick="document.getElementById('password_reset').submit(); return false;">{% trans 'Reset my password' %}</a></p>
+</form>
+{% endblock %}
# Registration
# Registration
- url(r'^accounts/password_change/$', PasswordChangeView.as_view(template_name='registration/password_change_form.html'),
+ url(r'^accounts/password_change/$', PasswordChangeView.as_view(template_name='teleforma_registration/password_change_form.html'),
name="teleforma-password-change"),
url(r'^accounts/password_change_done/$', PasswordChangeDoneView.as_view(
- template_name='registration/password_change_done.html'), name="password_change_done"),
+ template_name='teleforma_registration/password_change_done.html'), name="password_change_done"),
- url(r'^accounts/password_reset/$', PasswordResetView.as_view(template_name='registration/password_reset_form.html',
- email_template_name='registration/password_reset_email.html'), name="teleforma-password-reset"),
+ url(r'^accounts/password_reset/$', PasswordResetView.as_view(template_name='teleforma_registration/password_reset_form.html',
+ email_template_name='teleforma_registration/password_reset_email.html'), name="teleforma-password-reset"),
url(r'^accounts/password_reset_done/$', PasswordResetDoneView.as_view(
- template_name='registration/password_reset_done.html'), name="password_reset_done"),
+ template_name='teleforma_registration/password_reset_done.html'), name="password_reset_done"),
path('accounts/password_reset_confirm/<uidb64>/<token>/', PasswordResetConfirmView.as_view(
- template_name='registration/password_reset_confirm.html'), name="teleforma-password-reset-confirm"),
- url(r'^accounts/password_reset_complete/$', PasswordResetCompleteView.as_view(template_name='registration/password_reset_complete.html'),
+ template_name='teleforma_registration/password_reset_confirm.html'), name="teleforma-password-reset-confirm"),
+ url(r'^accounts/password_reset_complete/$', PasswordResetCompleteView.as_view(template_name='teleforma_registration/password_reset_complete.html'),
name="password_reset_complete"),
# url(r'^captcha/', include('captcha.urls')),