{% extends 'hostile/base.html' %} {% load i18n humanize %} {% block details %}

{% translate "Intel Audit Logs" %}

{% translate "Immutable activity record of intel entries, verifications, pins, and approvals." %}

{% for log in logs %} {% empty %} {% endfor %}
{% translate "Timestamp (UTC)" %} {% translate "Officer / User" %} {% translate "Action" %} {% translate "Target Entity" %} {% translate "Details" %}
{{ log.timestamp|date:"Y-m-d H:i:s" }} UTC {{ log.user.username|default:"System" }} {% if log.action == "VERIFY" %} VERIFY {% elif log.action == "PIN" or log.action == "UNPIN" %} {{ log.action }} {% elif log.action == "CREATE" or log.action == "INGEST" %} {{ log.action }} {% else %} {{ log.action }} {% endif %} {{ log.target_model }}: {{ log.target_repr|default:log.target_id }} {{ log.details }}
{% translate "No audit logs recorded yet." %}
{% endblock %}