From c6092a118d810f41ff36b665df97004bde490ecc Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Fri, 5 Jul 2024 22:25:31 +0200 Subject: [PATCH] Add: add user dropdown with django admin link if admin or staff and logout link --- .../includes/navigation-transparent.html | 56 ++++++++++++++++--- 1 file changed, 47 insertions(+), 9 deletions(-) diff --git a/archivist/apps/templates/includes/navigation-transparent.html b/archivist/apps/templates/includes/navigation-transparent.html index 22e3376..32277c7 100644 --- a/archivist/apps/templates/includes/navigation-transparent.html +++ b/archivist/apps/templates/includes/navigation-transparent.html @@ -99,6 +99,52 @@
+ + + + {% else %} @@ -140,15 +186,7 @@ - - {% if request.user.is_authenticated %} - + {% endif %}