Fixes #733: tooltips with language names
[wolnelektury.git] / wolnelektury / templates / base.html
index da5ab63..393eec5 100644 (file)
@@ -51,7 +51,7 @@
                                <form action="{% url django.views.i18n.set_language %}" method="POST">
                                        {% spaceless %}
                                        {% for lang in LANGUAGES %}                                          
                                <form action="{% url django.views.i18n.set_language %}" method="POST">
                                        {% spaceless %}
                                        {% for lang in LANGUAGES %}                                          
-                                           <button type="submit" name="language" 
+                                           <button type="submit" name="language" title="{{ lang.1 }}"
                                                        class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} {% if forloop.last %}last{% endif %}" 
                                                        value="{{ lang.0 }}">{{ lang.0|upper }}</button>
                                        {% endfor %}    
                                                        class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} {% if forloop.last %}last{% endif %}" 
                                                        value="{{ lang.0 }}">{{ lang.0|upper }}</button>
                                        {% endfor %}