{% extends "admin/base.html" %} {% block title %}Audit Log{% endblock %} {% block content %}
| Time | User | Action | Category | Entity | Status | |
|---|---|---|---|---|---|---|
| {{ log.timestamp | truncate(length=19, end="") }} | {% if log.username %}{{ log.username }}{% else %}-{% endif %} | {{ log.action | replace(from="_", to=" ") | title }} | {{ log.category | title }} | {% if log.entity_type %}{{ log.entity_type }}{% if log.entity_title %}: {{ log.entity_title | truncate(length=30) }}{% elif log.entity_id %} #{{ log.entity_id }}{% endif %}{% else %}-{% endif %} | {% if log.status == "success" %}✓{% else %}✗{% endif %} | View |
{% if filter.action or filter.category or filter.username or filter.status or filter.search or filter.from_date or filter.to_date %}Try adjusting your filters.{% else %}Audit events will appear here as actions are performed.{% endif %}