{% extends "base.html" %} {% block title %}{{ t("health.title") }} ยท {{ site_name() }}{% endblock %} {% block content %}

{{ t("health.title") }}

{{ t("health.summary", notes=total, links=links) }} {% for type in ("project", "note", "journal", "source") %} {{ t("type." ~ type) }}: {{ counts.get(type, 0) }} {% endfor %}

{% if not issues and not orphans %}

{{ t("health.all_good") }}

{% endif %} {% if issues %}

{{ t("health.issues") }} ({{ issues|length }})

{% for issue in issues %} {% endfor %}
{{ t("health.file") }}{{ t("health.detail") }}
{{ issue.path }} {{ t("issue." ~ issue.kind) }}: {{ issue.detail }}
{% endif %}

{{ t("health.orphans") }}

{{ t("health.orphans_help") }}

{% if orphans %} {% else %}

{{ t("health.no_orphans") }}

{% endif %}
{% endblock %}