+ {% if overall_status %}
{% trans 'All systems up and running!' %}
{% else %}
{% trans 'WARNING - Some systems down!' %}
- {% endif %}
+ {% endif %}{# overall_status #}
@@ -32,18 +32,18 @@
+
{{ type.type|title }}
{{ thing.name|title }}
- {% if thing.status == 'OK' %}
+ {% if thing.ok %}
{% endfor %}{# for thing in type.statuses #}
@@ -55,20 +55,20 @@
{% trans 'Click an error button to see the full traceback' %}{% endif %}{# overall_status != 'OK' #}
+ {% if not overall_status %}{% trans 'Click an error button to see the full traceback' %}{% endif %}{# overall_status #}
{% endblock %}{# status_content #}
{% for type in checks %}
{% for thing in type.statuses %}
- {% if thing.status != 'OK' %}
-