Skip to content

Commit

Permalink
Fix elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
nickygerritsen committed Nov 22, 2024
1 parent 706fc05 commit 6a6ae10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Twig/TwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ public function problemBadgeMaybe(ContestProblem $problem, ScoreboardMatrixItem
if (!$matrixItem->isCorrect) {
if ($matrixItem->numSubmissionsPending > 0) {
$ret = '<span><span class="mobile-pending">' . $ret . '</span></span>';
} else if ($matrixItem->numSubmissions > 0) {
} elseif ($matrixItem->numSubmissions > 0) {
$ret = '<span><span class="strike-diagonal">' . $ret . '</span></span>';
}
}
Expand Down

0 comments on commit 6a6ae10

Please sign in to comment.