{% extends "allianceauth/base-bs5.html" %} {% load i18n %} {% block page_title %}{% translate "Discord Audit Invocations" %}{% endblock %} {% block header_nav_brand %}{% translate "Discord Audit" %}{% endblock %} {% block content %} {% include "aa_discord_audit/_subnav.html" with active="invocations" %}

{% translate "Audit invocations" %}

{% translate "Every CLI / beat / manual trigger of the audit, including refused attempts. Refused rows do NOT count toward the per-user rate limit." %}

{% for inv in page_obj %} {% empty %} {% endfor %}
{% translate "ID" %} {% translate "Started at" %} {% translate "Triggered by" %} {% translate "User" %} {% translate "Accepted" %} {% translate "Refusal reason" %} {% translate "Argv" %} {% translate "Run" %}
{{ inv.pk }} {{ inv.started_at|date:"Y-m-d H:i:s" }} {{ inv.triggered_by }} {{ inv.triggered_by_user|default:"—" }} {% if inv.accepted %} {% translate "yes" %} {% else %} {% translate "no" %} {% endif %} {{ inv.refusal_reason|default:"—" }} {{ inv.cli_argv|join:" "|truncatechars:60 }} {% if inv.audit_run_id %} #{{ inv.audit_run_id }} {% elif inv.audit_run_pk %} #{{ inv.audit_run_pk }} {% translate "(pruned)" %} {% else %} — {% endif %}
{% translate "No invocations to display." %}
{% if page_obj.has_other_pages %} {% endif %} {% endblock %}