{% extends 'ls_portal/base.html' %} {% block body_class %}chat-page{% endblock %} {% block content %}
Haigh Environmental Executive Assistant

Approvals

Luke approval queue for external write actions.
{{ approval_summary.pending_approval_count }}
Pending
{{ approval_summary.approved_count }}
Approved
{{ approval_summary.completed_count }}
Completed
{{ approval_summary.denied_count }}
Denied
{{ approval_summary.failed_count }}
Failed
Current approver: {{ approval_actor.name or approval_actor.username or 'Unknown' }}. This screen is backed by the external write guardrail log used before Monolith writes into connected systems such as Synchroteam.
{% if active_view == 'processed' %}
Processed requests
{% for row in processed_events %}
{{ row.operation_name }} · {{ row.system_name }}
Request #{{ row.id }} · {{ row.source_name }}
{{ row.status.replace('_', ' ') }}
Actor: {{ row.actor_name or row.actor_username or row.triggered_by or '-' }}
Updated: {{ row.updated_at or row.created_at }}
{% else %}
No processed approval history yet.
{% endfor %}
{% else %}
{% if pending_events %} {% for row in pending_events %}
{{ row.operation_name }} · {{ row.system_name }}
Request #{{ row.id }} · {{ row.source_name }}
Pending approval {{ row.record_count_estimate or 0 }} records
Triggered by: {{ row.actor_name or row.actor_username or row.triggered_by or '-' }}
Requested: {{ row.approval_requested_at or row.created_at }}
Method: {{ row.http_method or '-' }}
Endpoint: {{ row.target_endpoint or '-' }}
{% if row.notes %}
{{ row.notes }}
{% endif %}
Open audit
{% endfor %} {% else %}
No pending approval requests.
{% endif %}
{% endif %}
{% endblock %}