Moved "powered by pretix" to a seperate template

This commit is contained in:
Raphael Michel
2016-07-28 21:03:06 +02:00
parent 7514b9bab2
commit fdc07d07d4
2 changed files with 7 additions and 5 deletions

View File

@@ -31,11 +31,7 @@
<footer> <footer>
{% block footer %} {% block footer %}
{% endblock %} {% endblock %}
{% with "href='http://pretix.eu'" as a_attr %} {% include "pretixpresale/base_footer.html" %}
{% blocktrans trimmed %}
powered by <a {{ a_attr }}>pretix</a>
{% endblocktrans %}
{% endwith %}
</footer> </footer>
<div id="ajaxerr"> <div id="ajaxerr">
</div> </div>

View File

@@ -0,0 +1,6 @@
{% load i18n %}
{% with "href='http://pretix.eu'" as a_attr %}
{% blocktrans trimmed %}
powered by <a {{ a_attr }}>pretix</a>
{% endblocktrans %}
{% endwith %}