{# 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. #} {# What the results are kept to, and the way back to everything (#625). #} {% if kept_tags %}
{% endif %} {% 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 %} {# A scope searched with another model, or by keywords because its model could not be used, each with its way out (issue #16). #} {% for notice in model_notices %}{{ notice.sentence }}{% if notice.resolution %}{{ notice.resolution }}{% endif %}
{% 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 %}{{ 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 }}