{% extends "admin/base.html" %} {% load i18n admin_urls static %} {% block title %}{% trans "Restore confirmation" %}{% endblock %} {% block content_title %}

{% trans "Restore confirmation" %}

{% endblock %} {% block content %}
{% if perms_lacking %}

{% blocktranslate %}Restoring the selected {{ objects_name }} would result in modifying related objects, but your account doesn't have permission to modify the following types of objects:{% endblocktranslate %}

    {{ perms_lacking|unordered_list }}
{% else %}

{% blocktrans with objects_name=objects_name %}Are you sure you want to restore the selected {{ objects_name }}?{% endblocktranslate %}

{% if deletable_objects %}

{% trans "Objects to be restored:" %}

    {% for obj in deletable_objects %}
  • {{ obj }}
  • {% endfor %}
{% endif %}
{% csrf_token %} {% for obj in queryset %} {% endfor %} {% if preserved %} {% for obj in preserved %} {% endfor %} {% endif %}
{% trans "No, take me back" %}
{% endif %}
{% endblock %}