From fecde54c8cbca5504d8bb1a5d60e533d9946bdc5 Mon Sep 17 00:00:00 2001 From: busybox11 Date: Wed, 26 Aug 2020 15:20:35 +0200 Subject: [PATCH] Add account in header for index --- PDMI/templates/base/base.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/PDMI/templates/base/base.html b/PDMI/templates/base/base.html index 01b8f72..19b8c3e 100644 --- a/PDMI/templates/base/base.html +++ b/PDMI/templates/base/base.html @@ -38,6 +38,29 @@ {% block 'navbar-right' %} + {% if user.is_authenticated %} + + {% else %} + + {% endif %} {% endblock 'navbar-right' %}