{# Status of one background export job — see ExportStatusHandler (views.py) and export_jobs.py. Rendered both as a full page (direct navigation, e.g. from the "export started" toast's link) and as the self-polling htmx fragment that page embeds. Vars: - status: "queued" | "started" | "finished" | "failed" | "not_found" - result: the job's result dict (only set for "finished"/"failed"), or None - download_url: set only when status == "finished" and the job succeeded - self_url: this same status endpoint's URL, for the "still running" poll #} {% if status in ("queued", "started") %}