Enable styling language switcher link depending on the destination language
[fnpdjango.git] / fnpdjango / templates / fnpdjango / lang_switcher.html
1 {% load i18n fnp_lang %}
2 {% for lc, ln in languages %}
3     {% if lc != request.LANGUAGE_CODE %}
4         <a class="lang-switcher-{{lc}}" href="{{ request|get_here_url:lc }}">{{ lc }}</a>
5     {% endif %}
6 {% endfor %}