Project

General

Profile

« Previous | Next » 

Revision 62383bf2

Added by Serghei Mihai (absent jusqu’au 16/8) over 7 years ago

current language removed from choices (#6537)

View differences:

ckanext/ozwillo_theme/templates/language_switcher.html
10 10
</a>
11 11

  
12 12
<ul class="dropdown-menu ">
13
{% for locale in h.get_available_locales() %}
14
<li><a href="{% url_for current_url, locale=locale %}">{{ locale.display_name or locale.english_name }}</a></li>
13
  {% for locale in h.get_available_locales() %}
14
  {% if locale != current_lang %}
15
  <li><a href="{% url_for current_url, locale=locale %}">{{ locale.display_name or locale.english_name }}</a></li>
16
  {% endif %}
15 17
{% endfor %}
16 18
</li>
17 19
</ul>

Also available in: Unified diff