mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 23:47:28 +02:00
Possibilité pour les équipes de resoumettre une vidéo si refus
This commit is contained in:
@ -16,6 +16,11 @@ if ($team == null)
|
||||
if ($user->getRole() == Role::ENCADRANT && $team->getEncadrantId() != $user->getId() || $team->getValidationStatus() != ValidationStatus::VALIDATED)
|
||||
require_once "server_files/403.php";
|
||||
|
||||
if (Phase::getCurrentPhase() != Phase::PHASE1) {
|
||||
if (!(Phase::getCurrentPhase() == Phase::PHASE12 && Video::getVideo(Reason::SOLUTION, $team) != NULL && (Video::getVideo(Reason::SOLUTION, $team, ValidationStatus::WAITING) == NULL || isset($_POST["upload"]))))
|
||||
require_once "server_files/403.php";
|
||||
}
|
||||
|
||||
$has_error = false;
|
||||
$error_message = null;
|
||||
|
||||
|
Reference in New Issue
Block a user