{% load i18n %}{% comment %} Include this block at the bottom of the object-tools: {% block object-tools %} {{ block.super }} {% if language_tabs %}{% include "admin/parler/language_tabs.html" %}{% endif %} {% endblock %} {% endcomment %} {% if language_tabs %}
{% for url,name,code,status in language_tabs %} {% if status == 'current' %} {{ name }}{% if language_tabs.current_is_translated and language_tabs.allow_deletion %} {% endif %} {% else %} {{ name }} {% if status == 'available' and language_tabs.allow_deletion %} {% endif %} {% endif %} {% endfor %}
{% endif %}