{% extends "workflow_kit/dashboard/base.html" %} {% load i18n %} {% block title %}{% trans "Overview" %} · {% trans "Workflow Dashboard" %}{% endblock %} {% block content %}

{% trans "Workflow Overview" %}

{% if can_view_analytics %}

{% trans "Active" %}

{{ metrics.active }}

{% trans "Completed" %}

{{ metrics.completed }}

{% trans "Pending Actions" %}

{{ pending_actions }}

{% trans "SLA Breaches" %}

{{ metrics.sla_breached }}

{% trans "Escalations" %}

{{ escalations.total }}

{% trans "Failed" %}

{{ metrics.failed }}

{% trans "Workflow Health" %}

{% if not workflow_health %}

{% trans "No workflow activity yet." %}

{% trans "Workflows will appear here once executions start." %}

{% else %} {% for row in workflow_health %} {% endfor %}
{% trans "Workflow" %} {% trans "Active" %} {% trans "Completion" %} {% trans "SLA" %}
{{ row.workflow }} {{ row.active }} {{ row.completion_rate|default:"—" }}% {{ row.sla_rate|default:"—" }}%
{% endif %}
{% else %}

{% trans "Welcome" %}

{% trans "You do not have permission to view workflow analytics. Aggregate metrics are available to staff or users with the view_analytics permission." %}

{% trans "Go to My Work" %}

{% trans "Pending Actions" %}

{{ pending_actions }}

{% endif %} {% endblock %}