diff --git a/watchman/templates/watchman/dashboard.html b/watchman/templates/watchman/dashboard.html index 35d28ae..28d0fd7 100644 --- a/watchman/templates/watchman/dashboard.html +++ b/watchman/templates/watchman/dashboard.html @@ -3,7 +3,7 @@ {% load i18n %} {% block content %} -

{% trans 'System Status' %}{% if overall_status == 'OK' %} {% trans 'All systems up and running!' %}{% endif %}

+

{% trans 'System Status' %}{% if overall_status == 'OK' %} {% trans 'All systems up and running!' %}{% else %} {% trans 'WARNING - Some systems down!' %}{% endif %}

@@ -17,7 +17,7 @@

{% trans 'System Status' %}{% if overall_status == 'OK' %} {% trans ' {% for type in checks %} {% for thing in type.statuses %}

- + {% if thing.status == 'OK' %} @@ -57,5 +57,5 @@

{{ thing.error }}

{{ type.type|title }}{{ type.type|title }} {{ thing.name|title }}
-{% trans 'Click an error button to see the full traceback' %} +{% if overall_status != 'OK' %}{% trans 'Click an error button to see the full traceback' %}{% endif %}{# overall_status != 'OK' #} {% endblock %}{# status_content #}