From 03ec791c69c148aa8ffeb080f9e0953c2c604067 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 14 Oct 2020 17:42:05 +0000 Subject: [PATCH] sort order of url-paths on startpage --- fet2020/templates/layout.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fet2020/templates/layout.html b/fet2020/templates/layout.html index 273ba897..9d471df5 100644 --- a/fet2020/templates/layout.html +++ b/fet2020/templates/layout.html @@ -42,14 +42,16 @@ Hallo {{request.user.username}}
  • Admin
  • Tasks
  • -
  • Logout
  • - {% else %} -
  • Login
  • {% endif %}
  • Aktuelles
  • Fotos
  • Blackboard
  • Mitarbeiter
  • + {% if request.user.is_authenticated %} +
  • Logout
  • + {% else %} +
  • Login
  • + {% endif %}