{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block breadcrumbs %} {% endblock %} {% block content %}

{{ title|default:_("Compare Historical Versions") }}

{% if old_record and new_record %}

{% translate "Comparing snapshot" %} #{{ old_record.history_id }} ({{ old_record.history_date }}) → #{{ new_record.history_id }} ({{ new_record.history_date }})

{% endif %}
arrow_back {% translate "Back to History" %}
{% if comparison_error or form_errors %}
{{ comparison_error|default:form_errors }}
{% endif %}
{% if changes %} {% for change in changes %} {% endfor %}
{% translate 'Field' %} {% translate 'Old Value' %} {% translate 'New Value' %}
{{ change.field }} {{ change.old }} {{ change.new }}
{% elif comparison_changes %} {% for change in comparison_changes %} {% endfor %}
{% translate 'Field' %} {% translate 'Old Value' %} {% translate 'New Value' %}
{{ change.field }} {{ change.old }} {{ change.new }}
{% else %}

{% translate "No differences recorded between the selected snapshots." %}

{% endif %}
{% endblock %}