From 678f837950ffd26b7c1e091fe005e6590058411c Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Mon, 14 Jun 2021 09:50:32 +0200 Subject: [PATCH] FEAT: set new good/warn/bad levels --- MMM-covid19.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMM-covid19.njk b/MMM-covid19.njk index 7cd3320..1529e0b 100644 --- a/MMM-covid19.njk +++ b/MMM-covid19.njk @@ -1,9 +1,9 @@ -{% if cases.new7_100k < 20 %} +{% if cases.new7_100k < 10 %} {% set new7_class = "good" %} {% elif cases.new7_100k > 50 %} {% set new7_class = "bad" %} -{% elif cases.new7_100k > 35 %} +{% elif cases.new7_100k > 10 %} {% set new7_class = "warn" %} {% endif %}