You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% trans 'Delete' %} {{ object|truncatewords:"18" }}
33
+
</h4>
34
+
</div>
35
+
36
+
<divclass="box-body">
37
+
<divid="content-main">
38
+
{% if perms_lacking %}
39
+
<p>{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
40
+
<ol>
41
+
{% for obj in perms_lacking %}
42
+
<li>{{ obj }}</li>
43
+
{% endfor %}
44
+
</ol>
45
+
{% elif protected %}
46
+
<p>{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}</p>
47
+
<ol>
48
+
{% for obj in protected %}
49
+
<li>{{ obj }}</li>
50
+
{% endfor %}
51
+
</ol>
52
+
{% else %}
53
+
<p>{% blocktrans with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}</p>
54
+
{% include "admin/includes/object_delete_summary.html" %}
55
+
<h4>{% trans "Objects" %}</h4>
56
+
<ol>{{ deleted_objects|unordered_list }}</ol>
57
+
<formmethod="post">{% csrf_token %}
58
+
<div>
59
+
<inputtype="hidden" name="post" value="yes">
60
+
{% if is_popup %}<inputtype="hidden" name="{{ is_popup_var }}" value="1">{% endif %}
0 commit comments