{% if table.filters or table.orderings and not table.is_preview %}
{% widget table.filters %}
{% endif %}
{% if paginator %}
{% for workflow in paginator.page_obj %}
{{ workflow.workflow_display_name_parameters }}
{% workflow_runtime_status_small workflow %}
{% include "web/_work_request-result-small.html" with result=workflow.result only %}
{% spaceless %}
{% with work_request_result_count=work_request_result_counts|lookup:workflow.id %}
{% include "web/_badge-count.html" with title="Work requests completed successfully" bg_class="success" count=work_request_result_count.success only %}
-
{% include "web/_badge-count.html" with title="Work requests terminated with a failure" bg_class="danger" count=work_request_result_count.failure only %}
{% endwith %}
{% endspaceless %}
{% spaceless %}
{% with work_request_status_count=work_request_status_counts|lookup:workflow.id %}
{% include "web/_badge-count.html" with title="Pending work requests" bg_class="secondary" count=work_request_status_count.pending only %}
-
{% include "web/_badge-count.html" with title="Blocked work requests" bg_class="dark" count=work_request_status_count.blocked only %}
{% endwith %}
{% endspaceless %}
#{{ workflow.id }}
Started at {{ workflow.started_at|date:"Y-m-d H:i" }}
by {{ workflow.created_by|user_link }}
{% 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.