Browse files

Adds current language code for django-cms plugin editor

  • Loading branch information...
1 parent 8c5b05e commit f2451f6ea64225eca75d2352eb55203d58e7c9ae @bercab committed Aug 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 hvad/templates/admin/hvad/change_form.html
View
4 hvad/templates/admin/hvad/change_form.html
@@ -34,10 +34,10 @@
<div class="nani-language-tabs">
{% for url,name,code,status in language_tabs %}
{% if status == 'current' %}
- <span class="current">{{ name }}{% if current_is_translated and allow_deletion %}<a class="deletelink" href="./delete-translation/{{ code }}/" title="{% trans 'Delete Translation' %}">&nbsp;</a>{% endif %}</span>
+ <span class="current" title="{{code}}">{{ name }}{% if current_is_translated and allow_deletion %}<a class="deletelink" href="./delete-translation/{{ code }}/" title="{% trans 'Delete Translation' %}">&nbsp;</a>{% endif %}</span>
{% else %}
<span class="{{ status }}"><a href="{{ url }}">{{ name }}</a> {% if status == 'available' and allow_deletion %}<a class="deletelink" href="./delete-translation/{{ code }}/" title="{% trans 'Delete Translation' %}">&nbsp;</a>{% endif %}</span>
{% endif %}
{% endfor %}
</div>
-{% endblock %}
+{% endblock %}

0 comments on commit f2451f6

Please sign in to comment.