{# status/widget.html — compact dashboard summary + problem list #}
{{ up }}up {{ down }}down {{ pending }}pending
{% set problems = entries | rejectattr("status", "equalto", "up") | list %} {% if not entries %}
No monitors configured.
{% elif not problems %}
✓ All {{ up }} monitors are up.
{% else %}
{% for e in problems[:8] %}
{{ e.name }} {{ e.kind }} {{ e.status }}
{% endfor %} {% if problems|length > 8 %}
+{{ problems|length - 8 }} more…
{% endif %}
{% endif %}