diff options
author | anoop | 2010-02-23 13:14:18 +0530 |
---|---|---|
committer | anoop | 2010-02-23 13:14:18 +0530 |
commit | e2d8393f8aabe414879bb8b4b7f2910a0c6b8e00 (patch) | |
tree | 1e5006742d52f5a93b0f04d0064e0a21aadbfe1b | |
parent | a8b11aa379c71501bac9e9d1de62b65b99948d2f (diff) | |
download | pytask-e2d8393f8aabe414879bb8b4b7f2910a0c6b8e00.tar.gz pytask-e2d8393f8aabe414879bb8b4b7f2910a0c6b8e00.tar.bz2 pytask-e2d8393f8aabe414879bb8b4b7f2910a0c6b8e00.zip |
added message while logging off and removed back button from templates/base.html.
-rw-r--r-- | templates/base.html | 3 | ||||
-rw-r--r-- | 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 @@ </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> 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. +<br><br> +<a href="/">Click here</a> to go back to PyTask Homepage {% endblock %} |