{% extends 'base/banking_base.html' %} {% load i18n humanize static %} {% load easyaudit_utils %} {% block content %}

{% trans 'CRUD Events' %}

{% include "easyaudit/_filters.html" %}
{% for crud in object_list %} {% empty %} {% endfor %}
{% trans 'Date' %} {% trans 'Event Type' %} {% trans 'Object' %} {% trans 'Object Description' %} {% trans 'Changed Fields' %} {% trans 'User' %}
{{ crud.datetime }} {{ crud.get_event_type_display }} {{ crud.content_type|title }} {{ crud.object_repr }} {% json_load crud.changed_fields as changed_fields %} {% if changed_fields %}

{% for k,v in changed_fields.items %} {{ k }} :{{ v.0|easy_format }} => {{ v.1|easy_format }}
{% endfor %}

{% endif %}
{{ crud.user }}
{% trans 'No CRUD event' %}
{% include "libs/pagination.html" with page_obj=page_obj %}
{% endblock %}