1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 19:37:23 +02:00

Diffusion des vidéos

This commit is contained in:
galaxyoyo
2019-09-24 10:08:53 +02:00
parent 061e83fd58
commit 32e47f73f3
10 changed files with 56 additions and 26 deletions

View File

@ -9,7 +9,7 @@ if (!$has_error && isset($send_document))
Nom de l'équipe : <?= $team->getName() ?><br/>
Trigramme : <?= $team->getTrigram() ?><br/>
Problème : <a href=""><?= $team->getProblem() ?></a><br/>
Problème : <a href="/probleme/<?= $team->getProblem() ?>"><?= $team->getProblem() ?></a><br/>
<?php
if ($team->getEncadrantId() !== null) {
$encadrant = User::fromId($team->getEncadrantId());
@ -25,7 +25,9 @@ for ($i = 1; $i <= 5; ++$i) {
}
?>
Code d'accès : <strong><?= $team->getAccessCode() ?></strong><br/>
Code d'accès : <strong><?= $team->getAccessCode() ?></strong><br />
<!--suppress HtmlUnknownTarget -->
Autorise Animath à diffuser mes vidéos : <?= $team->allowPublish() ? "oui" : "non" ?> (<a href="/mon-equipe/diffusion-videos">changer</a>)<br />
<?php if (date("Y-m-d H:i:s") >= $CONFIG->getInscriptionDate() && $team->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
<strong>La date limite d'inscription est dépassée, vous ne pouvez plus demander la validation de votre équipe.</strong>
@ -77,7 +79,7 @@ for ($i = 1; $i <= 5; ++$i) {
<?php } else { ?>
<?php if ($_SESSION["team_validation_status"] == ValidationStatus::NOT_READY) { ?>
<?php if ($team->getValidationStatus() == ValidationStatus::NOT_READY && date("Y-m-d H:i:s") <= $CONFIG->getInscriptionDate()) { ?>
<!--suppress HtmlUnknownTarget -->
<a href="/mon-equipe/modifier">Modifier mon équipe</a>
<?php } ?>
@ -92,16 +94,6 @@ for ($i = 1; $i <= 5; ++$i) {
<input type="hidden" name="type" value="photo_consent"/>
<table style="width: 100%;">
<tbody>
<?php /* <tr>
<td>
<label for="type">Type de document :</label>
</td>
<td>
<select style="width: 100%;" id="type" name="type">
<option value="photo_consent">Autorisation de droit à l'image</option>
</select>
</td>
</tr> */ ?>
<tr>
<td>
<label for="file">Fichier :</label>