{% if obj.value == 'running' %}
{% elif obj.value == 'error' %}
{% elif obj.value == 'stopped' %}
{% elif obj.value == 'finished' %}
{% endif %}