From f8e27fb149daea8b3151b91c175d051589f8f6ed Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Wed, 16 Jun 2021 07:36:42 +0000 Subject: Don't show sidebar in login view Commit 22dcea19 introduced sidebar, which is not shown in index view. Disable sidebar in the login view too. --- ogcp/templates/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ogcp/templates/base.html') diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 372381a..022801f 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -20,8 +20,8 @@
{% block container %}
- {# The sidebar is not visible on index #} - {% if request.endpoint != "index" %} + {# The sidebar is not visible on index and login #} + {% if request.endpoint not in ["index", "login"] %} -- cgit v1.2.3-18-g5258