mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Move footer linklist to global template instead of event template
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{% load compress %}
|
{% load compress %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load safelink %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
@@ -40,6 +41,14 @@
|
|||||||
<footer>
|
<footer>
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% if footer_text %}
|
||||||
|
{{ footer_text }}
|
||||||
|
·
|
||||||
|
{% endif %}
|
||||||
|
{% for f in footer %}
|
||||||
|
<a href="{% safelink f.url %}" target="_blank">{{ f.label }}</a>
|
||||||
|
·
|
||||||
|
{% endfor %}
|
||||||
{% include "pretixpresale/base_footer.html" %}
|
{% include "pretixpresale/base_footer.html" %}
|
||||||
</footer>
|
</footer>
|
||||||
<div id="ajaxerr">
|
<div id="ajaxerr">
|
||||||
|
|||||||
@@ -64,12 +64,4 @@
|
|||||||
<a href="{% safelink request.event.settings.imprint_url %}" target="_blank">{% trans "Imprint" %}</a>
|
<a href="{% safelink request.event.settings.imprint_url %}" target="_blank">{% trans "Imprint" %}</a>
|
||||||
·
|
·
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if footer_text %}
|
|
||||||
{{ footer_text }}
|
|
||||||
·
|
|
||||||
{% endif %}
|
|
||||||
{% for f in footer %}
|
|
||||||
<a href="{% safelink f.url %}" target="_blank">{{ f.label }}</a>
|
|
||||||
·
|
|
||||||
{% endfor %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user