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' %}