mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 21:40:30 +02:00
Corrections mineures
This commit is contained in:
@ -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">
|
||||
|
@ -6,6 +6,12 @@ require_once "header.php";
|
||||
<h1 class="display-4">Mon compte</h1>
|
||||
</div>
|
||||
|
||||
<?php if (!$has_error && isset($send_document)) { ?>
|
||||
<div class="alert alert-success">
|
||||
Le fichier a été correctement envoyé !
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if (!$has_error && (isset($my_account) || isset($new_password))) {
|
||||
?>
|
||||
|
@ -6,12 +6,6 @@ require_once "header.php";
|
||||
<h1 class="display-4">Mon équipe</h1>
|
||||
</div>
|
||||
|
||||
<?php if (!$has_error && isset($send_document)) { ?>
|
||||
<div class="alert alert-success">
|
||||
Le fichier a été correctement envoyé !
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="alert alert-info">
|
||||
<strong>Nom de l'équipe :</strong> <?= $team->getName() ?>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user