From 5982cffd502a501d1a735320aa075ba54d994e38 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Sun, 1 May 2022 09:45:53 +0000 Subject: [PATCH] fix old template --- fet2020/templates/layout.html | 49 ++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/fet2020/templates/layout.html b/fet2020/templates/layout.html index f0ea9c5e..888fdf65 100644 --- a/fet2020/templates/layout.html +++ b/fet2020/templates/layout.html @@ -1,3 +1,4 @@ +{% load flatpages %} {% load static %} @@ -62,9 +63,14 @@
  • News
  • Fachschaft
  • -
  • Galerie
  • +
  • Galerie
  • Blackboard
  • -
  • Kontakt
  • + + {% get_flatpages '/kontakt/' as pages %} + {% if pages %} +
  • {{ pages.first.title }}
  • + {% endif %} + {% if request.user.is_authenticated %}
  • Logout
  • {% else %} @@ -79,31 +85,32 @@