diff --git a/web/template/syzoj/contest.php b/web/template/syzoj/contest.php index 20ef02c..c0834e3 100644 --- a/web/template/syzoj/contest.php +++ b/web/template/syzoj/contest.php @@ -97,7 +97,15 @@ "; - foreach($row as $table_cell){ + foreach($row as $cell_index => $table_cell){ + if ($cell_index === 0) { + $status_value = trim(strip_tags($table_cell)); + if ($status_value === 'Y') { + $table_cell = '✅'; + } else if ($status_value === 'N') { + $table_cell = '❌'; + } + } echo "
@@ -272,12 +277,11 @@ if ($pr_flag) {
0 && $soutput != "\n" || isset($_GET['spa'])) { ?>