{% load i18n %} {% load url from simple_history_compat %} {% load admin_urls %} {% load getattribute from getattributes %} {% for column in history_list_display %} {% endfor %} {% for record in page_obj %} {% for column in history_list_display %} {% endfor %}
{{ record.history_object }} {{ record|getattribute:column }} {% endfor %} {{ record.history_date }} {{ record.get_history_type_display }} {% if record.history_user %} {% url admin_user_view record.history_user_id as admin_user_url %} {% if admin_user_url %} {{ record.history_user }} {% else %} {{ record.history_user }} {% endif %} {% else %} {% trans "None" %} {% endif %} {{ record.history_change_reason }} {% block history_delta_changes %} {% if record.history_delta_changes %}
    {% for change in record.history_delta_changes %}
  • {{ change.field }}:
    {% if change.old %} {{ change.old }} {% endif %} {% if change.old and change.new %} arrow_right_alt {% endif %} {% if change.new %} {{ change.new }} {% endif %}
  • {% endfor %}
{% endif %} {% endblock %}