~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/admin/templates/admin/delete_selected_confirmation.html

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2009-07-29 11:26:28 UTC
  • mfrom: (1.1.8 upstream) (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090729112628-pg09ino8sz0sj21t
Tags: 1.1-1
* New upstream release.
* Merge from experimental:
  - Ship FastCGI initscript and /etc/default file in python-django's examples
    directory (Closes: #538863)
  - Drop "05_10539-sphinx06-compatibility.diff"; it has been applied
    upstream.
  - Bump Standards-Version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "admin/base_site.html" %}
 
2
{% load i18n %}
 
3
 
 
4
{% block breadcrumbs %}
 
5
<div class="breadcrumbs">
 
6
     <a href="../../">{% trans "Home" %}</a> &rsaquo;
 
7
     <a href="../">{{ app_label|capfirst }}</a> &rsaquo;
 
8
     <a href="./">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
 
9
     {% trans 'Delete multiple objects' %}
 
10
</div>
 
11
{% endblock %}
 
12
 
 
13
{% block content %}
 
14
{% if perms_lacking %}
 
15
    <p>{% blocktrans %}Deleting the {{ object_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
 
16
    <ul>
 
17
    {% for obj in perms_lacking %}
 
18
        <li>{{ obj }}</li>
 
19
    {% endfor %}
 
20
    </ul>
 
21
{% else %}
 
22
    <p>{% blocktrans %}Are you sure you want to delete the selected {{ object_name }} objects? All of the following objects and it's related items will be deleted:{% endblocktrans %}</p>
 
23
    {% for deleteable_object in deletable_objects %}
 
24
        <ul>{{ deleteable_object|unordered_list }}</ul>
 
25
    {% endfor %}
 
26
    <form action="" method="post">
 
27
    <div>
 
28
    {% for obj in queryset %}
 
29
    <input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk }}" />
 
30
    {% endfor %}
 
31
    <input type="hidden" name="action" value="delete_selected" />
 
32
    <input type="hidden" name="post" value="yes" />
 
33
    <input type="submit" value="{% trans "Yes, I'm sure" %}" />
 
34
    </div>
 
35
    </form>
 
36
{% endif %}
 
37
{% endblock %}
 
 
b'\\ No newline at end of file'