fix old template
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{% load flatpages %}
|
||||
{% load static %}
|
||||
|
||||
<!doctype html>
|
||||
@@ -62,9 +63,14 @@
|
||||
<li><a class="button header-btn header-link" href="{% url 'posts:index' %}">News</a></li>
|
||||
<!-- show active members first -->
|
||||
<li><a class="button header-btn header-link" href="{% url 'members:members' 'active' %}">Fachschaft</a></li>
|
||||
<li><a class="button header-btn header-link" href="{% url 'gallery' %}">Galerie</a></li>
|
||||
<li><a class="button header-btn header-link" href="{% url 'gallery:index' %}">Galerie</a></li>
|
||||
<li><a class="button header-btn header-link" href="{% url 'blackboard:index' %}">Blackboard</a></li>
|
||||
<li><a class="button header-btn header-link" href="{% url 'contact' %}">Kontakt</a></li>
|
||||
|
||||
{% get_flatpages '/kontakt/' as pages %}
|
||||
{% if pages %}
|
||||
<li><a class="button header-btn header-link" href="{{ pages.first.url }}">{{ pages.first.title }}</a></li>
|
||||
{% endif %}
|
||||
|
||||
{% if request.user.is_authenticated %}
|
||||
<li><a class="button header-btn header-link" href="{% url 'authentications:logout' %}?next={{ request.path }}">Logout</a></li>
|
||||
{% else %}
|
||||
@@ -80,9 +86,13 @@
|
||||
<footer>
|
||||
<div class="grid-container">
|
||||
<div class="grid-x padding-top-1 padding-bottom-1">
|
||||
<div class="cell small-12 medium-3 large-3">
|
||||
<a class="button footer-link" href="{% url 'impressum' %}" >Impressum</a>
|
||||
|
||||
{% get_flatpages '/impressum/' as pages %}
|
||||
{% if pages %}
|
||||
<div class="legal">
|
||||
<a class="button footer-link" href="{{ pages.first.url }}"">{{ pages.first.title }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="cell small-12 medium-9 large-9 text-right">
|
||||
<span class="footer-text">Probiers mal social:</span>
|
||||
@@ -99,9 +109,6 @@
|
||||
<i class="social-media-footer-symbol fa-brands fa-telegram"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user