You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
konova/templates/footer.html

28 lines
1.2 KiB
HTML

{% load i18n fontawesome_5 %}
<footer class="footer">
<div class="container">
<div class="d-flex justify-content-center">
<span class="col-sm-auto footer-link">
<a href="{{ help_link }}" target="_blank">{% trans 'Help' %}</a>
</span>
<span class="col-sm-auto footer-link">
<a href="{% url 'home' %}">{% trans 'Impressum' %}</a>
</span>
<span class="col-sm-auto footer-link">
<a href="{% url 'home' %}">{% trans 'Contact' %}</a>
</span>
</div>
</div>
{% comment %}
"Why is there a form.media call???"
We use modal forms, right?
And we use dal (django-autocomplete-light), right?
In order to get these nice autocomplete (js triggered) form fields to work, we need to load form.media
somewhere. BUT when these fields are called inside a modal form (which we use quiet often), the form.media
can not be called properly due to some deprecated functions of jquery regarding synchronous calling.
So, we simply call the form.media in here, in case there is any form.media to be loaded.
{% endcomment %}
{{ form.media }}
</footer>