From bc4b0fb81f330a9f040582655caf171f79b88d2b Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Sun, 16 Feb 2025 13:51:38 +0100 Subject: [PATCH] Fix cell colors in legend. This broke in 7cb1de8d26. --- webapp/templates/partials/scoreboard_table.html.twig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/templates/partials/scoreboard_table.html.twig b/webapp/templates/partials/scoreboard_table.html.twig index 1d2591fc82..3893f25d37 100644 --- a/webapp/templates/partials/scoreboard_table.html.twig +++ b/webapp/templates/partials/scoreboard_table.html.twig @@ -551,6 +551,9 @@ {% for color, description in cellColors %} {% if color != 'pending' or showPending %} + {% if color == 'first' %} + {% set color = "correct score_first" %} + {% endif %} {{ description }}