moved notice-bottom in footer, added footernav

This commit is contained in:
Richard Schreiber
2021-02-19 11:58:56 +01:00
parent cea8efc4a3
commit c335dd35b3
3 changed files with 10 additions and 2 deletions

View File

@@ -56,6 +56,9 @@
<footer>
{% block footer %}
{% endblock %}
<nav aria-label="{% trans "Footer Navigation" %}">
{% block footernav %}
{% endblock %}
{% if footer_text %}
{{ footer_text }}
&middot;
@@ -65,6 +68,7 @@
&middot;
{% endfor %}
{% include "pretixpresale/base_footer.html" %}
</nav>
</footer>
</div>
{% include "pretixpresale/fragment_modals.html" %}

View File

@@ -123,6 +123,8 @@
{% endif %}
{% block content %}
{% endblock %}
{% endblock %}
{% block footer %}
{% if request.event.settings.banner_text_bottom %}
<div class="site-notice-bottom">
{{ request.event.settings.banner_text_bottom|rich_text }}
@@ -144,7 +146,7 @@
{% endif %}
{% endif %}
{% endblock %}
{% block footer %}
{% block footernav %}
{% if request.event.settings.contact_mail %}
<a href="mailto:{{ request.event.settings.contact_mail }}">{% trans "Contact event organizer" %}</a> &middot;
{% endif %}

View File

@@ -20,8 +20,10 @@
}
footer {
text-align: center;
padding: 10px 0;
}
footer nav {
text-align: center;
font-size: 11px;
}
.js-only {