{% if table.filters or table.orderings and not table.is_preview %}
{% widget table.filters %}
{% endif %}
{% if paginator %}
{% for workflow in paginator.page_obj %}
{% ui workflow as w %}
{{ workflow.workflow_display_name_parameters }}
{% workflow_runtime_status_small workflow %}
{% include "web/_work_request-result-small.html" with result=workflow.result only %}
{% spaceless %}
{% include "web/_badge-count.html" with title="Work requests completed successfully" bg_class="success" count=w.workflow_work_requests_success only %}
-
{% include "web/_badge-count.html" with title="Work requests terminated with a failure" bg_class="danger" count=w.workflow_work_requests_failure only %}
{% endspaceless %}
{% spaceless %}
{% include "web/_badge-count.html" with title="Pending work requests" bg_class="secondary" count=w.workflow_work_requests_pending only %}
-
{% include "web/_badge-count.html" with title="Blocked work requests" bg_class="dark" count=w.workflow_work_requests_blocked only %}
{% endspaceless %}
#{{ workflow.id }}
Started at {{ workflow.started_at|date:"Y-m-d H:i" }}
{% if workflow.created_by|has_perm:"can_display" %}
by {{ workflow.created_by }}
{% else %}
by {{ workflow.created_by }}
{% endif %}
{% if workflow.completed_at %}Completed at {{ workflow.completed_at|date:"Y-m-d H:i" }},{% endif %}
Last activity {{ workflow.workflow_last_activity_at|date:"Y-m-d H:i" }}
{% empty %}
There are no workflows matching the current filters.