{% load i18n ui %}{% comment %} The sector job's progress (step 5, #90), polled by htmx while it is queued or running (stations:sector_progress, outerHTML swap). When the job has finished the view answers with HX-Redirect to the sector page, which shows the results or the error. Built from the progress and stages components, as stations/_results_progress.html. Parameters: job, analysis, phases, and jobs.views.progress_context. {% endcomment %}
{% if job.total %}{% blocktranslate with step=job.step total=job.total %}Step {{ step }} of {{ total }}.{% endblocktranslate %}{% else %}{{ job.get_status_display }}{% endif %} {% if elapsed %}{% blocktranslate %}Time so far: {{ elapsed }}.{% endblocktranslate %}{% endif %} {% if remaining %}{% blocktranslate %}About {{ remaining }} left.{% endblocktranslate %}{% endif %}
{% translate "Cancelling…" %}
{% endif %} {% if job.can_cancel %} {% endif %} {% endif %}