1
0
Fork 0

Show "No submission" message during all non-enrolling game states

This commit is contained in:
Ainsley Ellis 2025-01-13 22:57:28 -05:00
parent 6559eb7e2a
commit 0342764081

View file

@ -102,7 +102,7 @@ include "partials/head.php";
) { ?> ) { ?>
<p>You haven't submitted work to this contest.</p> <p>You haven't submitted work to this contest.</p>
<p><a href="/games/<?= $game->id ?>/submit" class='call-to-action'>Submit to <?= $game->name ?></a></p> <p><a href="/games/<?= $game->id ?>/submit" class='call-to-action'>Submit to <?= $game->name ?></a></p>
<?php } else if ($game->status_id !== STATUS_DONE && !$submission) { ?> <?php } else if ($game->status_id !== STATUS_ENROLLING && !$submission) { ?>
<p>You didn't submit a work to this contest.</p> <p>You didn't submit a work to this contest.</p>
<?php } ?> <?php } ?>
</div> </div>