{% extends "admin/change_form.html" %} {% load i18n admin_urls admin_modify lotus %} {% comment %} NOTE: We override the whole object-tools block since we add stuff in and around "object-tools-items", also this enable us to share results from tag "translation_siblings" instead of executing it twice. {% endcomment %} {% block object-tools %} {% if change %} {% if not is_popup %} {% translation_siblings original preview=True as sibling_stats %}
{% blocktrans %}Existing language(s) for this article:{% endblocktrans %} {% for sibling in sibling_stats.siblings %} {% get_language_info for sibling.language as lang %} {{ lang.name_translated }} {% if not forloop.last %} |{% endif %} {% endfor %}
{% endif %} {% endif %} {% endif %} {% endblock %}