{% extends "base.html" %}
{% block title %}Confirm deletion of {{kind_str}}{% endblock %}
{% block body %}
Datastore Admin: Delete Entities
{% if kind_list %}
{% comment %}
size_total represents the total size of the figures for which we have
datastore statistics available.
sizes_known indicates whether or not we have datastore statistics for all
kinds.
These two variables are used to render different messages for the three
possible scenarios: all sizes known, some sizes known, no sizes known.
{% endcomment %}
{% if size_total %}
{% if sizes_known %}Approximately
{% else %}More than
{% endif %}{{ size_total }}
{% else %}
An unknown quantity
{% endif %}
of data will be deleted permanently.
Are you sure you want to delete all
{# No elseif in Django 0.96; this was cleaner to read than a for loop. #}
{% if kind_list|length_is:"1" %}
"{{ kind_list.0 }}"
{% else %}{% if kind_list|length_is:"2" %}
"{{ kind_list.0 }}" and "{{ kind_list.1 }}"
{% else %}{% if kind_list|length_is:"3" %}
"{{ kind_list.0 }}", "{{ kind_list.1 }}", and "{{ kind_list.2 }}"
{% else %}
"{{ kind_list.0 }}", "{{ kind_list.1 }}",
and {{ remainder }} other kinds of
{% endif %}{% endif %}{% endif %}
entities?