{% extends "admin/object_history.html" %} {% load i18n %} {% load versioning_tags %} {% block content %} {% revisions_for_object object as action_list %}

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

{% if action_list %} {% for revision in action_list %} {% endfor %}
{% trans 'Revision' %} {% trans 'Sha' %} {% trans 'Date' %} {% trans 'IP-address' %} {% trans 'User' %} {% trans 'Comment' %}
r{{ revision.revision }} {{ revision.sha1 }} {{revision.created_at|date:_("DATETIME_FORMAT")}} {{ revision.editor_ip }} {% if revision.editor %} {{revision.editor.username}} {% if revision.user.first_name %} ({{revision.user.first_name}} {{revision.user.last_name}}){% endif %} {% endif %} {{revision.comment|default:""}}
{% else %}

{% trans "This object doesn't have a change history. It probably wasn't added via this admin site." %}

{% endif %}
{% endblock %}