mpeltriaux
3a5168a05c
* adds workaround in case of received WFS exception -> routine waits 1 second and tries to rerun for another time. If this does fail as well, the routine will end without a result * adds mailto shortcut to contact button in footer for a quick fix
28 lines
1.2 KiB
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="mailto:{{CONTACT_MAIL}}">{% 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> |