# HG changeset patch # User anoop # Date 1268054851 -19800 # Node ID 85165597c5928e73940f71258d132fcfb526963e # Parent f34052de27f5e4a1ccf677f5360d574758a9ad68 added templates, so as to use pytask interface rather than django default interface. diff -r f34052de27f5 -r 85165597c592 templates/registration/password_change_done.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_change_done.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% load i18n %} +{% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}{% trans 'Documentation' %} / {% endif %}{% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} +{% block breadcrumbs %}
{% endblock %} + +{% block title %}{% trans 'Password change successful' %}{% endblock %} + +{% block content %} + +{% trans 'Your password was changed.' %}
+ +{% endblock %} diff -r f34052de27f5 -r 85165597c592 templates/registration/password_change_form.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_change_form.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% load i18n %} +{% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}{% trans 'Documentation' %} / {% endif %} {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} +{% block breadcrumbs %} {% endblock %} + +{% block title %}{% trans 'Password change' %}{% endblock %} + +{% block content %} + +{% 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." %}
+ + + +{% endblock %} diff -r f34052de27f5 -r 85165597c592 templates/registration/password_reset_complete.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_reset_complete.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block breadcrumbs %} {% endblock %} + +{% block title %}{% trans 'Password reset complete' %}{% endblock %} + +{% block content %} + +{% trans "Your password has been set. You may go ahead and log in now." %}
+ + + +{% endblock %} diff -r f34052de27f5 -r 85165597c592 templates/registration/password_reset_confirm.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_reset_confirm.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,32 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block breadcrumbs %} {% endblock %} + +{% block title %}{% trans 'Password reset' %}{% endblock %} + +{% block content %} + +{% if validlink %} + +{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}
+ + + +{% else %} + +{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}
+ +{% endif %} + +{% endblock %} diff -r f34052de27f5 -r 85165597c592 templates/registration/password_reset_done.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_reset_done.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block breadcrumbs %} {% endblock %} + +{% block title %}{% trans 'Password reset successful' %}{% endblock %} + +{% block content %} + +{% trans "We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly." %}
+ +{% endblock %} diff -r f34052de27f5 -r 85165597c592 templates/registration/password_reset_email.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_reset_email.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,15 @@ +{% load i18n %}{% autoescape off %} +{% 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 django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %} +{% endblock %} +{% trans "Your username, in case you've forgotten:" %} {{ user.username }} + +{% trans "Thanks for using our site!" %} + +{% blocktrans %}The {{ site_name }} team{% endblocktrans %} + +{% endautoescape %} diff -r f34052de27f5 -r 85165597c592 templates/registration/password_reset_form.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/registration/password_reset_form.html Mon Mar 08 18:57:31 2010 +0530 @@ -0,0 +1,19 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block breadcrumbs %} {% endblock %} + +{% block title %}{% trans "Password reset" %}{% endblock %} + +{% block content %} + +{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}
+ + + +{% endblock %}