FEAT: set new good/warn/bad levels

This commit is contained in:
Sebastian Mark 2021-06-14 09:50:32 +02:00
parent 824db10e0c
commit 678f837950

View file

@ -1,9 +1,9 @@
<!-- color of cases --> <!-- color of cases -->
{% if cases.new7_100k < 20 %} {% if cases.new7_100k < 10 %}
{% set new7_class = "good" %} {% set new7_class = "good" %}
{% elif cases.new7_100k > 50 %} {% elif cases.new7_100k > 50 %}
{% set new7_class = "bad" %} {% set new7_class = "bad" %}
{% elif cases.new7_100k > 35 %} {% elif cases.new7_100k > 10 %}
{% set new7_class = "warn" %} {% set new7_class = "warn" %}
{% endif %} {% endif %}