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

Corrections mineures

This commit is contained in:
Yohann
2019-10-05 00:24:31 +02:00
parent 66421eefb3
commit 9de0491755
7 changed files with 20 additions and 12 deletions

View File

@ -33,13 +33,15 @@ if (!$has_error) {
<div class="form-group col-md-12">
<label for="team">Attribuer une équipe :</label>
<select class="custom-select" id="team" name="team">
<option value="no_team">Choisir une équipe ...</option>
<?php
/** @var Team $t */
foreach (Team::getAllTeams(-1) as $t) {
if ($t->getValidationStatus() != ValidationStatus::NOT_READY)
continue;
$team_name = $t->getName() . " (" . $t->getTrigram() . "), problème " . $t->getProblem();
$team_name = $t->getName() . " (" . $t->getTrigram() . "), "
. ($t->getProblem() == 0 ? "pas de problème choisi" :"problème " . $t->getProblem());
$team_id = $t->getId();
echo "<option value=\"$team_id\">$team_name</option>\n";
}
@ -78,6 +80,7 @@ if (!$has_error) {
<div class="alert alert-info">
<strong>Adresse e-mail :</strong> <a href="mailto:<?= $user->getEmail() ?>"><?= $user->getEmail() ?></a>
<?= $user->getConfirmEmailToken() == null ? "" : "(<em>non validée</em>)" ?>
</div>
<div class="alert alert-info">