{% from "macros/audit.html" import m_audit_field_changes %} {%- macro m_audit_entry(e) %} {#- FIXME: use macro for user avatar #} {{ e.msg }} {%- if e.entity_deleted %}{% endif %} {%- if e.entry.changes %} {{ m_audit_field_changes(e.entry.changes) }} {%- endif %} {% endmacro %} {% macro m_security_entry(e) %} {{ e.msg }} {% endmacro %} {# This one is used, though! #} {% macro m_stats(stats) %} {% endmacro %}