forked from CGM_Public/pretix_original
Remove spaces from locale URLs
This commit is contained in:
@@ -57,8 +57,7 @@
|
|||||||
<div class="locales">
|
<div class="locales">
|
||||||
{% for l in languages %}
|
{% for l in languages %}
|
||||||
<a href="{% url "presale:locale.set" %}?locale={{ l.code }}&next={{ request.path }}%3F{{ request.META.QUERY_STRING|urlencode }}" class="{% if l.code == request.LANGUAGE_CODE %}active{% endif %}" rel="nofollow">
|
<a href="{% url "presale:locale.set" %}?locale={{ l.code }}&next={{ request.path }}%3F{{ request.META.QUERY_STRING|urlencode }}" class="{% if l.code == request.LANGUAGE_CODE %}active{% endif %}" rel="nofollow">
|
||||||
{{ l.name_local }}
|
{{ l.name_local }}</a>
|
||||||
</a>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user