{% extends "admin/base_site.html" %} {% load i18n admin_urls static common %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %} {% if not user.is_superuser %}

{% blocktrans with escaped_object=object %}Deleting entire projects requires superuser permissions. Your account doesn't have those.{% endblocktrans %}

{% else %}

{% blocktrans with escaped_object=object %}Are you sure you want to delete all {{ len(project_ids) }} project(s)? All of the data linked to them will be deleted.{% endblocktrans %}

{% csrf_token %} {% for project in projects %} {% endfor %}
{% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% trans "No, take me back" %}
{% endif %} {% endblock %}