From e2d8393f8aabe414879bb8b4b7f2910a0c6b8e00 Mon Sep 17 00:00:00 2001
From: anoop
Date: Tue, 23 Feb 2010 13:14:18 +0530
Subject: added message while logging off and removed back button from
templates/base.html.
---
templates/base.html | 3 +--
templates/registration/logout.html | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/templates/base.html b/templates/base.html
index 0efba4d..5dfdebc 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -4,9 +4,8 @@
-back
{% if user.is_authenticated %}
- | logout
+logout
{% endif %}
{% block content %}This is the default content{% endblock %}
diff --git a/templates/registration/logout.html b/templates/registration/logout.html
index b2f9910..480adfe 100644
--- a/templates/registration/logout.html
+++ b/templates/registration/logout.html
@@ -1,4 +1,6 @@
{% extends 'base.html' %}
{% block content %}
You have successfully logged out of PyTasks.
+
+Click here to go back to PyTask Homepage
{% endblock %}
--
cgit