From f16a196c690020ca0f343d985391a2a6157ca862 Mon Sep 17 00:00:00 2001 From: Michael Huang Date: Tue, 14 Feb 2017 14:38:48 -0800 Subject: [PATCH] Fix logout URL --- helpdesk/templates/helpdesk/navigation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/templates/helpdesk/navigation.html b/helpdesk/templates/helpdesk/navigation.html index 8c6ef395..0121c4fb 100644 --- a/helpdesk/templates/helpdesk/navigation.html +++ b/helpdesk/templates/helpdesk/navigation.html @@ -100,7 +100,7 @@ {% endif %} {% if helpdesk_settings.HELPDESK_KB_ENABLED %}
  • {% trans "Knowledgebase" %}
  • {% endif %} {% if not request.path == '/helpdesk/login/' or user.is_authenticated %} -
  • {% if user.is_authenticated %}{% trans "Logout" %}{% else %}{% trans "Log In" %}{% endif %}
  • +
  • {% if user.is_authenticated %}{% trans "Logout" %}{% else %}{% trans "Log In" %}{% endif %}
  • {% endif %} {% endif %}