From 9b2aec4057b01b66ec42193396a47a7f52b08354 Mon Sep 17 00:00:00 2001 From: sealion Date: Mon, 3 Mar 2014 15:24:45 +0400 Subject: [PATCH] Better display of success rates. --- app/templates/cabotapp/statuscheck_report.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/cabotapp/statuscheck_report.html b/app/templates/cabotapp/statuscheck_report.html index e0fc359..468cda3 100644 --- a/app/templates/cabotapp/statuscheck_report.html +++ b/app/templates/cabotapp/statuscheck_report.html @@ -19,6 +19,9 @@

{{ check.name }}

+ {% if check.success_rate != None %} +

Success rate: {{ check.success_rate|floatformat:"2" }}%.

+ {% endif %} {% if check.problems %} @@ -41,9 +44,6 @@
{% endif %} - {% if check.success_rate %} -

Success rate: {{ check.success_rate|floatformat:"2" }}%.

- {% endif %} {% endfor %} {% endif %} {% endblock content %}