{# #374: the store section of /ui/health: `tkt doctor --json`, or the refusal of a doctor that cannot run. A hint's `command` shows as code; nothing here runs it. The findings are grouped by severity, worst first (#376). #} {% from "_health_groups.html" import level_groups %} {% if error %}

Store

Run it yourself: {{ cmd }}

{% else %}

Store

{% if not report.findings %}

The store is healthy: {{ cmd }} found nothing.

{% else %}

{% if state == "ok" %}The store is healthy; {% else %}{{ cmd }} found {% endif %}{{ counted }}.

{% call(f) level_groups(groups, ("Code", "Location", "Message", "Fix")) %} {{ f.code }} {{ f.target }}{% if f.line %}:{{ f.line }}{% endif %}{% if f.field %} ({{ f.field }}){% endif %} {{ f.message | codespans }} {{ f.hint | codespans }} {% endcall %} {% endif %} {% if report.mergeDrivers and report.mergeDrivers.hint %}

{{ report.mergeDrivers.hint | codespans }}

{% endif %}

Ids from: {{ report.counter }}. Warnings as errors: {{ cmd }} --strict.

As JSON: {{ cmd }} --json
{{ report | tojson(indent=2) }}
{% endif %}