{#- Audit rows, newest first. Expects: events, more_qs. A `live.action` fills every column, a change to the policy, a stand or a session's switch only those it has. -#} {% for e in events %} {%- set p = e.payload %} {%- set live = e.kind == "live.action" %} {{ p.get("session") or e.actor }} {% if p.get("project") %}{{ p.project }}{% endif %} {{ p.get("environment") or "" }} {% if live %} {{ p.get("tool") }} {{ p.get("command") }} {{ p.get("decision") }} {{ p.get("level") }} {{ p.get("rule") or "" }} {% else %} {{ e.kind }} {{ e|event_detail }} ({{ e.actor }}) {% endif %} {% if p.get("key") and p.get("project") %}{{ p.key }}{% endif %} {% endfor %} {% if more_qs %} Load more {% endif %}