{% from "macros.html" import job_row, empty_state with context %}
{{ jobs|length }} result{{ '' if jobs|length == 1 else 's' }} for “{{ query }} {% if exact %}· exact id match{% endif %} · scanned the most recent {{ scan_limit }} {{ state }} jobs
{% for j in jobs %}{{ job_row(name, j, j.state or state) }} {% else %}
{{ empty_state('search', 'no jobs match “' ~ query ~ '”') }}
{% endfor %}