{% extends "admin/object_history.html" %} {% load i18n %} {% block content %} {% if not revert_disabled %}

{% blocktrans %}Choose a date from the list below to revert to a previous version of this object.{% endblocktrans %}

{% endif %} {% if page_obj.object_list %} {% include object_history_list_template %}
{% if pagination_required %} {% for i in page_range %} {% if i == page_obj.paginator.ELLIPSIS %} {{ page_obj.paginator.ELLIPSIS }} {% elif i == page_obj.number %} {{ i }} {% else %} {{ i }} {% endif %} {% endfor %} {% endif %} {{ page_obj.paginator.count }} {% blocktranslate count counter=page_obj.paginator.count %}entry{% plural %}entries{% endblocktranslate %}
{% else %}

{% trans "This object doesn't have a change history." %}

{% endif %} {% endblock %}