{% if portlet_entity.status == model.STATUS_FINISHED %}
{% endif %}
{% if portlet_entity.status == model.STATUS_ERROR %}
ERROR: {{ portlet_entity.error_msg }}
{% elif portlet_entity.status == model.STATUS_CANCELED %}
STATUS: Operation canceled by user!
{% elif portlet_entity.status == model.STATUS_STARTED %}
STATUS: Operation is still running!
{% elif portlet_entity.status == model.STATUS_PENDING %}
STATUS: Operation is pending!
{% endif %}
{% if not model.has_finished(portlet_entity.status) %}