{% set badge = {'pending': 'no_op', 'claimed': 'running', 'done': 'success', 'failed': 'failed', 'cancelled': 'cancelled'}.get(p.status, 'no_op') %} #{{ p.id }} {{ p.source }} {{ p.status }} {% if p.status in ('pending', 'claimed') %} {% endif %} {{ p.requested_by }} {{ p.created_at or '—' }}