Use the redirect view for the imprint link

This commit is contained in:
Raphael Michel
2016-09-19 22:17:13 +02:00
parent ba26b8fc71
commit 2e453bd051

View File

@@ -3,6 +3,7 @@
{% load staticfiles %} {% load staticfiles %}
{% load thumbnail %} {% load thumbnail %}
{% load eventurl %} {% load eventurl %}
{% load safelink %}
{% block thetitle %} {% block thetitle %}
{% block title %}{% endblock %}{% if url_name != "event.index" %} :: {% endif %}{{ event.name }} {% block title %}{% endblock %}{% if url_name != "event.index" %} :: {% endif %}{{ event.name }}
{% endblock %} {% endblock %}
@@ -60,7 +61,7 @@
<a href="mailto:{{ request.event.settings.contact_mail }}">{% trans "Contact event organizer" %}</a> &middot; <a href="mailto:{{ request.event.settings.contact_mail }}">{% trans "Contact event organizer" %}</a> &middot;
{% endif %} {% endif %}
{% if request.event.settings.imprint_url %} {% if request.event.settings.imprint_url %}
<a href="{{ request.event.settings.imprint_url }}" target="_blank">{% trans "Imprint" %}</a> <a href="{% safelink request.event.settings.imprint_url %}" target="_blank">{% trans "Imprint" %}</a>
&middot; &middot;
{% endif %} {% endif %}
{% for f in footer %} {% for f in footer %}