(Ab)use breadcrumb component for footer nav
This commit is contained in:
parent
0a598afe95
commit
36a9e13c29
|
@ -31,9 +31,8 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<div class="content has-text-left"><a href="{% url 'pages:view' 'faq' %}">FAQ</a></div>
|
|
||||||
{% if DEBUG %}
|
{% if DEBUG %}
|
||||||
Debug-Modus:
|
(Debug-Modus)
|
||||||
{% if helper %}
|
{% if helper %}
|
||||||
<a href="{% url 'token_logout' %}">logout</a>
|
<a href="{% url 'token_logout' %}">logout</a>
|
||||||
<a href="{{ helper.logintoken_set.first.get_absolute_url }}">login url</a>
|
<a href="{{ helper.logintoken_set.first.get_absolute_url }}">login url</a>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% comment "" %}
|
|
||||||
this is a copy of helper_base, maybe cross-app include it or use a more lightweight template?
|
|
||||||
{% endcomment %}
|
|
||||||
{% block title %}{{page.title}}{% endblock %}
|
{% block title %}{{page.title}}{% endblock %}
|
||||||
|
|
||||||
{% block navbar %}
|
{% block navbar %}
|
||||||
|
@ -25,18 +23,8 @@ this is a copy of helper_base, maybe cross-app include it or use a more lightwei
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h3 class="title">{{ page.title }}</h3>
|
<h3 class="title">{{ page.title }}</h3>
|
||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
{{page.content}}
|
{{ page.content }}
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
|
||||||
{% if DEBUG %}
|
|
||||||
Debug-Modus:
|
|
||||||
{% if helper %}
|
|
||||||
<a href="{% url 'token_logout' %}">logout</a>
|
|
||||||
<a href="{{ helper.logintoken_set.first.get_absolute_url }}">login url</a>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
@ -37,7 +37,12 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<div class="content has-text-right"><a href="{% url 'pages:view' 'about' %}">Über diese Seite/Impressum</a></div>
|
<div class="breadcrumb has-dot-separator is-right">
|
||||||
|
<ul>
|
||||||
|
<li><a href="{% url 'pages:view' 'faq' %}">Häufig gestellte Fragen</a></li>
|
||||||
|
<li><a href="{% url 'pages:view' 'about' %}">Über diese Seite/Impressum</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue