Move footer linklist to global template instead of event template

This commit is contained in:
Raphael Michel
2016-10-31 19:07:18 +01:00
parent 67b2135eeb
commit 7f7ee28f92
2 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
{% load compress %}
{% load staticfiles %}
{% load i18n %}
{% load safelink %}
<!DOCTYPE html>
<html>
<head>
@@ -40,6 +41,14 @@
<footer>
{% block footer %}
{% endblock %}
{% if footer_text %}
{{ footer_text }}
&middot;
{% endif %}
{% for f in footer %}
<a href="{% safelink f.url %}" target="_blank">{{ f.label }}</a>
&middot;
{% endfor %}
{% include "pretixpresale/base_footer.html" %}
</footer>
<div id="ajaxerr">

View File

@@ -64,12 +64,4 @@
<a href="{% safelink request.event.settings.imprint_url %}" target="_blank">{% trans "Imprint" %}</a>
&middot;
{% endif %}
{% if footer_text %}
{{ footer_text }}
&middot;
{% endif %}
{% for f in footer %}
<a href="{% safelink f.url %}" target="_blank">{{ f.label }}</a>
&middot;
{% endfor %}
{% endblock %}