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 %}