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

Ops

Notifications, devices, and audit trail.
{{ state.active_devices }}
Devices
{{ state.pending_count }}
Queued
{{ state.running_count }}
Running
{{ state.completed_count }}
Done
{{ state.failed_count }}
Failed
{{ state.approvals_pending_count or 0 }}
Approvals
{{ state.todo_open }}
To-do
{{ state.work_open }}
Work
{{ state.project_open }}
Projects
{{ state.blocked_count }}
Blocked
{{ state.overdue_count }}
Overdue
Notifications
{% for row in notifications %}
{{ row.title }}
{{ row.created_at }} · {{ row.notification_type }} · {{ row.priority }}{% if row.status == 'unread' %} · unread{% endif %}
{% if row.body %}
{{ row.body }}
{% endif %} {% if row.status == 'unread' %}
{% endif %}
{% endfor %}
Approved devices
{% for device in devices %}
{{ device.label }}
{{ device.account_display_name or device.account_username }} · last seen {{ device.last_seen_at or device.created_at }}{% if device.last_seen_ip %} · {{ device.last_seen_ip }}{% endif %}
{% if current_device and device.id == current_device.id %}This device{% endif %} {% if device.revoked_at %}Revoked{% endif %}
{% if not device.revoked_at and ((current_account.can_manage_devices or current_account.is_superuser) or (current_device and device.id == current_device.id)) %}
{% endif %}
{% endfor %}
Activity log
{% for row in activity %}
{{ row.activity_type.replace('_', ' ') }}
{{ row.created_at }}{% if row.account_display_name %} · {{ row.account_display_name }}{% endif %}{% if row.device_label %} · {{ row.device_label }}{% endif %}
{% if row.input_text %}
{{ row.input_text }}
{% endif %} {% if row.output_text %}
{{ row.output_text }}
{% endif %}
{% endfor %}
{% endblock %}