{% set pending = requests | selectattr("status", "equalto", "pending") | list %} {% set history = requests | rejectattr("status", "equalto", "pending") | list %} {% if requests | length == 0 %}
Nothing yet — agents create requests with hma ask.
{% else %} {% if pending %} {% for q in pending %}
{{ q.severity }} expires in

{{ q.title }}

{% if q.description %}
${{ q.description }}
{% elif q.target %}
${{ q.target }}
{% endif %}
from {{ q.action_type or "agent" }}{{ q.created_at[11:19] }}Z
Biometrics may be required on the iOS app
{% endfor %} {% else %}
No pending approvals.
{% endif %}
Recent · decisions{{ history | length }} recorded
{% set sev_abbr = {"low": "low", "medium": "med", "high": "high", "critical": "crit"} %}
TimeStatusSevAction
{% for q in history %}
{{ q.created_at[11:19] }}Z {{ q.status }} {{ sev_abbr[q.severity] }} {{ q.title }}
{% endfor %}
{% endif %}