Ticket #2344: delete_confirmation.html.diff
File delete_confirmation.html.diff, 1.4 KB (added by , 18 years ago) |
---|
-
django/contrib/admin/templates/admin/delete_confirmation.html
11 11 {% endblock %} 12 12 {% block content %} 13 13 {% if perms_lacking %} 14 <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>14 <p>{% blocktrans with object|escape as escaped_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> 15 15 <ul> 16 16 {% for obj in perms_lacking %} 17 17 <li>{{ obj }}</li> 18 18 {% endfor %} 19 19 </ul> 20 20 {% else %} 21 <p>{% blocktrans %}Are you sure you want to delete the {{ object_name }} "{{object }}"? All of the following related items will be deleted:{% endblocktrans %}</p>21 <p>{% blocktrans with object|escape as escaped_object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}</p> 22 22 <ul>{{ deleted_objects|unordered_list }}</ul> 23 23 <form action="" method="post"> 24 24 <div>