dynamicweb/digitalglarus/templates/language_chooser.html

13 lines
515 B
HTML
Raw Permalink Normal View History

2016-04-08 23:01:08 +00:00
{% load i18n menu_tags %}
{% if languages|length > 1 %}
<div class="center-block">
2016-04-08 23:01:08 +00:00
<ul class="list-inline center-block language-chooser-list">
{% for language in languages %}
<li class="lang{% if current_language == language.0 %} active{% endif %} white">
2016-04-08 23:01:08 +00:00
<a href="{% page_language_url language.0 %}"
title="{% trans "Change to language:" %} {{ language.1 }}">{{ language.1 }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}