added message while logging off and removed back button from templates/base.html.
authoranoop
Tue, 23 Feb 2010 13:14:18 +0530
changeset 56 05e10eccd515
parent 55 ca2486e29178
child 57 67e0d0a915e3
added message while logging off and removed back button from templates/base.html.
templates/base.html
templates/registration/logout.html
--- a/templates/base.html	Tue Feb 23 12:16:28 2010 +0530
+++ b/templates/base.html	Tue Feb 23 13:14:18 2010 +0530
@@ -4,9 +4,8 @@
 </head>
 <body>
 <h2><a href="/">PyTasks</a></h2>
-<a href="javascript:history.go(-1)">back</a> 
 {% if user.is_authenticated %}
- | <a href="/accounts/logout">logout</a> 
+<a href="/accounts/logout">logout</a> 
 {% endif %}
 <br><br>
 {% block content %}This is the default content{% endblock %}</body>
--- a/templates/registration/logout.html	Tue Feb 23 12:16:28 2010 +0530
+++ b/templates/registration/logout.html	Tue Feb 23 13:14:18 2010 +0530
@@ -1,4 +1,6 @@
 {% extends 'base.html' %}
 {% block content %}
 You have successfully logged out of PyTasks.
+<br><br>
+<a href="/">Click here</a> to go back to PyTask Homepage
 {% endblock %}