templates/montheatre/inscription.html.twig line 1

Open in your IDE?
  1. {% extends 'templates.html.twig' %}
  2. {% block headcontent %}
  3. <script type="text/javascript">
  4.     // image quand erreur
  5.     var img_error = '<br /><img src="/navigation/js/jquery-validate/img/error.png" alt="Email incorrect" style="vertical-align:middle;" />';
  6.     // image quand OK
  7.     var img_ok = '&nbsp;<img src="/navigation/js/jquery-validate/img/ok.png" alt="Correct" style="vertical-align:middle;" />';
  8. </script>
  9. <section class="tc-header row">
  10.     <header class="tc-panel-header-bg-black tc-panel">
  11.         <img style="width:100%" src="{{ racine_site }}/images/icones/fleurs-1165x150-cut.png" alt="Image d'entête de l'espace Mon Théâtre">
  12.         <div class="tc-desktop-2_3 tc-phone-1_1 tc-tablet-3_5">
  13.             <div class="tc-header row">
  14.                 <header>
  15.                     <h1 class="tc-pre-large-logo">Inscription</h1>
  16.                 </header>
  17.             </div>
  18.         </div>
  19.     </header>
  20. </section>
  21. {% include 'includes/navigation.inc.html.twig' %}
  22. {% endblock %}
  23. {% block content %}
  24. <main class="tc-desktop-2_3 tc-phone-1_1">
  25.     <section class="tc-panel">
  26.     {% if change_mode is not defined or change_mode == false %}
  27.         <div class="tc-panel-header">
  28.             {% if from_module_titre is not defined or (from_module_titre is defined and not from_module_titre) %}
  29.                 {% set from_module_titre = '' %}
  30.             {% endif %}
  31.             {% if inscription_ok is defined and inscription_ok %}
  32.                 <h2>{{ titre_confirmation|raw }} {{ from_module_titre|raw }}</h2>
  33.             {% else %}
  34.                 <h2 >{{ titre_inscription|raw }} {{ from_module_titre|raw }}</h2>
  35.             {% endif %}
  36.             {% if from_module_logo is defined and from_module_logo %}
  37.                 <h2><img src="/images/menu/logo/{{ from_module_logo }}" alt="{{ from_module_nom }}" /></h2>
  38.             {% endif %}
  39.         </div>
  40.     {% endif %}
  41.     <div class="tc-panel-body">
  42.     {% if inscription_ok is defined and inscription_ok %}
  43.         {% if change_mode is not defined or (change_mode is defined and not change_mode) %}
  44.             <div class="tc-block">
  45.             {% if attente_validation is defined and attente_validation %}
  46.                 <div class="tc-block-header">
  47.                     <h4 class="tc-neutral-color">Etape [1/2] : Vous devez maintenant confirmer votre inscription à mon théâtre en consultant vos courriels !</h4>
  48.                 </div>
  49.                 <div class="tc-block-body">
  50.                     <p>Un message vient de vous être envoyé <strong>à l'adresse {{ email_validation }}</strong>.<br />
  51.                     Il vous suffit de <strong>cliquer sur le lien</strong> qui se trouve dans ce courriel pour valider votre inscription.</p>
  52.                 </div>
  53.                 <div class="tc-block-header">
  54.                     <h4 class="tc-neutral-color">Etape [2/2] : Accès à l'Espace Enseignants en attente de validation</h4>
  55.                 </div>
  56.                 <div class="tc-block-body">
  57.                     <p><span>ATTENTION, votre inscription doit être validée !</span>
  58.                         L'accès aux fonctionnalités réservées aux enseignants est validé par l'administrateur du site,
  59.                         pendant les jours ouvrables (du lundi au vendredi, de 9h30 à 16h30).
  60.                         Vous serez alerté(e) par courriel dès validation.
  61.                     </p>
  62.                 </div>
  63.             {% else %}
  64.                 <div class="tc-block-body">
  65.                     <span>Vous devez maintenant confirmer votre inscription en consultant vos courriels !</span><br /><br />
  66.                     Un message vient de vous être envoyé <strong>à l'adresse {{ email_validation }}</strong>.<br />
  67.                     Il vous suffit de <strong>cliquer sur le lien</strong> qui se trouve dans ce courriel pour valider votre inscription.
  68.                 </div>
  69.             {% endif %}
  70.             </div>
  71.         {% else %}
  72.             <div class="tc-block">Les modifications sur votre profil ont bien été enregistrées.
  73.                 {% if modif_email is defined and modif_email %}
  74.                 <br /><br /><span style="color: #C30; font-weight: bold; font-size: 14px;">Attention, vous avez modifié votre adresse de courriel.
  75.                     Un message vient de vous être envoyé à la nouvelle adresse {{ email_validation }}.
  76.                     Vous devez le consulter et cliquer sur le lien qu'il contient pour valider ce changement d'adresse.</span><br /><br />
  77.                 {% endif %}
  78.                 Vous pouvez retourner sur <a href="/montheatre/">votre page</a> mon théâtre.</div>
  79.         {% endif %}
  80.     {% else %}
  81.         {% include 'includes/result.inc.html.twig' %}
  82.         {% if from_module_include is defined and from_module_include %}
  83.             {% include 'montheatre/inscription_'~from_module~'.inc.html.twig' %}
  84.         {% else %}
  85.             {% include 'montheatre/inscription_normal.inc.html.twig' %}
  86.         {% endif %}
  87.     {% endif %}
  88.     </div>
  89.     </section>
  90. </main>
  91. {% endblock %}