Skip to content
Snippets Groups Projects
Commit 94edea22 authored by Tim Fechner's avatar Tim Fechner
Browse files

Cleanup include templates

parent fc491f8a
No related branches found
No related tags found
No related merge requests found
{% load i18n %}
{% comment %}
This template provides an default footer for general sites.
Please note that this template should be used via {% include "" %}, not {% extends "" %}!
This way you can specify your own navigation or hero text or general content stuff.
{% endcomment %}
<div class="columns is-desktop">
<div class="column is-narrow has-text-centered-touch">
{% block footer-left %}
<p>
<span class="icon is-small"><i class="fa fa-book"></i></span>
<a href="https://service.it.hs-hannover.de/impressum/">{% trans "Impressum" %}</a>
</p>
<p>
<span class="icon is-small"><i class="fa fa-eye-slash"></i></span>
<a href="https://service.it.hs-hannover.de/privacy/">{% trans "Privacy" %}</a>
</p>
{% endblock %}
</div>
<div class="column">
{# desktop: just eat the free space in the middle #}
{# touch: draw a delimeter #}
<div class="is-hidden-desktop"><hr/></div>
</div>
<div class="column is-narrow has-text-centered-touch">
{% block footer-right %}
<p><b>Hochschule Hannover</b></p>
<p>
<abbr title="{% trans "Phone" %}"><span class="icon is-small"><i class="fa fa-phone"></i></span></abbr>
<a href="tel:+4951192961441">+49 511 9296 1441</a>
</p>
<p>
<abbr title="{% trans "Email" %}"><span class="icon is-small"><i class="fa fa-envelope"></i></span></abbr>
<a href="mailto:support-it@hs-hannover.de">support-it@hs-hannover.de</a>
</p>
<p>
<abbr title="{% trans "Web" %}"><span class="icon is-small"><i class="fa fa-globe"></i></span></abbr>
<a href="https://www.hs-hannover.de/it">https://hs-hannover.de/it</a>
</p>
{% endblock %}
</div>
</div>
......@@ -2,7 +2,7 @@
This template provides an default imprint for general sites.
Please note that this template should be used via {% include "" %}, not {% extends "" %}!
This way you can specify your own navigation or hero text
This way you can specify your own navigation or hero text or general content stuff.
{% endcomment %}
<div class="columns">
......
{% load i18n %}
{% comment %}
This template provides a login / logout button for the top-right navigation for the hero / hero_keyvisual template.
Please note that this template should be used via {% include "" %}, not {% extends "" %}!
This way you can specify your own navigation or hero text or general content stuff.
{% endcomment %}
{% if user.is_authenticated %}
<span class="nav-item">{% trans "Logged in as" %} {{ user.username }}</span>
<span class="nav-item">
......
......@@ -74,42 +74,7 @@
<footer class="footer">
<div class="container">
{% block footer %}
<div class="columns is-desktop">
<div class="column is-narrow has-text-centered-touch">
{% block footer-left %}
<p>
<span class="icon is-small"><i class="fa fa-book"></i></span>
<a href="https://service.it.hs-hannover.de/impressum/">{% trans "Impressum" %}</a>
</p>
<p>
<span class="icon is-small"><i class="fa fa-eye-slash"></i></span>
<a href="https://service.it.hs-hannover.de/privacy/">{% trans "Privacy" %}</a>
</p>
{% endblock %}
</div>
<div class="column">
{# desktop: just eat the free space in the middle #}
{# touch: draw a delimeter #}
<div class="is-hidden-desktop"><hr/></div>
</div>
<div class="column is-narrow has-text-centered-touch">
{% block footer-right %}
<p><b>Hochschule Hannover</b></p>
<p>
<abbr title="{% trans "Phone" %}"><span class="icon is-small"><i class="fa fa-phone"></i></span></abbr>
<a href="tel:+4951192961441">+49 511 9296 1441</a>
</p>
<p>
<abbr title="{% trans "Email" %}"><span class="icon is-small"><i class="fa fa-envelope"></i></span></abbr>
<a href="mailto:support-it@hs-hannover.de">support-it@hs-hannover.de</a>
</p>
<p>
<abbr title="{% trans "Web" %}"><span class="icon is-small"><i class="fa fa-globe"></i></span></abbr>
<a href="https://www.hs-hannover.de/it">https://hs-hannover.de/it</a>
</p>
{% endblock %}
</div>
</div>
{% include "hshassets/includes/default_footer.html" %}
{% endblock %}
</div>
</footer>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment