{#- Preview of a team checks file (vocation_pages._checks_html): the rules understood, the file's errors and, for each rule, the current pages that break it. Rendered alone, with `_`, `locale`, `preview`, `rules` ((rule, pages) pairs) and `synced`. -#} {%- if preview.checks.errors %} {%- endif %} {%- if rules %}
{% if synced %}{% endif %}{% for rule, count in rules %} {% if synced %}{% endif %} {% endfor %}
{{ _("Rule") }}{{ _("Checks") }}{{ _("Pages") }}{{ _("Pages that break it") }}
{{ rule.title }} {% if rule.blocks %}{{ _("blocks") }}{% else %}{{ _("warns") }}{% endif %}{% if rule.message %}
{{ rule.message }}{% endif %}
{{ _(rule.what()) }} {% if rule.paths %}{{ rule.paths|join(", ") }}{% else %}{{ _("all") }}{% endif %}{% if rule.skip %} {{ _("except {paths}", paths=rule.skip|join(", ")) }}{% endif %}{{ count }}
{%- if synced %}

{% if preview.complete %}{{ _(pl(preview.examined, "Counted on the {n} current page.", "Counted on the {n} current pages."), n=preview.examined) }}{% else %}{{ _("Count stopped after {n} pages: the space is large, the numbers are partial.", n=preview.examined) }}{% endif %}

{%- endif %} {%- elif not preview.checks.errors %}

{{ _("No rule: write a level-2 heading per rule, followed by its keys (- pattern: …).") }}

{%- endif %}