{#- A card's approval requests. Expects: t (the task), approvals (ApprovalView), error. Refetched on live approval events. -#} {%- from "_approval_item.html" import approval_item -%}
{% if error %}{% endif %} {% if approvals.open %} {% elif not approvals.closed %}

No open request. A push, a merge or a change on a stand waits here for your Approve; agents ask with approval_request, and the guard opens one when it denies a call.

{% endif %} {#- With nothing open the decided ones are the content, shown without a second fold. #} {% if approvals.closed and not approvals.open %} {% elif approvals.closed %}
Decided ({{ approvals.closed|length }})
{% endif %}