| 1 | {% extends "admin/base_site" %}
|
|---|
| 2 | {% load i18n %}
|
|---|
| 3 |
|
|---|
| 4 | {% block content %}
|
|---|
| 5 |
|
|---|
| 6 | {% if perms_lacking %}
|
|---|
| 7 | <p>{% blocktrans %}Deleting the {{ object_name }} '{{ object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
|
|---|
| 8 | <ul>
|
|---|
| 9 | {% for obj in perms_lacking %}
|
|---|
| 10 | <li>{{ obj }}</li>
|
|---|
| 11 | {% endfor %}
|
|---|
| 12 | </ul>
|
|---|
| 13 | {% else %}
|
|---|
| 14 | <p>{% blocktrans %}Are you sure you want to delete the {{ object_name }} "{{ object }}"? All of the following related items will be deleted:{% endblocktrans %}</p>
|
|---|
| 15 | <ul>{{ deleted_objects|unordered_list }}</ul>
|
|---|
| 16 | <form action="" method="post">
|
|---|
| 17 | <input type="hidden" name="post" value="yes" />
|
|---|
| 18 | <input type="submit" id="deleteconfirm" value="{% trans "Yes, I'm sure" %}" />
|
|---|
| 19 | </form>
|
|---|
| 20 | <input type="submit" id="deletecancel" value="{% trans "Cancel" %}" onclick="{window.location='..'}"/>
|
|---|
| 21 | {% endif %}
|
|---|
| 22 |
|
|---|
| 23 | {% endblock %}
|
|---|