{% if job and job.status.value in ('queued', 'running') %} {{ 'pending' if job.status.value == 'queued' else 'running' }} {% endif %}