{% extends "base.html" %} {% block title %}Approvals | Suvra{% endblock %} {% block content %}

Approvals

Review and decide pending requests.

{% if message %}

{% if message == "approved" %} Approval updated to approved. {% elif message == "denied" %} Approval updated to denied. {% elif message == "executed" %} Approval approved and action executed. {% elif message == "error" %} Failed to update approval{% if error_message %}: {{ error_message }}{% endif %}. {% else %} {{ message }} {% endif %}

{% endif %}
{% if current_query %} Clear {% endif %}

Showing {{ result_count }} results

{% if approvals|length == 0 and selected_status == 'pending' %}

No pending approvals.

{% endif %} {% for row in approvals %} {% else %} {% endfor %}
Created Actor Action Target Risk Status Approval ID Actions
{{ row.created_at }} {{ row.actor }} {{ row.title }} {{ row.target }} {{ row.risk_level }} {{ row.status }} {{ row.approval_id[:12] }}{% if row.approval_id|length > 12 %}...{% endif %} {% if row.status == "pending" %}
{% else %} Closed {% endif %}
Details

{{ row.summary }}

{% for label, value in row.key_fields %}
{{ label }}
{{ value }}
{% endfor %}
No approvals found.
{% endblock %}