{% extends "touchtechnology/admin/explorer/base.html" %} {% load i18n common admin admin_explorer %} {% block page_title %}{% firstof kind object|type as type %}{% blocktrans %}Delete this {{ type }}?{% endblocktrans %}{% endblock %} {% block page_kind %}{{ object }}{% endblock %} {% block page_icon %}{% icon "trash" %}{% endblock %} {% block content %} {% firstof kind object|type as type %} {% if object.is_leaf_node %}

{% blocktrans %}The {{ type }} {{ object }} will be removed from the site for good.{% endblocktrans %}

{% csrf_token %} {% block cancel_button %} {% trans "Cancel" %} {% endblock %}
{% else %}

{% blocktrans %}The {{ type }} {{ object }} has pages inside it. Move or delete them first.{% endblocktrans %}

{% trans "Cancel" %}

{% endif %} {% endblock %}