{% load humanize_short %} {# Django-Q2 cluster status, swapped into a (polling) wrapper in a card title #}
{% if error %}
Clusters: status unknown
{% else %} {% if stopped %}
{{ stopped }} stopped
{% endif %} {% if running %} {# one line per state, followed by one line per running cluster #}
{{ running|length }}/{{ configured }} running
{% endif %} {% endif %}