{# Status partial for a single download job. Variables expected: source (str), job (DownloadJob | None) When the job is non-terminal, htmx polls this endpoint every 2 s. When the job reaches done/failed, polling stops automatically. #} {% if job %} {% set is_terminal = job.state == "done" or job.state == "failed" %}
{{ s.new }} new · {{ s.duplicates }} duplicate(s) · {{ s.categorized }} categorized
{% if s.files %}