var/cache/dev/twig/c2/c28af92f3f72b6491f36c99e0270cccaed19d93f7cf155c0519f87c35cac47d9.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* session/index.html.twig */
  14. class __TwigTemplate_e159539ca8b7084e7aa5db699d3cc8a0aee0a4f45b8256485fec1131c9092470 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'pixel' => [$this'block_pixel'],
  25.             'header' => [$this'block_header'],
  26.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""session/index.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""session/index.html.twig"));
  42.         $this->parent $this->loadTemplate("base.html.twig""session/index.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 4
  50.     public function block_title($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Liste des groupes collectifs", [], "messages");
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 6
  64.     public function block_pixel($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pixel"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pixel"));
  71.         // line 7
  72.         echo "    <!-- Convert Pixel -->
  73.     <script type=\"text/javascript\">!function(e,t){(e=t.createElement(\"script\")).src=\"https://cdn.convertbox.com/convertbox/js/embed.js\",e.id=\"app-convertbox-script\",e.async=true,e.dataset.uuid=\"4f52879f-6d67-4653-9761-5edfc32f78fd\",document.getElementsByTagName(\"head\")[0].appendChild(e)}(window,document);</script>
  74.     <!-- End Convert Pixel Code -->
  75. ";
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 13
  82.     public function block_header($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  89.         // line 14
  90.         echo "    ";
  91.         echo twig_include($this->env$context"partials/_navbar.html.twig");
  92.         echo "
  93. ";
  94.         
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  96.         
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  98.     }
  99.     // line 17
  100.     public function block_body($context, array $blocks = [])
  101.     {
  102.         $macros $this->macros;
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  107.         // line 18
  108.         echo "<div class=\"container content mt-5 p-4\">
  109.     <h1 class=\"mb-4\">";
  110.         // line 19
  111.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cours collectifs", [], "messages");
  112.         echo " <strong>";
  113.         echo twig_escape_filter($this->env, (((=== twig_compare((isset($context["local"]) || array_key_exists("local"$context) ? $context["local"] : (function () { throw new RuntimeError('Variable "local" does not exist.'19$this->source); })()), "fr"))) ? (twig_get_attribute($this->env$this->source, (isset($context["subject"]) || array_key_exists("subject"$context) ? $context["subject"] : (function () { throw new RuntimeError('Variable "subject" does not exist.'19$this->source); })()), "name", [], "any"falsefalsefalse19)) : (twig_get_attribute($this->env$this->source, (isset($context["subject"]) || array_key_exists("subject"$context) ? $context["subject"] : (function () { throw new RuntimeError('Variable "subject" does not exist.'19$this->source); })()), "nameEn", [], "any"falsefalsefalse19))), "html"nulltrue);
  114.         echo "</strong></h1>
  115. ";
  116.         // line 20
  117.         if ( !(null === (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'20$this->source); })()))) {
  118.             // line 21
  119.             echo "    ";
  120.             if (((=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source,             // line 22
  121. (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'22$this->source); })()), "openRegistrationDate", [], "any"falsefalsefalse22), "Y/m/d"))) && (-=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source,             // line 24
  122. (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'24$this->source); })()), "closeRegistrationDate", [], "any"falsefalsefalse24), "Y/m/d"))))) {
  123.                 // line 26
  124.                 echo "        <div class=\"ddio_countdown_wrap\"></div>
  125.     <div class=\"row\">
  126.         <div class=\"col mb-5\">
  127.             <h2>";
  128.                 // line 29
  129.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Groupe pour", [], "messages");
  130.                 echo " ";
  131.                 if ((=== twig_compare((isset($context["gender"]) || array_key_exists("gender"$context) ? $context["gender"] : (function () { throw new RuntimeError('Variable "gender" does not exist.'29$this->source); })()), "feminin"))) {
  132.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Femme", [], "messages");
  133.                     echo " ";
  134.                 } else {
  135.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Homme", [], "messages");
  136.                 }
  137.                 echo "</h2>
  138.             <hr>
  139.         </div>
  140.         <div class=\"alert alert-warning\">
  141.             <h3 class=\"mt-2 mb-4\"><strong>";
  142.                 // line 33
  143.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Votre niveau", [], "messages");
  144.                 echo "</strong></h3>
  145.             <p class=\"h5\">";
  146.                 // line 34
  147.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Il est impératif de passer un test de niveau avec un de nos professeurs avant de vous inscrire à un groupe. Ce test, constitue une étape essentielle pour vous orienter vers le groupe qui vous convient le mieux. Le prix du test est de 7€. Celui-i sera déduit de vos frais d'inscription, rendant ainsi le test sans frais supplémentaires une fois que vous intégrez nos rangs en tant qu'étudiant.", [], "messages");
  148.                 echo "</p>
  149.             <br>
  150.             <p><a target=\"_blank\" class=\"btn btn-primary btn-lg\" href=\"";
  151.                 // line 36
  152.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("test_placement", ["gender" =>                 // line 37
  153. (isset($context["gender"]) || array_key_exists("gender"$context) ? $context["gender"] : (function () { throw new RuntimeError('Variable "gender" does not exist.'37$this->source); })()), "tag" => twig_get_attribute($this->env$this->source,                 // line 38
  154. (isset($context["subject"]) || array_key_exists("subject"$context) ? $context["subject"] : (function () { throw new RuntimeError('Variable "subject" does not exist.'38$this->source); })()), "tagName", [], "any"falsefalsefalse38)]), "html"nulltrue);
  155.                 // line 39
  156.                 echo "\">";
  157.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Test de niveau (avec le professeur) pour", [], "messages");
  158.                 echo " ";
  159.                 echo twig_escape_filter($this->env, (((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["gender"]) || array_key_exists("gender"$context) ? $context["gender"] : (function () { throw new RuntimeError('Variable "gender" does not exist.'39$this->source); })()), "name", [], "any"falsefalsefalse39), "masculin"))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("HOMMES")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("FEMMES"))), "html"nulltrue);
  160.                 echo " &raquo;</a></p>
  161.             <br>
  162.             <p class=\"h5\">";
  163.                 // line 41
  164.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Si vous avez déjà été étudiant chez nous et que votre évaluation de niveau remonte à moins de six mois, vous avez la possibilité de sélectionner directement votre niveau sans passer par l'étape du test.", [], "messages");
  165.                 echo "</p>
  166.         </div>
  167.     </div>
  168.     <div class=\"row\">
  169.         <p class=\"alert alert-danger\"><strong>";
  170.                 // line 45
  171.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Rappel", [], "messages");
  172.                 echo "</strong> : ";
  173.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ce sont des horaires égyptiens. Pour connaître le décalage avec votre pays", [], "messages");
  174.                 // line 46
  175.                 echo "
  176.             <a target=\"_blank\" href=\"https://www.timeanddate.com/worldclock/egypt/cairo\"> ";
  177.                 // line 47
  178.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("cliquez-ici", [], "messages");
  179.                 echo "</a> ";
  180.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("(pour voir quelle heure il est actuellement en Egypte)", [], "messages");
  181.                 echo ".
  182.             ";
  183.                 // line 48
  184.                 if (((-=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->env"now""Y/10/30"))) && (=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->envtwig_date_modify_filter($this->envtwig_date_format_filter($this->env"now""Y/10/30"), (("-" twig_get_attribute($this->env$this->source, (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'48$this->source); })()), "sessionDurationByWeek", [], "any"falsefalsefalse48)) . "weeks")), "Y/m/d"))))) {
  185.                     // line 49
  186.                     echo "                ";
  187.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N'oubliez pas que l'Europe passera à l'heure d'hiver à la fin d'Octobre (l'Egypte changera d'heure aussi le dernier vendredi d'octobre)", [], "messages");
  188.                     echo ".
  189.             ";
  190.                 }
  191.                 // line 51
  192.                 echo "            ";
  193.                 if (((-=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->env"now""Y/03/28"))) && (=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->envtwig_date_modify_filter($this->envtwig_date_format_filter($this->env"now""Y/03/28"), (("-" twig_get_attribute($this->env$this->source, (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'51$this->source); })()), "sessionDurationByWeek", [], "any"falsefalsefalse51)) . "weeks")), "Y/m/d"))))) {
  194.                     // line 52
  195.                     echo "                ";
  196.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N'oubliez pas que l'Europe passera à l'heure d'été à la fin Mars (l'Egypte changera d'heure aussi le dernier vendredi d'avril)", [], "messages");
  197.                     echo ".
  198.             ";
  199.                 }
  200.                 // line 54
  201.                 echo "            ";
  202.                 if (((-=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->env"now""Y/05/01"))) && (=== twig_compare(twig_date_format_filter($this->env"now""Y/m/d"), twig_date_format_filter($this->envtwig_date_modify_filter($this->envtwig_date_format_filter($this->env"now""Y/05/01"), (("-" twig_get_attribute($this->env$this->source, (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'54$this->source); })()), "sessionDurationByWeek", [], "any"falsefalsefalse54)) . "weeks")), "Y/m/d"))))) {
  203.                     // line 55
  204.                     echo "                <strong>";
  205.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("l'Egypte changera passe à l'heure d'été le dernier vendredi d'avril (+1h)", [], "messages");
  206.                     echo ".</strong>
  207.             ";
  208.                 }
  209.                 // line 57
  210.                 echo "        </p>
  211.         ";
  212.                 // line 68
  213.                 echo "        ";
  214.                 $context['_parent'] = $context;
  215.                 $context['_seq'] = twig_ensure_traversable((isset($context["sessions"]) || array_key_exists("sessions"$context) ? $context["sessions"] : (function () { throw new RuntimeError('Variable "sessions" does not exist.'68$this->source); })()));
  216.                 $context['_iterated'] = false;
  217.                 foreach ($context['_seq'] as $context["_key"] => $context["session"]) {
  218.                     // line 69
  219.                     echo "        <div class=\"col-md-4 mb-5\">
  220.             <div class=\"card h-100\">
  221.                 <div class=\"card-header\">
  222.                     <h4 class=\"card-title text-uppercase font-weight-bold\">
  223.                         ";
  224.                     // line 73
  225.                     echo (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'73$this->source); })()), "request", [], "any"falsefalsefalse73), "locale", [], "any"falsefalsefalse73), "fr"))) ? ("niveau ") : ("level "));
  226.                     echo " ";
  227.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["session"], "level", [], "any"falsefalsefalse73), "level", [], "any"falsefalsefalse73), "html"nulltrue);
  228.                     echo "
  229.                     </h4>
  230.                     <h6 class=\"card-subtitle mb-2 text-muted\">";
  231.                     // line 75
  232.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Avec", [], "messages");
  233.                     echo " ";
  234.                     if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["session"], "teacher", [], "any"falsefalsefalse75), "userId", [], "any"falsefalsefalse75), "gender", [], "any"falsefalsefalse75), "name", [], "any"falsefalsefalse75), "feminin"))) {
  235.                         echo "Oustadha ";
  236.                     } else {
  237.                         echo " Oustadh";
  238.                     }
  239.                     echo "&nbsp;";
  240.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["session"], "teacher", [], "any"falsefalsefalse75), "userId", [], "any"falsefalsefalse75), "firstname", [], "any"falsefalsefalse75), "html"nulltrue);
  241.                     echo "</h6>
  242.                 </div>
  243.                 <div class=\"card-body\">
  244.                     <p class=\"card-text\">
  245.                         <span class=\"font-weight-bold\">";
  246.                     // line 79
  247.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Planning", [], "messages");
  248.                     echo " :</span>
  249.                         <br>&nbsp;
  250.                         ";
  251.                     // line 81
  252.                     echo twig_escape_filter($this->env, (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'81$this->source); })()), "request", [], "any"falsefalsefalse81), "locale", [], "any"falsefalsefalse81), "fr"))) ? (twig_get_attribute($this->env$this->source$context["session"], "displaySchedule", [], "any"falsefalsefalse81)) : (twig_get_attribute($this->env$this->source$context["session"], "displayScheduleEn", [], "any"falsefalsefalse81))), "html"nulltrue);
  253.                     echo "
  254.                         <br>
  255.                     <small>";
  256.                     // line 83
  257.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Heure égyptienne", [], "messages");
  258.                     echo "</small>
  259.                     </p>
  260.                     <p class=\"card-text\"><span class=\"font-weight-bold\">";
  261.                     // line 85
  262.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Début de session", [], "messages");
  263.                     echo " :&nbsp;";
  264.                     ((twig_get_attribute($this->env$this->source$context["session"], "startDate", [], "any"falsefalsefalse85)) ? (print (twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["session"], "startDate", [], "any"falsefalsefalse85), "d/m/Y"), "html"nulltrue))) : (print ("")));
  265.                     echo "</span></p>
  266.                     <p class=\"card-text\"><span class=\"font-weight-bold\">";
  267.                     // line 86
  268.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fin de session", [], "messages");
  269.                     echo " :</span>&nbsp;";
  270.                     ((twig_get_attribute($this->env$this->source$context["session"], "endDate", [], "any"falsefalsefalse86)) ? (print (twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["session"], "endDate", [], "any"falsefalsefalse86), "d/m/Y"), "html"nulltrue))) : (print ("")));
  271.                     echo "</p>
  272.                     <p class=\"card-text\">
  273.                         ";
  274.                     // line 89
  275.                     if ((=== twig_compare((isset($context["isDiscount"]) || array_key_exists("isDiscount"$context) ? $context["isDiscount"] : (function () { throw new RuntimeError('Variable "isDiscount" does not exist.'89$this->source); })()), true))) {
  276.                         // line 90
  277.                         echo "                            <span class=\"font-weight-bold\">";
  278.                         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Prix", [], "messages");
  279.                         echo " :</span>&nbsp;
  280.                             ";
  281.                         // line 91
  282.                         if ((=== twig_compare((isset($context["discountType"]) || array_key_exists("discountType"$context) ? $context["discountType"] : (function () { throw new RuntimeError('Variable "discountType" does not exist.'91$this->source); })()), "percent"))) {
  283.                             // line 92
  284.                             echo "                                ";
  285.                             echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["session"], "price", [], "any"falsefalsefalse92) - ((twig_get_attribute($this->env$this->source$context["session"], "price", [], "any"falsefalsefalse92) * (isset($context["discountAmount"]) || array_key_exists("discountAmount"$context) ? $context["discountAmount"] : (function () { throw new RuntimeError('Variable "discountAmount" does not exist.'92$this->source); })())) / 100)), "html"nulltrue);
  286.                             echo "&euro; <br>
  287.                                 ";
  288.                         } else {
  289.                             // line 94
  290.                             echo "                                    ";
  291.                             echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source$context["session"], "price", [], "any"falsefalsefalse94) - (isset($context["discountAmount"]) || array_key_exists("discountAmount"$context) ? $context["discountAmount"] : (function () { throw new RuntimeError('Variable "discountAmount" does not exist.'94$this->source); })())), "html"nulltrue);
  292.                             echo "&euro; <br>
  293.                             ";
  294.                         }
  295.                         // line 96
  296.                         echo "                            <small> <strong class=\"text-danger\">";
  297.                         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("au lieu de", [], "messages");
  298.                         echo " ";
  299.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["session"], "price", [], "any"falsefalsefalse96), "html"nulltrue);
  300.                         echo " €</strong></small>
  301.                             <br>
  302.                             <small>🔥<strong class=\"text-danger\">&nbsp;";
  303.                         // line 98
  304.                         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ceci est un prix réduit pour une durée limitée !", [], "messages");
  305.                         echo "</strong></small>
  306.                         ";
  307.                     }
  308.                     // line 100
  309.                     echo "                    </p>
  310.                     <p class=\"card-text\"><span class=\"font-weight-bold\"></span>&nbsp;
  311.                         ";
  312.                     // line 102
  313.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["session"], "seat", [], "any"falsefalsefalse102), 0))) {
  314.                         // line 103
  315.                         echo "                            <span class=\"text-danger font-weight-bold\">";
  316.                         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("PLACES LIMITÉES", [], "messages");
  317.                         echo "</span>
  318.                         ";
  319.                     }
  320.                     // line 105
  321.                     echo "
  322.                     </p>
  323.                 </div>
  324.                 <div class=\"card-footer\">
  325.                     ";
  326.                     // line 109
  327.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["session"], "seat", [], "any"falsefalsefalse109), 0))) {
  328.                         // line 110
  329.                         echo "                        ";
  330.                         if ((isset($context["parameter"]) || array_key_exists("parameter"$context) ? $context["parameter"] : (function () { throw new RuntimeError('Variable "parameter" does not exist.'110$this->source); })())) {
  331.                             // line 111
  332.                             echo "                            <a href=\"";
  333.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("session_purchase", ["id" => twig_get_attribute($this->env$this->source$context["session"], "id", [], "any"falsefalsefalse111), "d" => (isset($context["parameter"]) || array_key_exists("parameter"$context) ? $context["parameter"] : (function () { throw new RuntimeError('Variable "parameter" does not exist.'111$this->source); })())]), "html"nulltrue);
  334.                             echo "\" class=\"btn btn-primary\">";
  335.                             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Je m'inscris", [], "messages");
  336.                             echo " !</a>
  337.                            ";
  338.                         } else {
  339.                             // line 113
  340.                             echo "                               <a href=\"";
  341.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("session_purchase", ["id" => twig_get_attribute($this->env$this->source$context["session"], "id", [], "any"falsefalsefalse113)]), "html"nulltrue);
  342.                             echo "\" class=\"btn btn-primary\">";
  343.                             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Je m'inscris", [], "messages");
  344.                             echo " !</a>
  345.                         ";
  346.                         }
  347.                         // line 115
  348.                         echo "                        ";
  349.                     } else {
  350.                         // line 116
  351.                         echo "                        <span class=\"text-danger font-weight-bold\">";
  352.                         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Groupe complet", [], "messages");
  353.                         echo " !</span>
  354.                     ";
  355.                     }
  356.                     // line 118
  357.                     echo "                </div>
  358.             </div>
  359.         </div>
  360.             ";
  361.                     $context['_iterated'] = true;
  362.                 }
  363.                 if (!$context['_iterated']) {
  364.                     // line 122
  365.                     echo "                <div class=\"container content mt-5 p-4 \">
  366.                     <p class=\"alert alert-warning\">
  367.                         ";
  368.                     // line 124
  369.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Il n'y a pas de groupe prévu pour ce programme:", [], "messages");
  370.                     echo " ";
  371.                     echo twig_escape_filter($this->env, (((=== twig_compare((isset($context["local"]) || array_key_exists("local"$context) ? $context["local"] : (function () { throw new RuntimeError('Variable "local" does not exist.'124$this->source); })()), "fr"))) ? (twig_get_attribute($this->env$this->source, (isset($context["subject"]) || array_key_exists("subject"$context) ? $context["subject"] : (function () { throw new RuntimeError('Variable "subject" does not exist.'124$this->source); })()), "name", [], "any"falsefalsefalse124)) : (twig_get_attribute($this->env$this->source, (isset($context["subject"]) || array_key_exists("subject"$context) ? $context["subject"] : (function () { throw new RuntimeError('Variable "subject" does not exist.'124$this->source); })()), "nameEn", [], "any"falsefalsefalse124))), "html"nulltrue);
  372.                     echo "
  373.                         <br>
  374.                         ";
  375.                     // line 126
  376.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Si vous souhaitez étudier cette matière en groupe privé (avec vos amis), vous pouvez nous contacter pour en ouvrir un.", [], "messages");
  377.                     // line 127
  378.                     echo "                    </p>
  379.                 </div>
  380.         ";
  381.                 }
  382.                 $_parent $context['_parent'];
  383.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['session'], $context['_parent'], $context['loop']);
  384.                 $context array_intersect_key($context$_parent) + $_parent;
  385.                 // line 130
  386.                 echo "    </div>
  387.     ";
  388.             } else {
  389.                 // line 132
  390.                 echo "        <div class=\"container content mt-5 p-4\">
  391.             <p class=\"alert alert-warning\">
  392.                 ";
  393.                 // line 134
  394.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Les inscriptions pour les cours collectifs sont fermées. Inscrivez-vous sur la liste ci-dessous pour être tenu informé de l'ouverture des inscriptions :", [], "messages");
  395.                 // line 135
  396.                 echo "            </p>
  397.                 ";
  398.                 // line 136
  399.                 echo (((=== twig_compare((isset($context["local"]) || array_key_exists("local"$context) ? $context["local"] : (function () { throw new RuntimeError('Variable "local" does not exist.'136$this->source); })()), "fr"))) ? (twig_get_attribute($this->env$this->source, (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'136$this->source); })()), "subscribeFormFr", [], "any"falsefalsefalse136)) : (twig_get_attribute($this->env$this->source, (isset($context["registrationDate"]) || array_key_exists("registrationDate"$context) ? $context["registrationDate"] : (function () { throw new RuntimeError('Variable "registrationDate" does not exist.'136$this->source); })()), "subscribeFormEn", [], "any"falsefalsefalse136)));
  400.                 echo "
  401.         </div>
  402.     ";
  403.             }
  404.         } else {
  405.             // line 140
  406.             echo "    <div class=\"container content mt-5 p-4\">
  407.         <p class=\"alert alert-warning\">
  408.             ";
  409.             // line 142
  410.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Les inscriptions pour les cours collectifs sont fermées. Inscrivez-vous sur la liste ci-dessous pour être tenu informé de l'ouverture des inscriptions :", [], "messages");
  411.             // line 143
  412.             echo "        </p>
  413.         ";
  414.             // line 144
  415.             if ((=== twig_compare((isset($context["local"]) || array_key_exists("local"$context) ? $context["local"] : (function () { throw new RuntimeError('Variable "local" does not exist.'144$this->source); })()), "fr"))) {
  416.                 // line 145
  417.                 echo "            <div class=\"_form_65\"></div><script src=\"https://alkunuz84085.activehosted.com/f/embed.php?id=65\" type=\"text/javascript\" charset=\"utf-8\"></script>
  418.         ";
  419.             } else {
  420.                 // line 147
  421.                 echo "            <div class=\"_form_67\"></div><script src=\"https://alkunuz84085.activehosted.com/f/embed.php?id=67\" type=\"text/javascript\" charset=\"utf-8\"></script>
  422.         ";
  423.             }
  424.             // line 149
  425.             echo "    </div>
  426. ";
  427.         }
  428.         // line 151
  429.         echo "</div>
  430. ";
  431.         
  432.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  433.         
  434.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  435.     }
  436.     // line 153
  437.     public function block_javascripts($context, array $blocks = [])
  438.     {
  439.         $macros $this->macros;
  440.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  441.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  442.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  443.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  444.         // line 154
  445.         echo "    ";
  446.         echo twig_include($this->env$context"partials/js-scroll.html.twig");
  447.         echo "
  448. ";
  449.         
  450.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  451.         
  452.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  453.     }
  454.     public function getTemplateName()
  455.     {
  456.         return "session/index.html.twig";
  457.     }
  458.     public function isTraitable()
  459.     {
  460.         return false;
  461.     }
  462.     public function getDebugInfo()
  463.     {
  464.         return array (  481 => 154,  471 => 153,  460 => 151,  456 => 149,  452 => 147,  448 => 145,  446 => 144,  443 => 143,  441 => 142,  437 => 140,  430 => 136,  427 => 135,  425 => 134,  421 => 132,  417 => 130,  409 => 127,  407 => 126,  400 => 124,  396 => 122,  388 => 118,  382 => 116,  379 => 115,  371 => 113,  363 => 111,  360 => 110,  358 => 109,  352 => 105,  346 => 103,  344 => 102,  340 => 100,  335 => 98,  327 => 96,  321 => 94,  315 => 92,  313 => 91,  308 => 90,  306 => 89,  298 => 86,  292 => 85,  287 => 83,  282 => 81,  277 => 79,  262 => 75,  255 => 73,  249 => 69,  243 => 68,  240 => 57,  234 => 55,  231 => 54,  225 => 52,  222 => 51,  216 => 49,  214 => 48,  208 => 47,  205 => 46,  201 => 45,  194 => 41,  186 => 39,  184 => 38,  183 => 37,  182 => 36,  177 => 34,  173 => 33,  159 => 29,  154 => 26,  152 => 24,  151 => 22,  149 => 21,  147 => 20,  141 => 19,  138 => 18,  128 => 17,  115 => 14,  105 => 13,  91 => 7,  81 => 6,  62 => 4,  39 => 1,);
  465.     }
  466.     public function getSourceContext()
  467.     {
  468.         return new Source("{% extends 'base.html.twig' %}
  469. {% block title %}{% trans %}Liste des groupes collectifs{% endtrans %}{% endblock %}
  470. {% block pixel %}
  471.     <!-- Convert Pixel -->
  472.     <script type=\"text/javascript\">!function(e,t){(e=t.createElement(\"script\")).src=\"https://cdn.convertbox.com/convertbox/js/embed.js\",e.id=\"app-convertbox-script\",e.async=true,e.dataset.uuid=\"4f52879f-6d67-4653-9761-5edfc32f78fd\",document.getElementsByTagName(\"head\")[0].appendChild(e)}(window,document);</script>
  473.     <!-- End Convert Pixel Code -->
  474. {% endblock %}
  475. {% block header %}
  476.     {{ include('partials/_navbar.html.twig') }}
  477. {% endblock %}
  478. {% block body %}
  479. <div class=\"container content mt-5 p-4\">
  480.     <h1 class=\"mb-4\">{% trans %}Cours collectifs{% endtrans %} <strong>{{ local == \"fr\" ? subject.name : subject.nameEn }}</strong></h1>
  481. {% if registrationDate is not null %}
  482.     {% if
  483.         \"now\"|date('Y/m/d') > registrationDate.openRegistrationDate|date('Y/m/d')
  484.         and
  485.         \"now\"|date('Y/m/d') < registrationDate.closeRegistrationDate|date('Y/m/d')
  486.     %}
  487.         <div class=\"ddio_countdown_wrap\"></div>
  488.     <div class=\"row\">
  489.         <div class=\"col mb-5\">
  490.             <h2>{% trans %}Groupe pour{% endtrans %} {% if gender == 'feminin' %}{% trans %}Femme{% endtrans %} {% else %}{% trans %}Homme{% endtrans %}{% endif %}</h2>
  491.             <hr>
  492.         </div>
  493.         <div class=\"alert alert-warning\">
  494.             <h3 class=\"mt-2 mb-4\"><strong>{% trans %}Votre niveau{% endtrans %}</strong></h3>
  495.             <p class=\"h5\">{% trans %}Il est impératif de passer un test de niveau avec un de nos professeurs avant de vous inscrire à un groupe. Ce test, constitue une étape essentielle pour vous orienter vers le groupe qui vous convient le mieux. Le prix du test est de 7€. Celui-i sera déduit de vos frais d'inscription, rendant ainsi le test sans frais supplémentaires une fois que vous intégrez nos rangs en tant qu'étudiant.{% endtrans %}</p>
  496.             <br>
  497.             <p><a target=\"_blank\" class=\"btn btn-primary btn-lg\" href=\"{{ path('test_placement', {
  498.                     'gender' : gender,
  499.                     'tag' : subject.tagName
  500.                 }) }}\">{% trans %}Test de niveau (avec le professeur) pour{% endtrans %} {{ gender.name == 'masculin' ? 'HOMMES'|trans : 'FEMMES'|trans }} &raquo;</a></p>
  501.             <br>
  502.             <p class=\"h5\">{% trans %}Si vous avez déjà été étudiant chez nous et que votre évaluation de niveau remonte à moins de six mois, vous avez la possibilité de sélectionner directement votre niveau sans passer par l'étape du test.{% endtrans %}</p>
  503.         </div>
  504.     </div>
  505.     <div class=\"row\">
  506.         <p class=\"alert alert-danger\"><strong>{% trans %}Rappel{% endtrans %}</strong> : {% trans %}Ce sont des horaires égyptiens. Pour connaître le décalage avec votre pays{% endtrans %}
  507.             <a target=\"_blank\" href=\"https://www.timeanddate.com/worldclock/egypt/cairo\"> {% trans %}cliquez-ici{% endtrans %}</a> {% trans %}(pour voir quelle heure il est actuellement en Egypte){% endtrans %}.
  508.             {% if \"now\"|date('Y/m/d') < \"now\"|date('Y/10/30') and \"now\"|date('Y/m/d') > \"now\"|date('Y/10/30')|date_modify(\"-\"~ registrationDate.sessionDurationByWeek ~\"weeks\")|date('Y/m/d')  %}
  509.                 {% trans %}N'oubliez pas que l'Europe passera à l'heure d'hiver à la fin d'Octobre (l'Egypte changera d'heure aussi le dernier vendredi d'octobre){% endtrans %}.
  510.             {% endif %}
  511.             {% if \"now\"|date('Y/m/d') < \"now\"|date('Y/03/28') and \"now\"|date('Y/m/d') > \"now\"|date('Y/03/28')|date_modify(\"-\"~ registrationDate.sessionDurationByWeek ~\"weeks\")|date('Y/m/d')  %}
  512.                 {% trans %}N'oubliez pas que l'Europe passera à l'heure d'été à la fin Mars (l'Egypte changera d'heure aussi le dernier vendredi d'avril){% endtrans %}.
  513.             {% endif %}
  514.             {% if \"now\"|date('Y/m/d') < \"now\"|date('Y/05/01') and \"now\"|date('Y/m/d') > \"now\"|date('Y/05/01')|date_modify(\"-\"~ registrationDate.sessionDurationByWeek ~\"weeks\")|date('Y/m/d')  %}
  515.                 <strong>{% trans %}l'Egypte changera passe à l'heure d'été le dernier vendredi d'avril (+1h){% endtrans %}.</strong>
  516.             {% endif %}
  517.         </p>
  518.         {#
  519.         {% for holiday in holidays %}
  520.             {% if \"now\"|date('Y/m/d') > holiday.startAt|date_modify(\"-\"~ registrationDate.sessionDurationByWeek ~\"weeks\")|date('Y/m/d') and \"now\"|date('Y/m/d') < holiday.endAt|date('Y/m/d') %}
  521.                 <p class=\"alert alert-warning\"><strong>☪️ {% trans %}INFO{% endtrans %}</strong> : {% trans %} À l'occasion de{% endtrans %} <strong>{{ holiday.name}}</strong> {% trans %}Nous serons fermés du{% endtrans %} {{ holiday.startAt|date('d/m/Y') }} {% trans %}au{% endtrans %} {{ holiday.endAt|date('d/m/Y')}} {% trans %}inclus. Tous les cours seront mis en suspend durant cette période.{% endtrans %}
  522.                     <br>
  523.                     <strong>{% trans %}Du matériel pédagogique vous sera offert durant cette pause pour garder le cap + une séance de révision sera rajoutée gratuitement{% endtrans %}</strong>. <em> {% trans %}(Pour réviser à la reprise){% endtrans %}</em>
  524.                 </p>
  525.             {% endif %}
  526.         {% endfor %}
  527.         #}
  528.         {% for session in sessions %}
  529.         <div class=\"col-md-4 mb-5\">
  530.             <div class=\"card h-100\">
  531.                 <div class=\"card-header\">
  532.                     <h4 class=\"card-title text-uppercase font-weight-bold\">
  533.                         {{ (app.request.locale == 'fr') ? \"niveau \" : \"level \" }} {{ session.level.level }}
  534.                     </h4>
  535.                     <h6 class=\"card-subtitle mb-2 text-muted\">{% trans %}Avec{% endtrans %} {% if session.teacher.userId.gender.name == 'feminin' %}Oustadha {% else %} Oustadh{% endif %}&nbsp;{{ session.teacher.userId.firstname }}</h6>
  536.                 </div>
  537.                 <div class=\"card-body\">
  538.                     <p class=\"card-text\">
  539.                         <span class=\"font-weight-bold\">{% trans %}Planning{% endtrans %} :</span>
  540.                         <br>&nbsp;
  541.                         {{ (app.request.locale == 'fr') ? session.displaySchedule : session.displayScheduleEn }}
  542.                         <br>
  543.                     <small>{% trans %}Heure égyptienne{% endtrans %}</small>
  544.                     </p>
  545.                     <p class=\"card-text\"><span class=\"font-weight-bold\">{% trans %}Début de session{% endtrans %} :&nbsp;{{ session.startDate ? session.startDate|date('d/m/Y') : '' }}</span></p>
  546.                     <p class=\"card-text\"><span class=\"font-weight-bold\">{% trans %}Fin de session{% endtrans %} :</span>&nbsp;{{ session.endDate ? session.endDate|date('d/m/Y') : '' }}</p>
  547.                     <p class=\"card-text\">
  548.                         {% if isDiscount == true %}
  549.                             <span class=\"font-weight-bold\">{% trans %}Prix{% endtrans %} :</span>&nbsp;
  550.                             {% if discountType == 'percent' %}
  551.                                 {{ session.price - ((session.price * discountAmount)/100) }}&euro; <br>
  552.                                 {% else %}
  553.                                     {{ session.price - discountAmount }}&euro; <br>
  554.                             {% endif %}
  555.                             <small> <strong class=\"text-danger\">{% trans %}au lieu de{% endtrans %} {{ session.price }} €</strong></small>
  556.                             <br>
  557.                             <small>🔥<strong class=\"text-danger\">&nbsp;{% trans%}Ceci est un prix réduit pour une durée limitée !{% endtrans%}</strong></small>
  558.                         {% endif %}
  559.                     </p>
  560.                     <p class=\"card-text\"><span class=\"font-weight-bold\"></span>&nbsp;
  561.                         {% if session.seat > 0 %}
  562.                             <span class=\"text-danger font-weight-bold\">{% trans %}PLACES LIMITÉES{% endtrans %}</span>
  563.                         {% endif %}
  564.                     </p>
  565.                 </div>
  566.                 <div class=\"card-footer\">
  567.                     {% if session.seat > 0 %}
  568.                         {% if parameter %}
  569.                             <a href=\"{{ path('session_purchase', {'id': session.id, 'd': parameter}) }}\" class=\"btn btn-primary\">{% trans %}Je m'inscris{% endtrans %} !</a>
  570.                            {% else%}
  571.                                <a href=\"{{ path('session_purchase', {'id': session.id}) }}\" class=\"btn btn-primary\">{% trans %}Je m'inscris{% endtrans %} !</a>
  572.                         {% endif %}
  573.                         {% else %}
  574.                         <span class=\"text-danger font-weight-bold\">{% trans %}Groupe complet{% endtrans %} !</span>
  575.                     {% endif %}
  576.                 </div>
  577.             </div>
  578.         </div>
  579.             {% else %}
  580.                 <div class=\"container content mt-5 p-4 \">
  581.                     <p class=\"alert alert-warning\">
  582.                         {% trans %}Il n'y a pas de groupe prévu pour ce programme:{% endtrans %} {{ local == 'fr' ? subject.name : subject.nameEn }}
  583.                         <br>
  584.                         {% trans %}Si vous souhaitez étudier cette matière en groupe privé (avec vos amis), vous pouvez nous contacter pour en ouvrir un.{% endtrans %}
  585.                     </p>
  586.                 </div>
  587.         {% endfor %}
  588.     </div>
  589.     {% else %}
  590.         <div class=\"container content mt-5 p-4\">
  591.             <p class=\"alert alert-warning\">
  592.                 {% trans %}Les inscriptions pour les cours collectifs sont fermées. Inscrivez-vous sur la liste ci-dessous pour être tenu informé de l'ouverture des inscriptions : {% endtrans %}
  593.             </p>
  594.                 {{ local == 'fr' ? registrationDate.subscribeFormFr|raw : registrationDate.subscribeFormEn|raw}}
  595.         </div>
  596.     {% endif %}
  597. {% else %}
  598.     <div class=\"container content mt-5 p-4\">
  599.         <p class=\"alert alert-warning\">
  600.             {% trans %}Les inscriptions pour les cours collectifs sont fermées. Inscrivez-vous sur la liste ci-dessous pour être tenu informé de l'ouverture des inscriptions : {% endtrans %}
  601.         </p>
  602.         {% if local == 'fr' %}
  603.             <div class=\"_form_65\"></div><script src=\"https://alkunuz84085.activehosted.com/f/embed.php?id=65\" type=\"text/javascript\" charset=\"utf-8\"></script>
  604.         {% else %}
  605.             <div class=\"_form_67\"></div><script src=\"https://alkunuz84085.activehosted.com/f/embed.php?id=67\" type=\"text/javascript\" charset=\"utf-8\"></script>
  606.         {% endif %}
  607.     </div>
  608. {% endif %}
  609. </div>
  610. {% endblock %}
  611. {% block javascripts %}
  612.     {{ include('partials/js-scroll.html.twig') }}
  613. {% endblock %}""session/index.html.twig""/home/staging/deploy/releases/163/templates/session/index.html.twig");
  614.     }
  615. }