{% extends "base.html" %} {% block content %}

{{ run.title }}

{% if run.status != 'completed' %}
{% endif %}
{{ run.status|replace('_', ' ') }} {{ run.process_type }} {{ run.task_generation|replace('_', ' ') }} {% if run.project_name %}{{ run.project_name }}{% endif %} {% if run.contact_first %}{{ run.contact_first }} {{ run.contact_last or '' }}{% endif %} {% if run.started_at %}Started {{ run.started_at.strftime('%Y-%m-%d') }}{% endif %} {% if run.completed_at %}Completed {{ run.completed_at.strftime('%Y-%m-%d') }}{% endif %}
Progress
{{ completed_steps }}/{{ total_steps }}

Steps

{% for step in steps %}
{% if step.status == 'completed' %}
{% else %}
{% endif %}
{{ loop.index }} {{ step.title }}
{% if step.instructions %}
{{ step.instructions }}
{% endif %} {% if step.completed_at %}
Completed {{ step.completed_at.strftime('%Y-%m-%d %H:%M') }}
{% endif %} {% if step.notes %}
{{ step.notes }}
{% endif %} {% if step.status != 'completed' %}
{% endif %} {% if step_tasks.get(step.id|string) %}
{% for task in step_tasks[step.id|string] %}
{{ task.status }} {{ task.title }}
{% endfor %}
{% endif %}
{% endfor %}
{% if tasks %}

Generated Tasks{{ tasks|length }}

{% for task in tasks %}
{{ task.title }} {% if task.project_name %}{{ task.project_name }}{% endif %} {{ task.status|replace('_', ' ') }}
{% endfor %}
{% endif %} {% endblock %}