mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-23 23:08:46 +02:00
Nombreux changements mineurs
This commit is contained in:
@ -90,40 +90,49 @@
|
||||
<?php } else { ?>
|
||||
|
||||
<div class="alert alert-<?= Phase::getCurrentPhase() == Phase::INSCRIPTION ? "warning" : "success" ?>">
|
||||
<?= Phase::getTranslatedName(Phase::INSCRIPTION) ?> :
|
||||
<?= Phase::getTranslatedName(Phase::INSCRIPTION) ?> :
|
||||
<strong><?= formatDate($CONFIG->getInscriptionDate(), true) ?></strong>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-<?= Phase::getCurrentPhase() < Phase::PHASE1 ? "danger" : (Phase::getCurrentPhase() == Phase::PHASE1 ? "warning" : "success") ?>">
|
||||
<?= Phase::getTranslatedName(Phase::PHASE1) ?> :
|
||||
<?= Phase::getTranslatedName(Phase::PHASE1) ?> :
|
||||
Du <strong><?= formatDate($CONFIG->getStartPhase1Date(), true) ?></strong> au
|
||||
<strong><?= formatDate($CONFIG->getEndPhase1Date(), true) ?></strong>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-<?= Phase::getCurrentPhase() < Phase::PHASE2 ? "danger" : (Phase::getCurrentPhase() == Phase::PHASE2 ? "warning" : "success") ?>">
|
||||
<?= Phase::getTranslatedName(Phase::PHASE2) ?> :
|
||||
<?= Phase::getTranslatedName(Phase::PHASE2) ?> :
|
||||
Du <strong><?= formatDate($CONFIG->getStartPhase2Date(), true) ?></strong> au
|
||||
<strong><?= formatDate($CONFIG->getEndPhase2Date(), true) ?></strong>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-<?= Phase::getCurrentPhase() < Phase::PHASE3 ? "danger" : (Phase::getCurrentPhase() == Phase::PHASE3 ? "warning" : "success") ?>">
|
||||
<?= Phase::getTranslatedName(Phase::PHASE3) ?> :
|
||||
<?= Phase::getTranslatedName(Phase::PHASE3) ?> :
|
||||
Du <strong><?= formatDate($CONFIG->getStartPhase3Date(), true) ?></strong> au
|
||||
<strong><?= formatDate($CONFIG->getEndPhase3Date(), true) ?></strong>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-<?= Phase::getCurrentPhase() < Phase::PHASE4 ? "danger" : (Phase::getCurrentPhase() == Phase::PHASE4 ? "warning" : "success") ?>">
|
||||
<?= Phase::getTranslatedName(Phase::PHASE4) ?> :
|
||||
<?= Phase::getTranslatedName(Phase::PHASE4) ?> :
|
||||
Du <strong><?= formatDate($CONFIG->getStartPhase4Date(), true) ?></strong> au
|
||||
<strong><?= formatDate($CONFIG->getEndPhase4Date(), true) ?></strong>
|
||||
</div>
|
||||
|
||||
<?php if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||
<?php if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||
<!--suppress HtmlUnknownTarget -->
|
||||
<a href="/calendrier/modifier">
|
||||
<button class="btn btn-primary btn-block">Modifier le calendrier</button>
|
||||
<button class="btn btn-primary btn-lg btn-block">Modifier le calendrier</button>
|
||||
</a>
|
||||
<?php }
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
<hr/>
|
||||
|
||||
<a href="https://correspondances-maths.fr/participer/">
|
||||
<button class="btn btn-primary btn-lg btn-block">
|
||||
Comment participer aux Correspondances ?
|
||||
</button>
|
||||
</a>
|
||||
|
||||
<?php }
|
||||
|
||||
require_once "footer.php";
|
Reference in New Issue
Block a user