Added configuration options for imprint URL and contact email address

This commit is contained in:
Raphael Michel
2015-06-15 20:17:18 +02:00
parent 02c9e5fcae
commit e657fe6605
4 changed files with 26 additions and 0 deletions

View File

@@ -61,6 +61,13 @@
{% endblock %}
</div>
<footer>
{% if request.event.settings.contact_mail %}
<a href="mailto:{{ request.event.settings.contact_mail }}">{% trans "Contact event organizer" %}</a> &middot;
{% endif %}
{% if request.event.settings.imprint_url %}
<a href="{{ request.event.settings.imprint_url }}" target="_blank">{% trans "Imprint" %}</a>
&middot;
{% endif %}
{% with "href='http://pretix.eu'" as a_attr %}
{% blocktrans trimmed %}
powered by <a {{ a_attr }}>pretix</a>