Fix conditionally rendered submission notice
This commit is contained in:
parent
7f2a2deeb5
commit
72d2524c22
1 changed files with 1 additions and 2 deletions
|
|
@ -101,8 +101,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 } ?>
|
<?php } else if ($game->status_id !== STATUS_DONE && !$submission) { ?>
|
||||||
<?php if ($game->status_id !== STATUS_DONE && !$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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue