{% extends "admin/change_list.html" %}
{% load i18n %}

{% block object-tools-items %}
    {% if soft_deleted_url %}
        {% if soft_deleted_count %}
            {% blocktrans count count=soft_deleted_count asvar soft_deleted_label %}
                Recover deleted ({{ count }})
            {% plural %}
                Recover deleted ({{ count }})
            {% endblocktrans %}
        {% else %}
            {% trans "Recover deleted" as soft_deleted_label %}
        {% endif %}
        <li>
            <a href="{{ soft_deleted_url }}" class="addlink" title="{{ soft_deleted_label }}" aria-label="{{ soft_deleted_label }}">
                <span aria-hidden="true">{% trans "RECOVER" %}</span>
                <span class="visually-hidden">{{ soft_deleted_label }}</span>
            </a>
        </li>
    {% endif %}
    {{ block.super }}
{% endblock %}
