{% extends "base.html" %} {% block title %}{{ job.label if job else 'Job not found' }}{% endblock %} {% block content %} {% if not job %}
Hermit keeps the last 50 background jobs. This one is not among them (or the link is wrong).
{% else %}{% if job.state == 'queued' %}Waiting to start{% else %}Working{% endif %} {{ job.steps }}
{{ job.progress }}
You can leave this page: the work goes on, and the badge at the top says when it is ready.{% if refresh %}{% endif %}
{% elif job.state == 'done' %}Done{% if job.steps %} {{ job.steps }}{% endif %}
{% elif job.state == 'failed' %}Failed{% if job.steps %} after {{ job.steps }}{% endif %}
{{ job.error }}
{% else %}Interrupted{% if job.steps %} after {{ job.steps }}{% endif %}
{{ job.error }}
{% endif %} {% if job.finished and job.result.lines %}Started {{ job.created | replace('T', ' ') }}{% if job.ended %} · ended {{ job.ended | replace('T', ' ') }}{% endif %}
{% if job.finished and job.result.link %}{{ job.result.link_text or 'Open the result' }} {% endif %}Back
{% endif %} {% endblock %}