Enable styling language switcher link depending on the destination language
[fnpdjango.git] / fnpdjango / templates / fnpdjango / lang_switcher.html
index 9b725ac..e73ee77 100644 (file)
@@ -1,6 +1,6 @@
 {% load i18n fnp_lang %}
 {% for lc, ln in languages %}
     {% if lc != request.LANGUAGE_CODE %}
-        <a href="{{ request|get_here_url:lc }}">{{ lc }}</a>
+        <a class="lang-switcher-{{lc}}" href="{{ request|get_here_url:lc }}">{{ lc }}</a>
     {% endif %}
 {% endfor %}
\ No newline at end of file