From e03a3f7fd200d58bc960f58a6d926ea73416d6de Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 21 Aug 2020 14:33:43 +0200 Subject: [PATCH] Do not show login and register on these pages --- note_kfet/templates/base.html | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/note_kfet/templates/base.html b/note_kfet/templates/base.html index fb4001b4..6e6b977b 100644 --- a/note_kfet/templates/base.html +++ b/note_kfet/templates/base.html @@ -22,7 +22,8 @@ SPDX-License-Identifier: GPL-3.0-or-later - {# Bootstrap CSS #} + + {# Bootstrap, Font Awesome and custom CSS #} {% else %} - - + {% if request.path != "/registration/signup/" %} + + {% endif %} + {% if request.path != "/accounts/login/" %} + + {% endif %} {% endif %}