Ticket #2344: delete_confirmation.html.diff

File delete_confirmation.html.diff, 1.4 KB (added by Gary Wilson <gary.wilson@…>, 18 years ago)
  • django/contrib/admin/templates/admin/delete_confirmation.html

     
    1111{% endblock %}
    1212{% block content %}
    1313{% 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>
    1515    <ul>
    1616    {% for obj in perms_lacking %}
    1717        <li>{{ obj }}</li>
    1818    {% endfor %}
    1919    </ul>
    2020{% 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>
    2222    <ul>{{ deleted_objects|unordered_list }}</ul>
    2323    <form action="" method="post">
    2424    <div>
Back to Top