{# What these hits are for. It rides inside `#hits`, which is what htmx replaces, so every swap restates it; `searching.js` compares it with the form to decide whether the page is up to date. A marker outside the swapped region would keep saying whatever it said when the page was first drawn. An id rather than a class because it carries no styling, and every class a template uses has to be styled - a test says so. #} {% if problem %}
{{ problem }}
{% if resolution is for_the_window %}{{ resolution }}
{% endif %}{{ nothing }}
{% endif %} {# The sweep ran but not the way it was asked to: there are results, and they are lexical ones (#381). One notice for every collection it applies to, and the step that would change it. #} {% if keywords_only %}{{ icon("info") }}{{ keywords_only.sentence }} {{ keywords_only.label }}
{% endif %} {% for skip in skips %}{{ skip.names }}{{ skip.resolution }}
{% endfor %} {# The scale, once, ahead of every group (#408). A `{{ summary }}
{% if orders %} {% endif %}{{ key_models(key.models) }}
{% endif %}{{ key_order }}
{{ order_limit }}
{% endif %} {% for group in groups %}{{ hit.title }} {{ icon("arrow-up-right") }}
{# Which section the passage is from; the title is the document's alone. Marked, so `safe`. #} {% if hit.passage.heading %}{{ icon("hash") }}{{ hit.passage.heading | safe }}
{% endif %} {# The handle ends the row, where the mockup puts the citekey. #}{% for measure in hit.measures %} {# The colour is the level's, on every filled cell; the count of filled cells and the word say the same without colour (#421). #} {{ icon(measure.icon) }}{{ measure.label }}{% for cell in range(1, 6) %}{% endfor %}{{ measure.level }} {% endfor %} {% if hit.version %}{{ hit.version }}{% endif %} {{ hit.handle }}