mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 04:28:46 +02:00
Possibilité pour les équipes de resoumettre une vidéo si refus
This commit is contained in:
@ -64,7 +64,15 @@
|
||||
<li class="nav-item active"><a class="nav-link" href="/ma-participation<?= $appendice ?>">Ma participation</a></li>
|
||||
<?php
|
||||
switch (Phase::getCurrentPhase()) {
|
||||
case Phase::PHASE1: ?>
|
||||
case Phase::PHASE1:
|
||||
case Phase::PHASE12:
|
||||
if (Phase::getCurrentPhase() == Phase::PHASE12) {
|
||||
if (Video::getVideo(Reason::SOLUTION, $_team) == NULL)
|
||||
break;
|
||||
else if (Video::getVideo(Reason::SOLUTION, $_team, ValidationStatus::WAITING) != NULL)
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<li class="nav-item active"><a class="nav-link" href="/envoyer-video-1<?= $appendice ?>">
|
||||
Envoyer ma vidéo (phase 1)</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user