Projet

Général

Profil

« Précédent | Suivant » 

Révision 62383bf2

Ajouté par Serghei Mihai il y a environ 9 ans

current language removed from choices (#6537)

Voir les différences:

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>

Formats disponibles : Unified diff