{# Replaces #logbox. While the job runs, keep the every-1s poll; once done, drop the trigger so polling stops. #}
{{ log_text }}{% if not log_text %}(no output yet){% endif %}
{% if done and job %}{{ job.status }} · exit {{ job.exit_code if job.exit_code is not none else "—" }}
{% endif %}