summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/base.html3
-rw-r--r--templates/registration/logout.html2
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 %}