{% 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 %}

{% blocktrans %}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:{% endblocktrans %}

{% else %}

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

{% if deletable_objects %}

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

{% endif %}
{% csrf_token %} {% for obj in queryset %} {% endfor %} {% if preserved %} {% for obj in preserved %} {% endfor %} {% endif %}

{% trans "No, take me back" %}

{% endif %}
{% endblock %}