From 61833aacb4a3c7b4458e4e2ff9b037fcd382189e Mon Sep 17 00:00:00 2001 From: Matt Way Date: Wed, 4 Sep 2024 23:10:07 +1000 Subject: [PATCH] Use CSS class to control candidate tick colour --- php-template/template.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/php-template/template.php b/php-template/template.php index 500bd10..424c81f 100644 --- a/php-template/template.php +++ b/php-template/template.php @@ -149,7 +149,6 @@ if (isset($config["survey"])) { } $candidate_rating = str_repeat("✔️", max(0, min(5, $candidate['Rating']))); - $candidate_rating_colour = "green"; // If string is 5 ticks, insert a zero width space entity between the 3rd and 4th ticks so that it wraps nicer if ($candidate_rating == "✔️✔️✔️✔️✔️") { @@ -170,7 +169,7 @@ if (isset($config["survey"])) { -

+