From d60050dcfe7e32dc720e48942c7457860da79d6b Mon Sep 17 00:00:00 2001
From: adityacp
Date: Fri, 20 Dec 2019 15:34:23 +0530
Subject: Use reverse url instead of traditional url in templates
---
.../registration/password_change_done.html | 14 +++------
.../registration/password_change_form.html | 36 ++++++++++------------
.../registration/password_reset_complete.html | 17 ++++++----
.../registration/password_reset_confirm.html | 12 +++++---
.../registration/password_reset_done.html | 9 +++---
.../registration/password_reset_form.html | 21 ++++++++-----
6 files changed, 57 insertions(+), 52 deletions(-)
(limited to 'yaksh/templates/registration')
diff --git a/yaksh/templates/registration/password_change_done.html b/yaksh/templates/registration/password_change_done.html
index 7e075de..ccaf312 100644
--- a/yaksh/templates/registration/password_change_done.html
+++ b/yaksh/templates/registration/password_change_done.html
@@ -1,18 +1,12 @@
-{% extends "base.html" %}
+{% extends "manage.html" %}
+{% load static %}
{% block title %} Change Password {% endblock %}
-{% block nav %}
-
-{% endblock %}
{% block script %}
{% endblock %}
@@ -25,6 +19,6 @@
Redirecting ...
-
+
{% endblock %}
diff --git a/yaksh/templates/registration/password_change_form.html b/yaksh/templates/registration/password_change_form.html
index 18dfa2e..4b2218f 100644
--- a/yaksh/templates/registration/password_change_form.html
+++ b/yaksh/templates/registration/password_change_form.html
@@ -1,28 +1,26 @@
-{% extends "base.html" %}
+{% extends "manage.html" %}
+
{% block pagetitle %} Change Password {% endblock %}
{% block title %} Change Password {% endblock %}
-{% block nav %}
-
-{% endblock %}
-
{% block content %}
{% endblock content %}
diff --git a/yaksh/templates/registration/password_reset_complete.html b/yaksh/templates/registration/password_reset_complete.html
index d606db9..20dc697 100644
--- a/yaksh/templates/registration/password_reset_complete.html
+++ b/yaksh/templates/registration/password_reset_complete.html
@@ -1,17 +1,22 @@
{% extends "base.html" %}
+{% load static %}
+
{% block title %} Forgot Password {% endblock %}
{% block nav %}
{% endblock %}
+
{% block content %}
+
-
Your password has been reset.
-
Log in
-
+ Your password has been reset.
+ Log in
+
+
{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_confirm.html b/yaksh/templates/registration/password_reset_confirm.html
index 110a82c..ef2d1f2 100644
--- a/yaksh/templates/registration/password_reset_confirm.html
+++ b/yaksh/templates/registration/password_reset_confirm.html
@@ -1,15 +1,17 @@
{% extends "base.html" %}
+{% load static %}
+
{% block title %} Forgot Password {% endblock %}
{% block nav %}
{% endblock %}
-{% block content %}
+{% block content %}
Reset Password
{% if validlink %}
@@ -17,7 +19,7 @@
{% else %}
This reset link is no longer valid!
diff --git a/yaksh/templates/registration/password_reset_done.html b/yaksh/templates/registration/password_reset_done.html
index a6f30a0..036d691 100644
--- a/yaksh/templates/registration/password_reset_done.html
+++ b/yaksh/templates/registration/password_reset_done.html
@@ -1,11 +1,12 @@
{% extends "base.html" %}
+{% load static %}
{% block title %} Forgot Password {% endblock %}
{% block nav %}
{% endblock %}
@@ -17,6 +18,6 @@
Instruction for setting new password has been mailed to your registered email address
-Go to Login
+Go to Login
{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_form.html b/yaksh/templates/registration/password_reset_form.html
index fd2220f..eeca8f2 100644
--- a/yaksh/templates/registration/password_reset_form.html
+++ b/yaksh/templates/registration/password_reset_form.html
@@ -1,12 +1,13 @@
{% extends "base.html" %}
-{% block title %}
-Forgot Password
-{% endblock %}
+{% load static %}
+
+{% block title %} Forgot Password {% endblock %}
+
{% block nav %}
{% endblock %}
@@ -26,8 +27,12 @@ Forgot Password
{{ form }}
-
- Cancel
+
+
+ Cancel
+
--
cgit