diff --git a/app/settings.php b/app/settings.php index e8771ac3daf69c5d9780dde0b7ed2d0eda338305..06e791998a29164bc41fb5d541a532b18ebcb198 100644 --- a/app/settings.php +++ b/app/settings.php @@ -60,6 +60,7 @@ return [ 'date_debut' => '2020-07-07', 'date_fin' => '2020-07-10', 'limite' => '2020-05-30', + 'ouverture' => '2020-02-24', 'inscription_j1' => '2020-02-29', 'inscription_j2' => '2020-04-30', 'inscription_j3' => '2020-06-23', diff --git a/app/templates/home.twig b/app/templates/home.twig index f52d36e531a373bfd2d173dc26f3ad847e837712..1fc878ec314704d7cae49ba2741208bd798a4752 100644 --- a/app/templates/home.twig +++ b/app/templates/home.twig @@ -51,6 +51,9 @@ {% if jdev.version < 4 %} <img src="images/news.png"> <i class="fa fa-arrow-circle-o-right"></i> + {% if jdev.version == 0 %} + Ouverture des inscriptions le {{ jdev.ouverture | date('d/m/Y')}} + {% endif %} {% if jdev.version > 0 %} Inscriptions ouvertes! Appel à <a href="http://devlog.cnrs.fr/jdev2020#appel-%C3%A0-contribution" target="_blank">contribution</a> à venir! {% endif %} diff --git a/app/templates/inscription.twig b/app/templates/inscription.twig index 9ceea1d29ecaf5fd95769aedabef3c27f08aebaf..e664086225139d439d12c98cbe406747f0238d22 100644 --- a/app/templates/inscription.twig +++ b/app/templates/inscription.twig @@ -352,7 +352,7 @@ </div> {% else %} {% if jdev.version == 0 %} - <h4><i class="fa fa-times-circle" aria-hidden="true"></i> Les Inscriptions ne sont pas encore ouvertes</h4> + <h4><i class="fa fa-times-circle" aria-hidden="true"></i> Ouverture des inscriptions le {{ jdev.ouverture | date('d/m/Y')}}</h4> {% else %} <h4><i class="fa fa-times-circle" aria-hidden="true"></i> Les Inscriptions sont closes</h4> {% endif %}