{% if status == "pending" %}
Pending
{% elif status == "running" %}
Running
{% elif status == "completed" %}
Completed
{% elif status == "aborted" %}
{% if aborted_by %}
Aborted
{% else %}
Aborted
{% endif %}
{% elif status == "blocked" %}
Blocked
{% endif %}