var/cache/dev/twig/eb/ebde76bf539865793b79ed46f7037c5d.php line 39

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. /* front/cours_langue/francais_cours_list.html.twig */
  14. class __TwigTemplate_19d4d6e7553de2347e51e754e93840b7 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.             'bodyClass' => [$this'block_bodyClass'],
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "layouts/front.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/cours_langue/francais_cours_list.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/cours_langue/francais_cours_list.html.twig"));
  39.         $this->parent $this->loadTemplate("layouts/front.html.twig""front/cours_langue/francais_cours_list.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_bodyClass($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  54.         echo "interne";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 5
  61.     public function block_content($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  68.         // line 6
  69.         echo "    <section class=\"title-page cours-page\" style=\"background:url(";
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/cours-.jpg"), "html"nulltrue);
  71.         echo ")\">
  72.         <div class=\"container\">
  73.             <div class=\"row\">
  74.                 <div class=\"head_page\">
  75.                     <div class=\"head\"> Cours de français</div>
  76.                     <div class=\"sperateur\"></div>
  77.                     <div class=\"sub_title\"> Apprenez à parler français rapidement avec <br>
  78.                         nos cours de français accessibles à tous niveaux.
  79.                     </div>
  80.                 </div>
  81.                 <div class=\"arrows_head\">
  82.                     <a href=\"#\">
  83.                         <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  84.                              id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
  85.                              style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
  86.                     <g>
  87.                         <g>
  88.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  89.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  90.                         </g></svg>
  91.                     <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  92.                          id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
  93.                          xml:space=\"preserve\" fill=\"#fff\">
  94.                     <g>
  95.                         <g>
  96.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  97.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  98.                         </g></svg>
  99.                     </a>
  100.                 </div>
  101.             </div>
  102.         </div>
  103.     </section>
  104.     <section class=\"breadcumbs\">
  105.         <div class=\"container\">
  106.             <div class=\"row\">
  107.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Cours de français </a> > <a
  108.                             href=\"\"> ";
  109.         // line 44
  110.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'44$this->source); })()), "libelle", [], "any"falsefalsefalse44), "html"nulltrue);
  111.         echo " </a>
  112.                     > Réservation
  113.                 </div>
  114.             </div>
  115.         </div>
  116.     </section>
  117.     <section class=\"resrevation\">
  118.         <div class=\"container\">
  119.             <div class=\"row section-head\">
  120.                 <h2 class=\"title\"> Nos cours en ligne vous permettront <span>
  121.                 d’améliorer significativement votre niveau de français
  122.                 et de parler couramment cette langue </span></h2>
  123.                 <div class=\"sperateur\"></div>
  124.             </div>
  125.             <div class=\"row\">
  126.                 <div class=\"list-resrevation\">
  127.                     ";
  128.         // line 61
  129.         $context['_parent'] = $context;
  130.         $context['_seq'] = twig_ensure_traversable((isset($context["cours"]) || array_key_exists("cours"$context) ? $context["cours"] : (function () { throw new RuntimeError('Variable "cours" does not exist.'61$this->source); })()));
  131.         foreach ($context['_seq'] as $context["_key"] => $context["cour"]) {
  132.             // line 62
  133.             echo "                        <div class=\"reservation\">
  134.                             <div class=\"featured_image\"
  135.                                  style=\"background:url('";
  136.             // line 64
  137.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" twig_get_attribute($this->env$this->source$context["cour"], "image", [], "any"falsefalsefalse64))), "html"nulltrue);
  138.             echo "'); background-size: cover;\"></div>
  139.                             <div class=\"content_reservation\">
  140.                                 <div class=\"titre-resrevation\">";
  141.             // line 66
  142.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cour"], "title", [], "any"falsefalsefalse66), "html"nulltrue);
  143.             echo "
  144.                                     <span class=\"top-title\">";
  145.             // line 67
  146.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cour"], "coach", [], "any"falsefalsefalse67), "utilisateur", [], "any"falsefalsefalse67), "html"nulltrue);
  147.             echo "  </span></div>
  148.                                 <div class=\"sperateur\"></div>
  149.                                 <div class=\"contenu\">";
  150.             // line 69
  151.             echo twig_escape_filter($this->env$this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env$this->source$context["cour"], "description", [], "any"falsefalsefalse69), 200), "html"nulltrue);
  152.             echo "</div>
  153.                                 <div class=\"nb\"> Entraînement écrit et oral pour un débit fluide.</div>
  154.                             </div>
  155.                             <div class=\"bloc_resrevation\">
  156.                                 <div class=\"price_per_hour\">à partir de<br>  ";
  157.             // line 73
  158.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["cour"], "hourPrice", [], "any"falsefalsefalse73), 2), "html"nulltrue);
  159.             echo "€ /
  160.                                     <span> heure </span></div>
  161.                                 <div class=\"sperateur\"></div>
  162.                                 <a href=\"";
  163.             // line 76
  164.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_francais_cours_reservation", ["slug" => twig_get_attribute($this->env$this->source$context["cour"], "slug", [], "any"falsefalsefalse76)]), "html"nulltrue);
  165.             echo "\" class=\"btn savoir\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> En
  166.                                     savoir plus </a>
  167.                             </div>
  168.                         </div>
  169.                     ";
  170.         }
  171.         $_parent $context['_parent'];
  172.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cour'], $context['_parent'], $context['loop']);
  173.         $context array_intersect_key($context$_parent) + $_parent;
  174.         // line 81
  175.         echo "                </div>
  176.             </div>
  177.         </div>
  178.     </section>
  179. ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     public function getTemplateName()
  186.     {
  187.         return "front/cours_langue/francais_cours_list.html.twig";
  188.     }
  189.     public function isTraitable()
  190.     {
  191.         return false;
  192.     }
  193.     public function getDebugInfo()
  194.     {
  195.         return array (  196 => 81,  185 => 76,  179 => 73,  172 => 69,  167 => 67,  163 => 66,  158 => 64,  154 => 62,  150 => 61,  130 => 44,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  196.     }
  197.     public function getSourceContext()
  198.     {
  199.         return new Source("{% extends 'layouts/front.html.twig' %}
  200. {% block bodyClass %}interne{% endblock %}
  201. {% block content %}
  202.     <section class=\"title-page cours-page\" style=\"background:url({{ asset('build/images/cours-.jpg') }})\">
  203.         <div class=\"container\">
  204.             <div class=\"row\">
  205.                 <div class=\"head_page\">
  206.                     <div class=\"head\"> Cours de français</div>
  207.                     <div class=\"sperateur\"></div>
  208.                     <div class=\"sub_title\"> Apprenez à parler français rapidement avec <br>
  209.                         nos cours de français accessibles à tous niveaux.
  210.                     </div>
  211.                 </div>
  212.                 <div class=\"arrows_head\">
  213.                     <a href=\"#\">
  214.                         <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  215.                              id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
  216.                              style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
  217.                     <g>
  218.                         <g>
  219.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  220.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  221.                         </g></svg>
  222.                     <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  223.                          id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
  224.                          xml:space=\"preserve\" fill=\"#fff\">
  225.                     <g>
  226.                         <g>
  227.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  228.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  229.                         </g></svg>
  230.                     </a>
  231.                 </div>
  232.             </div>
  233.         </div>
  234.     </section>
  235.     <section class=\"breadcumbs\">
  236.         <div class=\"container\">
  237.             <div class=\"row\">
  238.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Cours de français </a> > <a
  239.                             href=\"\"> {{ category.libelle }} </a>
  240.                     > Réservation
  241.                 </div>
  242.             </div>
  243.         </div>
  244.     </section>
  245.     <section class=\"resrevation\">
  246.         <div class=\"container\">
  247.             <div class=\"row section-head\">
  248.                 <h2 class=\"title\"> Nos cours en ligne vous permettront <span>
  249.                 d’améliorer significativement votre niveau de français
  250.                 et de parler couramment cette langue </span></h2>
  251.                 <div class=\"sperateur\"></div>
  252.             </div>
  253.             <div class=\"row\">
  254.                 <div class=\"list-resrevation\">
  255.                     {% for cour in cours %}
  256.                         <div class=\"reservation\">
  257.                             <div class=\"featured_image\"
  258.                                  style=\"background:url('{{ asset('uploads/'~cour.image) }}'); background-size: cover;\"></div>
  259.                             <div class=\"content_reservation\">
  260.                                 <div class=\"titre-resrevation\">{{ cour.title }}
  261.                                     <span class=\"top-title\">{{ cour.coach.utilisateur }}  </span></div>
  262.                                 <div class=\"sperateur\"></div>
  263.                                 <div class=\"contenu\">{{ cour.description|excerpt(200) }}</div>
  264.                                 <div class=\"nb\"> Entraînement écrit et oral pour un débit fluide.</div>
  265.                             </div>
  266.                             <div class=\"bloc_resrevation\">
  267.                                 <div class=\"price_per_hour\">à partir de<br>  {{ cour.hourPrice|number_format(2) }}€ /
  268.                                     <span> heure </span></div>
  269.                                 <div class=\"sperateur\"></div>
  270.                                 <a href=\"{{ path('page_francais_cours_reservation', {slug: cour.slug}) }}\" class=\"btn savoir\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> En
  271.                                     savoir plus </a>
  272.                             </div>
  273.                         </div>
  274.                     {% endfor %}
  275.                 </div>
  276.             </div>
  277.         </div>
  278.     </section>
  279. {% endblock %}
  280. ""front/cours_langue/francais_cours_list.html.twig""/home/saco/subdomains/preprod/templates/front/cours_langue/francais_cours_list.html.twig");
  281.     }
  282. }