{% load i18n admin_urls suit_tags %}
{% if not is_popup and has_change_permission %}{% endif %} {% if not is_popup and change and save_as %}{%endif%} {% if not is_popup and has_add_permission %}{% if not save_as or add %}{% endif %}{% endif %} {% if not is_popup and change and has_delete_permission %} {% if '1.9'|django_version_lt %} {% trans "Delete" %} {% else %} {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %} {% trans "Delete" %} {% endif %} {% endif %} {% if language_tabs %} {% for url, name, code, status in language_tabs %} {% if status == 'current' and language_tabs.current_is_translated and language_tabs.allow_deletion %} {% blocktrans %}Delete {{ name }} translation{% endblocktrans %} {% endif %} {% endfor %} {% endif %}