diff --git a/.gitignore b/.gitignore index 216bc8c..4afb8f2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ djtracker.egg-info docs/build *.rst~ *.rst\~ +.tmp_*~ diff --git a/djtracker/templates/djtracker/blocks/issue_list.html b/djtracker/templates/djtracker/blocks/issue_list.html index 31edfc8..acd7cbb 100644 --- a/djtracker/templates/djtracker/blocks/issue_list.html +++ b/djtracker/templates/djtracker/blocks/issue_list.html @@ -12,7 +12,7 @@ {% endif %} {% for issue in issue_list %} -
Your username and password didn't match. Please try again.
{% endif %} - +Forgot your password? Click here to get a fresh one.
{% endblock %} diff --git a/djtracker/templates/djtracker/logout.html b/djtracker/templates/djtracker/profile/logout.html similarity index 100% rename from djtracker/templates/djtracker/logout.html rename to djtracker/templates/djtracker/profile/logout.html diff --git a/djtracker/templates/djtracker/profile/password_change_done.html b/djtracker/templates/djtracker/profile/password_change_done.html new file mode 100644 index 0000000..5698f58 --- /dev/null +++ b/djtracker/templates/djtracker/profile/password_change_done.html @@ -0,0 +1,12 @@ +{% extends "djtracker/base.html" %} +{% load i18n %} + +{% block title %}{% trans 'Password change successful' %}{% endblock %} + +{% block content %} + +{% trans 'Your password was changed.' %}
+ +{% endblock %} diff --git a/djtracker/templates/djtracker/profile/password_change_form.html b/djtracker/templates/djtracker/profile/password_change_form.html new file mode 100644 index 0000000..a28f942 --- /dev/null +++ b/djtracker/templates/djtracker/profile/password_change_form.html @@ -0,0 +1,17 @@ +{% extends "djtracker/base.html" %} +{% load i18n %} + +{% 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 --git a/djtracker/templates/djtracker/profile/password_reset_complete.html b/djtracker/templates/djtracker/profile/password_reset_complete.html new file mode 100644 index 0000000..c6d03bf --- /dev/null +++ b/djtracker/templates/djtracker/profile/password_reset_complete.html @@ -0,0 +1,14 @@ +{% extends "djtracker/base.html" %} +{% load i18n %} + +{% 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 --git a/djtracker/templates/djtracker/profile/password_reset_confirm.html b/djtracker/templates/djtracker/profile/password_reset_confirm.html new file mode 100644 index 0000000..f27ff84 --- /dev/null +++ b/djtracker/templates/djtracker/profile/password_reset_confirm.html @@ -0,0 +1,27 @@ +{% extends "djtracker/base.html" %} +{% load i18n %} + +{% 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 --git a/djtracker/templates/djtracker/profile/password_reset_done.html b/djtracker/templates/djtracker/profile/password_reset_done.html new file mode 100644 index 0000000..82c2d19 --- /dev/null +++ b/djtracker/templates/djtracker/profile/password_reset_done.html @@ -0,0 +1,12 @@ +{% extends "djtracker/base.html" %} +{% load i18n %} + +{% 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 --git a/djtracker/templates/djtracker/profile/password_reset_form.html b/djtracker/templates/djtracker/profile/password_reset_form.html new file mode 100644 index 0000000..0b42f18 --- /dev/null +++ b/djtracker/templates/djtracker/profile/password_reset_form.html @@ -0,0 +1,17 @@ +{% extends "djtracker/base.html" %} +{% load i18n %} + +{% 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 %} diff --git a/djtracker/templates/djtracker/user_profile.html b/djtracker/templates/djtracker/user_profile.html index 6f70542..5e44817 100644 --- a/djtracker/templates/djtracker/user_profile.html +++ b/djtracker/templates/djtracker/user_profile.html @@ -1,36 +1,36 @@ {% extends "djtracker/base.html" %} + +{% block head %} + +{% endblock %} + {% block content %} {% if user %} -IM Information: {{ profile.instant_messanger }}
{% if request.user.is_authenticated %}Email: {{ user.email }} - {% endif %} -