{% extends "base.html" %} {% load i18n %} {% load url_tools %} {% load request_tools %} {% block title %} {% with request|tocorpus as corpus %} {% if finished %} {% trans "Corpus processed" %} {% else %} {% trans "Processing corpus..." %} | Unitex/GramLab | {{ corpus.title }} | {{ block.super }} {% endif %} {% endwith %} {% endblock title %} {% block content %} {% with request|tocorpus as corpus %} {% if finished %}

{% trans "Corpus processed" %} - {{ corpus.title }}

{% else %}

{% trans "Processing corpus..." %} - {{ corpus.title }}

{% endif %}
{{ logs.current_length }} {% trans "of" %} {{ logs.expected_length }}
{% if finished %} {% trans "Return to analysis" %} {% else %} {% endif %}
{% for task in logs.tasks %} {% endfor %}
{% trans "Task" %} {% trans "Status" %}
{% trans task.title %} {% if not task.began %} {% trans "Waiting" %} {% else %} {% if task.completed %} {% trans "Finished" %} {% else %} {% trans "Running" %} {% endif %} {% if task.errored %} {% trans "with errors" %} {% endif %} {% endif %}
{% endwith %} {% endblock content %}