From 549dd85093de7d71b068f34953f8c904c6501701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Kel=C4=8D=C3=A1k?= Date: Sun, 13 Oct 2024 13:23:56 +0200 Subject: [PATCH] Update panel.twig --- templates/partials/panel.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/panel.twig b/templates/partials/panel.twig index 02a6270..145ad33 100644 --- a/templates/partials/panel.twig +++ b/templates/partials/panel.twig @@ -1,4 +1,4 @@ -{% macro progress(percentage, type = 'lower') %} +{% macro progress(percentage, type='lower') %} {% if type == 'higher' %}{# higher is better #} {% if percentage >= 80 %} {% set color = 'bg-green-600' %}