Show a single red cross for candidates rated 1 or below
This commit is contained in:
1 parent
6a7291e677
commit
26a9ed4ad4
1 file changed
+5
@@ -57,8 +57,13 @@
|
||||
$candidate_image = $media['default.png'];
|
||||
}
|
||||
|
||||
if ($candidate['Rating'] > 1) {
|
||||
$candidate_rating = str_repeat("✔️", min(5, $candidate['Rating']));
|
||||
$candidate_rating_colour = "green";
|
||||
} else {
|
||||
$candidate_rating = "❌";
|
||||
$candidate_rating_colour = "red";
|
||||
}
|
||||
|
||||
// If string is 5 ticks, insert a zero width space between the 3rd and 4th ticks so that it wraps nicer
|
||||
if ($candidate_rating == "✔️✔️✔️✔️✔️") {
|
||||
|
||||
Reference in new issue
Block a user