mirror of
https://github.com/pretix/pretix.git
synced 2026-09-14 16:24:43 +00:00
Actually link flags via static tag
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
{% for l in request.event.settings.locales %}
|
{% for l in request.event.settings.locales %}
|
||||||
<a href="{% url "presale:locale.set" %}?locale={{ l }}&next={{ request.path }}%3F{{ request.META.QUERY_STRING|urlencode }}"
|
<a href="{% url "presale:locale.set" %}?locale={{ l }}&next={{ request.path }}%3F{{ request.META.QUERY_STRING|urlencode }}"
|
||||||
class="{% if l == request.LANGUAGE_CODE %}active{% endif %}"
|
class="{% if l == request.LANGUAGE_CODE %}active{% endif %}"
|
||||||
><img src="{% static "pretixbase/img/flags" %}/{{ l }}.png"/></a>
|
><img src="{% static "pretixbase/img/flags/"|add:l|add:".png" %}"/></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user