{# Live status line for one conversion job. Self-polls until terminal, then stops (no hx-get on a finished job). Rendered into #run-result by the run endpoint, and re-fetched from /partials/job/{id}. #}
{% if job.status == 'pending' %} ⏳ Queued job #{{ job.id }} — waiting for a worker… {% elif job.status == 'running' %} ▶ Running job #{{ job.id }}{% if job.current_step %} · {{ job.current_step }}{% endif %} … {% elif job.status == 'succeeded' %} ✓ Job #{{ job.id }} finished — reload to see output {% else %} ✗ Job #{{ job.id }} {{ job.status }}{% if job.error %} — {{ job.error | truncate(160) }}{% endif %} {% endif %}