{% extends "base.html" %} {% from "components/pagination.html" import render_pagination %} {% from "components/empty_state.html" import empty_state %} {% block title %}Audit Logs · Admin{% endblock %} {% set category_badge = {'premium': 'warning', 'listing': 'primary', 'advertisement': 'info', 'user': 'secondary', 'bulk': 'dark', 'reward': 'success', 'report': 'danger'} %} {% macro card(label, value, icon, color) %}
Append-only, read-only trail of every administrative action.
| Timestamp | Administrator | Action | Entity Type | Entity Name | Public ID | Summary | |
|---|---|---|---|---|---|---|---|
|
{{ r.admin_name }}
{{ r.admin_email }}
|
{{ r.label }} | {% if r.entity_type %}{{ r.entity_type }}{% else %}—{% endif %} | {{ r.entity_name or '—' }} | {% if r.entity_public_id %}{{ r.entity_public_id[:8] }}{% else %}—{% endif %} |
{% for k, v in r.details.items() %}{{ k }}: {{ v }}{% if not loop.last %} · {% endif %}{% endfor %} | ||
Full details
{{ r.details | tojson(indent=2) }}
|
|||||||
| {{ empty_state('bi-shield-check', 'No audit events found.', 'Administrative actions will be recorded here as they happen.', reset_label='Reset filters', reset_url=url_for('admin.audit_logs'), compact=true) }} | |||||||