{{ done }}/{{ total }} done {% for label, n in counts %}{{ label }}: {{ n }}{% endfor %}
{% if stopped_msg %}{{ stopped_msg }}
{% elif snap %}{{ snap.state_text }}
{% if pause_pending %}Pause requested: finishing the current item, then stopping.
{% endif %} {% if cancel_pending %}Cancel requested: stopping before the next item.
{% endif %} {% if snap.wait_left > 0 %}Next action in {{ format_duration(snap.wait_left) }} ({{ snap.reason }})
{% endif %} {% else %}This job is running in another process (for example the terminal).
{% endif %} {% if snap and snap.log %}{{ snap.log[-15:]|join("\n") }}