{% if corpus.hyperdata.statuses %}
{% for state in corpus.hyperdata.statuses %}
{% ifequal state.action "Workflow" %}
{% endifequal %}
{% endfor %}
{% else %}
{% endif %}
{% if corpus.hyperdata.statuses %}
{% for state in corpus.hyperdata.statuses %}
{% ifequal state.action "Workflow" %}
{% if state.complete %}
{% else %}
{% if state.error %}
{{ state.error }}
{% else %}
Upload
{% for state in corpus.hyperdata.statuses %}
{{ state.action }}
{% if not state.complete %}
Processing
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endifequal %}
{% endfor %}
{% else %}
Error at parsing. Please create a new corpus. If this error persists then report the bug with this id: {{ corpus.id }}.
{% endif %}