Changements mineurs

This commit is contained in:
Yohann 2019-10-04 23:39:34 +02:00
parent 57b8f7bdfe
commit 66421eefb3
2 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,9 @@
<strong>Trigramme :</strong> <?= $team->getTrigram() ?>
</div>
<div class="alert alert-info">
<strong>Problème :</strong> <a href="/probleme/<?= $team->getProblem() ?>"><?= $team->getProblem() ?></a>
<strong>Problème :</strong> <a href="/probleme/<?= $team->getProblem() ?>">
<?= $team->getProblem() == 0 ? "Pas de problème choisi" : $team->getProblem() ?>
</a>
</div>
<div class="alert alert-<?= $team->getValidationStatus() == ValidationStatus::VALIDATED ? "success" : ($team->getValidationStatus() == ValidationStatus::WAITING ? "warning" : "danger") ?>">
<strong>Validation de l'équipe
@ -39,8 +41,8 @@
<?php
if ($_SESSION["role"] == Role::ADMIN) { ?>
<hr/>
<? if ($team->getValidationStatus() == ValidationStatus::VALIDATED) { ?>
<hr/>
<!--suppress HtmlUnknownTarget -->
<a href="/suivi-tournoi#team-<?= $team->getTrigram() ?>"><button class="btn btn-primary btn-lg btn-block">
Aller aux vidéos de l'équipe</button></a><br />

View File

@ -67,7 +67,7 @@ if (!$has_error) {
<div class="alert alert-info">
<strong>Lycée :</strong> <?= $user->getSchool() ?><br/>
<strong>Ville :</strong> <?= $user->getCity() ?><br/>
<strong>Payer :</strong> <?= $user->getCountry() ?><br/>
<strong>Pays :</strong> <?= $user->getCountry() ?><br/>
<strong>Classe :</strong> <?= SchoolClass::getTranslatedName($user->getClass()) ?>
</div>
<?php } elseif ($user->getDescription() != "") { ?>