From 62c4eb8f1e2d48f85ef968bbf71c60c66f631003 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 2 May 2015 10:32:06 -0400 Subject: [PATCH] Add logout button that is only shown when javascript is disabled. --- plinth/templates/base.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plinth/templates/base.html b/plinth/templates/base.html index 52b3e1696..e4a3b3591 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -122,6 +122,13 @@ Log in {% endif %} + {% if user.is_authenticated %} +
  • + + + Log out +
  • + {% endif %} {% endblock %} @@ -176,6 +183,12 @@ + + {% block app_js %}{% endblock %} {% block page_js %}{% endblock %}