{% if is_alive is defined %}
{% if is_alive %}
Still running. Refresh the page to see latest progress.
{% else %} {% if error_message %}The import has failed and so the whole import has been rolled back. The reason for the failure is:
{{error_message}}{% else %}
The file has been imported successfully.
{% endif %} {% endif %}-
{% for line in log %}
- {{line}} {% endfor %}