var/cache/dev/twig/a7/a790cad54f46b5a8099e405cfa646e7ced2e2a37d13d428776a9b7190f3ed766.php line 50

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/Channel/show.html.twig */
  14. class __TwigTemplate_4ccfa210fe45dea4dc6c7d5e5cbcd933b6646fa4d1c15d5d8ca5ab52e292c1ea 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.             'content' => [$this'block_content'],
  25.             'inner_content' => [$this'block_inner_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Front/Channel/show.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Front/Channel/show.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""Front/Channel/show.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'3$this->source); })()), "name", [], "any"falsefalsefalse3), "html"nulltrue);
  56.         echo " - ";
  57.         $this->displayParentBlock("title"$context$blocks);
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 5
  64.     public function block_content($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""content"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         // line 6
  72.         echo "    <div class=\"background-image-channel channel-page font-poppins\">
  73.         <div class=\"container py-3 px-0\">
  74.             <div class=\"col-12\" style=\"margin-top: 5rem;margin-bottom: 5rem;\">
  75.                 <div class=\"row\">
  76.                     <div class=\"col-12 col-md-8\">
  77.                         <div class=\"d-flex flex-row\">
  78.                             ";
  79.         // line 13
  80.         $this->loadTemplate("Front/Channel/Image/_image_main_avatar.html.twig""Front/Channel/show.html.twig"13)->display(twig_array_merge($context, ["channel" => (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'13$this->source); })()), "custom_class_channel" => "channel-avatar-presentation"]));
  81.         // line 14
  82.         echo "
  83.                             ";
  84.         // line 15
  85.         if ((twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'15$this->source); })()), "name", [], "any"falsefalsefalse15) || twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'15$this->source); })()), "slogan", [], "any"falsefalsefalse15))) {
  86.             // line 16
  87.             echo "                                <div class=\"ml-3 d-flex flex-column justify-content-center\">
  88.                                     ";
  89.             // line 17
  90.             if (twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'17$this->source); })()), "name", [], "any"falsefalsefalse17)) {
  91.                 // line 18
  92.                 echo "                                        <p class=\"v2-title-small full-black mb-0\">";
  93.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'18$this->source); })()), "name", [], "any"falsefalsefalse18), "html"nulltrue);
  94.                 echo "</p>
  95.                                     ";
  96.             }
  97.             // line 20
  98.             echo "                                    ";
  99.             if (twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'20$this->source); })()), "slogan", [], "any"falsefalsefalse20)) {
  100.                 // line 21
  101.                 echo "                                        <div>
  102.                                             <p class=\"full-black mb-0\">";
  103.                 // line 22
  104.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'22$this->source); })()), "slogan", [], "any"falsefalsefalse22), "html"nulltrue);
  105.                 echo "</p>
  106.                                         </div>
  107.                                     ";
  108.             }
  109.             // line 25
  110.             echo "                                </div>
  111.                             ";
  112.         }
  113.         // line 27
  114.         echo "                        </div>
  115.                     </div>
  116.                     <div class=\"col-12 col-md-4 social-top\">
  117.                         ";
  118.         // line 30
  119.         $this->loadTemplate("Front/Channel/social-links.twig""Front/Channel/show.html.twig"30)->display(twig_array_merge($context, ["channel" => (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'30$this->source); })()), "icon_color" => "black"]));
  120.         // line 31
  121.         echo "                    </div>
  122.                     <div class=\"col-12 mt-4\">
  123.                         <div class=\"row\">
  124.                             ";
  125.         // line 34
  126.         if (twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'34$this->source); })()), "presentationTitle", [], "any"falsefalsefalse34)) {
  127.             // line 35
  128.             echo "                            <div class=\"col-12\">
  129.                                 <p class=\"v2-title-big full-black mt-3 text-center\">";
  130.             // line 36
  131.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'36$this->source); })()), "presentationTitle", [], "any"falsefalsefalse36), "html"nulltrue);
  132.             echo "</p>
  133.                             </div>
  134.                             ";
  135.         }
  136.         // line 39
  137.         echo "                            ";
  138.         if (twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'39$this->source); })()), "presentationText", [], "any"falsefalsefalse39)) {
  139.             // line 40
  140.             echo "                            <div class=\"col-12\">
  141.                                 <p class=\"mt-3 text-center white-space-pre-wrap\">";
  142.             // line 41
  143.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'41$this->source); })()), "presentationText", [], "any"falsefalsefalse41), "html"nulltrue);
  144.             echo "</p>
  145.                             </div>
  146.                             ";
  147.         }
  148.         // line 44
  149.         echo "                            <div class=\"col-12 mt-4 text-center text-md-left d-flex buttons\">
  150.                                 <a href=\"#our-trainings\" class=\"mt-2 btn-nellapp-v2 btn-nellap-v2-responsive-small\">";
  151.         // line 45
  152.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.our_trainings.label"), "html"nulltrue);
  153.         echo "</a>
  154.                                 ";
  155.         // line 46
  156.         if (((((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'46$this->source); })()), "institutions", [], "any"falsefalsefalse46)) > 0) || twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'46$this->source); })()), "contactPhone", [], "any"falsefalsefalse46)) || twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'46$this->source); })()), "contactEmail", [], "any"falsefalsefalse46)) || (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'46$this->source); })()), "links", [], "any"falsefalsefalse46)) > 0))) {
  157.             // line 47
  158.             echo "                                    <a href=\"#contact-us\" class=\"mt-2 btn-nellapp-v2-secondary btn-nellap-v2-responsive-small\">";
  159.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.welcome.button.contact"), "html"nulltrue);
  160.             echo "</a>
  161.                                 ";
  162.         }
  163.         // line 49
  164.         echo "                            </div>
  165.                         </div>
  166.                     </div>
  167.                 </div>
  168.             </div>
  169.         </div>
  170.     </div>
  171.     ";
  172.         // line 57
  173.         $this->displayParentBlock("content"$context$blocks);
  174.         echo "
  175. ";
  176.         
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  178.         
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  180.     }
  181.     // line 60
  182.     public function block_inner_content($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inner_content"));
  187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inner_content"));
  189.         // line 61
  190.         echo "    ";
  191.         // line 62
  192.         echo "    <div class=\"row\" id=\"our-trainings\">
  193.         <div class=\"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12\">
  194.             <div class=\"section-title-type-formation\">
  195.                 <h2 class=\"ml-0\">
  196.                     ";
  197.         // line 66
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.tabs.home.subtitles.trainings.label", ["%count%" => (isset($context["count_trainings"]) || array_key_exists("count_trainings"$context) ? $context["count_trainings"] : (function () { throw new RuntimeError('Variable "count_trainings" does not exist.'66$this->source); })())]), "html"nulltrue);
  199.         echo "
  200.                 </h2>
  201.             </div>
  202.         </div>
  203.     </div>
  204.     <div class=\"row flex-nowrap flex-sm-nowrap flex-md-nowrap flex-lg-nowrap flex-xl-wrap v3-cards\">
  205.         <div class=\"scrollable-bar-hidden\" style=\"--_grid-columns: 4\">
  206.             ";
  207.         // line 74
  208.         $context['_parent'] = $context;
  209.         $context['_seq'] = twig_ensure_traversable((isset($context["last_four_trainings"]) || array_key_exists("last_four_trainings"$context) ? $context["last_four_trainings"] : (function () { throw new RuntimeError('Variable "last_four_trainings" does not exist.'74$this->source); })()));
  210.         foreach ($context['_seq'] as $context["_key"] => $context["training"]) {
  211.             // line 75
  212.             echo "                ";
  213.             echo $this->extensions['Symfony\UX\TwigComponent\Twig\ComponentExtension']->render("TrainingCard", ["training" => $context["training"]]);
  214.             echo "
  215.             ";
  216.         }
  217.         $_parent $context['_parent'];
  218.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['training'], $context['_parent'], $context['loop']);
  219.         $context array_intersect_key($context$_parent) + $_parent;
  220.         // line 77
  221.         echo "        </div>
  222.     </div>
  223.     ";
  224.         // line 81
  225.         if (((isset($context["count_trainings"]) || array_key_exists("count_trainings"$context) ? $context["count_trainings"] : (function () { throw new RuntimeError('Variable "count_trainings" does not exist.'81$this->source); })()) > 4)) {
  226.             // line 82
  227.             echo "        <div class=\"col-12 mt-2 pb-5\">
  228.             <div class=\"all-trainings\">
  229.                 <a href=\"";
  230.             // line 84
  231.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_channel_trainings", ["id" => twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'84$this->source); })()), "id", [], "any"falsefalsefalse84)]), "html"nulltrue);
  232.             echo "\" class=\"text-decoration-none\">
  233.                     ";
  234.             // line 85
  235.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.actions.see_more.label", ["%count_displayed_item%" => twig_length_filter($this->env, (isset($context["last_four_trainings"]) || array_key_exists("last_four_trainings"$context) ? $context["last_four_trainings"] : (function () { throw new RuntimeError('Variable "last_four_trainings" does not exist.'85$this->source); })())), "%count_all_items%" => (isset($context["count_trainings"]) || array_key_exists("count_trainings"$context) ? $context["count_trainings"] : (function () { throw new RuntimeError('Variable "count_trainings" does not exist.'85$this->source); })())]), "html"nulltrue);
  236.             echo "
  237.                 </a>
  238.             </div>
  239.         </div>
  240.     ";
  241.         }
  242.         // line 90
  243.         echo "
  244.     ";
  245.         // line 92
  246.         echo "    ";
  247.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'92$this->source); })()), "galleryImages", [], "any"falsefalsefalse92)) >= 5)) {
  248.             // line 93
  249.             echo "        <div class=\"row gallery mt-4 justify-content-center text-center\">
  250.             ";
  251.             // line 94
  252.             $context['_parent'] = $context;
  253.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'94$this->source); })()), "galleryImages", [], "any"falsefalsefalse94));
  254.             $context['loop'] = [
  255.               'parent' => $context['_parent'],
  256.               'index0' => 0,
  257.               'index'  => 1,
  258.               'first'  => true,
  259.             ];
  260.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  261.                 $length count($context['_seq']);
  262.                 $context['loop']['revindex0'] = $length 1;
  263.                 $context['loop']['revindex'] = $length;
  264.                 $context['loop']['length'] = $length;
  265.                 $context['loop']['last'] = === $length;
  266.             }
  267.             foreach ($context['_seq'] as $context["_key"] => $context["galleryImage"]) {
  268.                 // line 95
  269.                 echo "                ";
  270.                 if (((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse95) % 2) == 1)) {
  271.                     // line 96
  272.                     echo "                    ";
  273.                     $context["imageTopColumn"] = true;
  274.                     // line 97
  275.                     echo "                ";
  276.                 }
  277.                 // line 98
  278.                 echo "
  279.                 ";
  280.                 // line 99
  281.                 if (((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse99) % 2) == 0)) {
  282.                     // line 100
  283.                     echo "                    ";
  284.                     $context["imageTopColumn"] = false;
  285.                     // line 101
  286.                     echo "                ";
  287.                 }
  288.                 // line 102
  289.                 echo "
  290.                 ";
  291.                 // line 103
  292.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse103) == 0)) {
  293.                     // line 104
  294.                     echo "                    <div class=\"col-12 col-md-6\">
  295.                         <div data-size=\"";
  296.                     // line 105
  297.                     echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(twig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse105)), "html"nulltrue);
  298.                     echo "\" class=\"gallery-big-one gallery-image\"
  299.                              style=\"background-image: url(";
  300.                     // line 106
  301.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse106), "name", [], "any"falsefalsefalse106)) . ".") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse106), "extension", [], "any"falsefalsefalse106))), "html"nulltrue);
  302.                     echo ");\">
  303.                         </div>
  304.                     </div>
  305.                 ";
  306.                 }
  307.                 // line 110
  308.                 echo "
  309.                 ";
  310.                 // line 111
  311.                 if (((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse111) > 0) && (twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse111) < 5))) {
  312.                     // line 112
  313.                     echo "                    ";
  314.                     if ((isset($context["imageTopColumn"]) || array_key_exists("imageTopColumn"$context) ? $context["imageTopColumn"] : (function () { throw new RuntimeError('Variable "imageTopColumn" does not exist.'112$this->source); })())) {
  315.                         // line 113
  316.                         echo "                        <div class=\"col-3 d-none d-md-block\">
  317.                         <div data-size=\"";
  318.                         // line 114
  319.                         echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(twig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse114)), "html"nulltrue);
  320.                         echo "\" class=\"gallery-small-top gallery-image\"
  321.                              style=\"background-image: url(";
  322.                         // line 115
  323.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse115), "name", [], "any"falsefalsefalse115)) . ".") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse115), "extension", [], "any"falsefalsefalse115))), "html"nulltrue);
  324.                         echo ");\">
  325.                         </div>
  326.                     ";
  327.                     } else {
  328.                         // line 118
  329.                         echo "                        <div>
  330.                             ";
  331.                         // line 119
  332.                         if (((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse119) == 4) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'119$this->source); })()), "galleryImages", [], "any"falsefalsefalse119)) > 5))) {
  333.                             // line 120
  334.                             echo "                                ";
  335.                             $context["countMoreContent"] = (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'120$this->source); })()), "galleryImages", [], "any"falsefalsefalse120)) - 5);
  336.                             // line 121
  337.                             echo "                                <div class=\"more-content font-poppins font-weight-bold d-flex justify-content-center flex-column\">
  338.                                     <div class=\"counter\">+";
  339.                             // line 122
  340.                             echo twig_escape_filter($this->env, (isset($context["countMoreContent"]) || array_key_exists("countMoreContent"$context) ? $context["countMoreContent"] : (function () { throw new RuntimeError('Variable "countMoreContent" does not exist.'122$this->source); })()), "html"nulltrue);
  341.                             echo "</div>
  342.                                 </div>
  343.                             ";
  344.                         }
  345.                         // line 125
  346.                         echo "
  347.                             <div data-size=\"";
  348.                         // line 126
  349.                         echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(twig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse126)), "html"nulltrue);
  350.                         echo "\" class=\"gallery-bottom-top gallery-image\"
  351.                                  style=\"background-image: url(";
  352.                         // line 127
  353.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse127), "name", [], "any"falsefalsefalse127)) . ".") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse127), "extension", [], "any"falsefalsefalse127))), "html"nulltrue);
  354.                         echo ");\">
  355.                             </div>
  356.                         </div>
  357.                         </div>
  358.                     ";
  359.                     }
  360.                     // line 132
  361.                     echo "                ";
  362.                 }
  363.                 // line 133
  364.                 echo "                ";
  365.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse133) >= 5)) {
  366.                     // line 134
  367.                     echo "                    <div data-size=\"";
  368.                     echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(twig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse134)), "html"nulltrue);
  369.                     echo "\" class=\"gallery-image d-none\"
  370.                          style=\"background-image: url(";
  371.                     // line 135
  372.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse135), "name", [], "any"falsefalsefalse135)) . ".") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["galleryImage"], "image", [], "any"falsefalsefalse135), "extension", [], "any"falsefalsefalse135))), "html"nulltrue);
  373.                     echo ");\">
  374.                     </div>
  375.                 ";
  376.                 }
  377.                 // line 138
  378.                 echo "            ";
  379.                 ++$context['loop']['index0'];
  380.                 ++$context['loop']['index'];
  381.                 $context['loop']['first'] = false;
  382.                 if (isset($context['loop']['length'])) {
  383.                     --$context['loop']['revindex0'];
  384.                     --$context['loop']['revindex'];
  385.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  386.                 }
  387.             }
  388.             $_parent $context['_parent'];
  389.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['galleryImage'], $context['_parent'], $context['loop']);
  390.             $context array_intersect_key($context$_parent) + $_parent;
  391.             // line 139
  392.             echo "        </div>
  393.         <div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
  394.             <div class=\"pswp__bg\"></div>
  395.             <div class=\"pswp__scroll-wrap\">
  396.                 <div class=\"pswp__container\">
  397.                     <div class=\"pswp__item\"></div>
  398.                     <div class=\"pswp__item\"></div>
  399.                     <div class=\"pswp__item\"></div>
  400.                 </div>
  401.                 <div class=\"pswp__ui pswp__ui--hidden\">
  402.                     <div class=\"pswp__top-bar\">
  403.                         <div class=\"pswp__counter\"></div>
  404.                         <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
  405.                         <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
  406.                         <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
  407.                         <div class=\"pswp__preloader\">
  408.                             <div class=\"pswp__preloader__icn\">
  409.                                 <div class=\"pswp__preloader__cut\">
  410.                                     <div class=\"pswp__preloader__donut\"></div>
  411.                                 </div>
  412.                             </div>
  413.                         </div>
  414.                     </div>
  415.                     <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
  416.                     </button>
  417.                     <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
  418.                     </button>
  419.                     <div class=\"pswp__caption\">
  420.                         <div class=\"pswp__caption__center\"></div>
  421.                     </div>
  422.                 </div>
  423.             </div>
  424.         </div>
  425.     ";
  426.         }
  427.         // line 175
  428.         echo "
  429.     ";
  430.         // line 177
  431.         echo "    ";
  432.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'177$this->source); })()), "partners", [], "any"falsefalsefalse177)) > 0)) {
  433.             // line 178
  434.             echo "        <div class=\"row mt-5\">
  435.             <div class=\"col-12\">
  436.                 <h2 class=\"v2-title-small mt-5 mb-2\">";
  437.             // line 180
  438.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.partners.label"), "html"nulltrue);
  439.             echo " (";
  440.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'180$this->source); })()), "partners", [], "any"falsefalsefalse180)), "html"nulltrue);
  441.             echo ")</h2>
  442.             </div>
  443.             <div class=\"col-lg-12 col-md-12\">
  444.                 <div class=\"row\">
  445.                     <div class=\"col-12\">
  446.                         <div class=\"slider-container\">
  447.                             <ul class=\"slider-controls\" id=\"customize-controls-partner\" aria-label=\"Carousel Navigation\" tabindex=\"0\">
  448.                                 <li class=\"prev\" data-controls=\"prev\" aria-controls=\"customize\" tabindex=\"-1\">
  449.                                     <img src=\"";
  450.             // line 188
  451.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/common/background-white-left.svg""common"), "html"nulltrue);
  452.             echo "\" alt=\"Go to left\"/>
  453.                                 </li>
  454.                                 <li class=\"next\" data-controls=\"next\" aria-controls=\"customize\" tabindex=\"-1\">
  455.                                     <img src=\"";
  456.             // line 191
  457.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/common/background-white-right.svg""common"), "html"nulltrue);
  458.             echo "\" alt=\"Go to right\"/>
  459.                                 </li>
  460.                             </ul>
  461.                             <div class=\"my-slider partner-slider\">
  462.                                 ";
  463.             // line 195
  464.             $context['_parent'] = $context;
  465.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'195$this->source); })()), "partners", [], "any"falsefalsefalse195));
  466.             foreach ($context['_seq'] as $context["_key"] => $context["partner"]) {
  467.                 // line 196
  468.                 echo "                                    <div class=\"slider-item\">
  469.                                         <div class=\"slider-card\">
  470.                                             <img class=\"slider-img\" src=\"";
  471.                 // line 198
  472.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["partner"], "image", [], "any"falsefalsefalse198), "name", [], "any"falsefalsefalse198)) . ".") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["partner"], "image", [], "any"falsefalsefalse198), "extension", [], "any"falsefalsefalse198))), "html"nulltrue);
  473.                 echo "\" alt=\"";
  474.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partner"], "name", [], "any"falsefalsefalse198), "html"nulltrue);
  475.                 echo "\"/>
  476.                                         </div>
  477.                                     </div>
  478.                                 ";
  479.             }
  480.             $_parent $context['_parent'];
  481.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partner'], $context['_parent'], $context['loop']);
  482.             $context array_intersect_key($context$_parent) + $_parent;
  483.             // line 202
  484.             echo "                            </div>
  485.                         </div>
  486.                     </div>
  487.                 </div>
  488.             </div>
  489.         </div>
  490.     ";
  491.         }
  492.         // line 209
  493.         echo "
  494.     ";
  495.         // line 211
  496.         echo "    ";
  497.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'211$this->source); })()), "channelDescriptions", [], "any"falsefalsefalse211)) > 0)) {
  498.             // line 212
  499.             echo "    <div class=\"row channel-key-informations\">
  500.         <div class=\"col-12\">
  501.             <h2 class=\"v2-title-small mt-5 mb-2\">";
  502.             // line 214
  503.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.some_key_information.label"), "html"nulltrue);
  504.             echo "</h2>
  505.         </div>
  506.         <div class=\"col-lg-12 col-md-12 font-poppins\">
  507.             <div class=\"row\">
  508.                 ";
  509.             // line 218
  510.             $context['_parent'] = $context;
  511.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'218$this->source); })()), "channelDescriptions", [], "any"falsefalsefalse218));
  512.             $context['loop'] = [
  513.               'parent' => $context['_parent'],
  514.               'index0' => 0,
  515.               'index'  => 1,
  516.               'first'  => true,
  517.             ];
  518.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  519.                 $length count($context['_seq']);
  520.                 $context['loop']['revindex0'] = $length 1;
  521.                 $context['loop']['revindex'] = $length;
  522.                 $context['loop']['length'] = $length;
  523.                 $context['loop']['last'] = === $length;
  524.             }
  525.             foreach ($context['_seq'] as $context["_key"] => $context["channelDescription"]) {
  526.                 // line 219
  527.                 echo "                    <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 mt-4\">
  528.                         ";
  529.                 // line 220
  530.                 $this->loadTemplate("Front/Channel/channel-description.html.twig""Front/Channel/show.html.twig"220)->display(twig_array_merge($context, ["channelDescription" => $context["channelDescription"]]));
  531.                 // line 221
  532.                 echo "                    </div>
  533.                 ";
  534.                 ++$context['loop']['index0'];
  535.                 ++$context['loop']['index'];
  536.                 $context['loop']['first'] = false;
  537.                 if (isset($context['loop']['length'])) {
  538.                     --$context['loop']['revindex0'];
  539.                     --$context['loop']['revindex'];
  540.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  541.                 }
  542.             }
  543.             $_parent $context['_parent'];
  544.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['channelDescription'], $context['_parent'], $context['loop']);
  545.             $context array_intersect_key($context$_parent) + $_parent;
  546.             // line 223
  547.             echo "            </div>
  548.         </div>
  549.     </div>
  550.     ";
  551.         }
  552.         // line 227
  553.         echo "
  554.     ";
  555.         // line 229
  556.         echo "    ";
  557.         if ((twig_length_filter($this->env, (isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'229$this->source); })())) > 0)) {
  558.             // line 230
  559.             echo "        <div class=\"row mt-3 channel-teachers\">
  560.             <div class=\"col-12\">
  561.                 <h2 class=\"v2-title-small mt-5 mb-2\">";
  562.             // line 232
  563.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.training.show.sub_title.teacher.label"), "html"nulltrue);
  564.             echo "
  565.                     (";
  566.             // line 233
  567.             echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'233$this->source); })())), "html"nulltrue);
  568.             echo ")</h2>
  569.             </div>
  570.             ";
  571.             // line 236
  572.             $context['_parent'] = $context;
  573.             $context['_seq'] = twig_ensure_traversable((isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'236$this->source); })()));
  574.             $context['loop'] = [
  575.               'parent' => $context['_parent'],
  576.               'index0' => 0,
  577.               'index'  => 1,
  578.               'first'  => true,
  579.             ];
  580.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  581.                 $length count($context['_seq']);
  582.                 $context['loop']['revindex0'] = $length 1;
  583.                 $context['loop']['revindex'] = $length;
  584.                 $context['loop']['length'] = $length;
  585.                 $context['loop']['last'] = === $length;
  586.             }
  587.             foreach ($context['_seq'] as $context["_key"] => $context["teacher"]) {
  588.                 // line 237
  589.                 echo "                ";
  590.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse237) < 5)) {
  591.                     // line 238
  592.                     echo "                    <div class=\"col-12\">
  593.                         <div class=\"mt-3\">
  594.                             ";
  595.                     // line 240
  596.                     $this->loadTemplate("Front/Scholar/Card/teacher-channel.html.twig""Front/Channel/show.html.twig"240)->display(twig_array_merge($context, ["teacher" => $context["teacher"]]));
  597.                     // line 241
  598.                     echo "                        </div>
  599.                     </div>
  600.                 ";
  601.                 }
  602.                 // line 244
  603.                 echo "            ";
  604.                 ++$context['loop']['index0'];
  605.                 ++$context['loop']['index'];
  606.                 $context['loop']['first'] = false;
  607.                 if (isset($context['loop']['length'])) {
  608.                     --$context['loop']['revindex0'];
  609.                     --$context['loop']['revindex'];
  610.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  611.                 }
  612.             }
  613.             $_parent $context['_parent'];
  614.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['teacher'], $context['_parent'], $context['loop']);
  615.             $context array_intersect_key($context$_parent) + $_parent;
  616.             // line 245
  617.             echo "
  618.             ";
  619.             // line 246
  620.             if ((twig_length_filter($this->env, (isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'246$this->source); })())) > 5)) {
  621.                 // line 247
  622.                 echo "                <div class=\"col-12 div-more-teacher\">
  623.                     <div class=\"row\">
  624.                         ";
  625.                 // line 249
  626.                 $context['_parent'] = $context;
  627.                 $context['_seq'] = twig_ensure_traversable((isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'249$this->source); })()));
  628.                 $context['loop'] = [
  629.                   'parent' => $context['_parent'],
  630.                   'index0' => 0,
  631.                   'index'  => 1,
  632.                   'first'  => true,
  633.                 ];
  634.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  635.                     $length count($context['_seq']);
  636.                     $context['loop']['revindex0'] = $length 1;
  637.                     $context['loop']['revindex'] = $length;
  638.                     $context['loop']['length'] = $length;
  639.                     $context['loop']['last'] = === $length;
  640.                 }
  641.                 foreach ($context['_seq'] as $context["_key"] => $context["teacher"]) {
  642.                     // line 250
  643.                     echo "                            ";
  644.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse250) >= 5)) {
  645.                         // line 251
  646.                         echo "                                <div class=\"col-12\">
  647.                                     <div class=\"mt-3\">
  648.                                         ";
  649.                         // line 253
  650.                         $this->loadTemplate("Front/Scholar/Card/teacher-channel.html.twig""Front/Channel/show.html.twig"253)->display(twig_array_merge($context, ["teacher" => $context["teacher"]]));
  651.                         // line 254
  652.                         echo "                                    </div>
  653.                                 </div>
  654.                             ";
  655.                     }
  656.                     // line 257
  657.                     echo "                        ";
  658.                     ++$context['loop']['index0'];
  659.                     ++$context['loop']['index'];
  660.                     $context['loop']['first'] = false;
  661.                     if (isset($context['loop']['length'])) {
  662.                         --$context['loop']['revindex0'];
  663.                         --$context['loop']['revindex'];
  664.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  665.                     }
  666.                 }
  667.                 $_parent $context['_parent'];
  668.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['teacher'], $context['_parent'], $context['loop']);
  669.                 $context array_intersect_key($context$_parent) + $_parent;
  670.                 // line 258
  671.                 echo "                    </div>
  672.                 </div>
  673.             ";
  674.             }
  675.             // line 261
  676.             echo "        </div>
  677.         ";
  678.             // line 263
  679.             if ((twig_length_filter($this->env, (isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'263$this->source); })())) > 5)) {
  680.                 // line 264
  681.                 echo "            <div class=\"row pb-2 mb-5\">
  682.                 <div class=\"col-12\">
  683.                     <div class=\"all-trainings\">
  684.                         <button class=\"see-more-btn text-decoration-none\" id=\"teacher-see-more\">
  685.                             ";
  686.                 // line 268
  687.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.actions.see_more.label", ["%count_displayed_item%" => 5"%count_all_items%" => twig_length_filter($this->env, (isset($context["teachers"]) || array_key_exists("teachers"$context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.'268$this->source); })()))]), "html"nulltrue);
  688.                 echo "
  689.                         </button>
  690.                     </div>
  691.                 </div>
  692.             </div>
  693.         ";
  694.             }
  695.             // line 274
  696.             echo "    ";
  697.         }
  698.         // line 275
  699.         echo "
  700.     ";
  701.         // line 277
  702.         echo "    ";
  703.         if ((twig_length_filter($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'277$this->source); })())) > 0)) {
  704.             // line 278
  705.             echo "        <div class=\"row mt-3 ";
  706.             echo (((twig_length_filter($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'278$this->source); })())) <= 5)) ? ("mb-5 pb-2") : (""));
  707.             echo "\">
  708.             <div class=\"col-12\">
  709.                 <div class=\"row\">
  710.                     <div class=\"col-12\">
  711.                         <div class=\"div-title-between mt-5 mb-2\">
  712.                             <h2 class=\"v2-title-small\">";
  713.             // line 283
  714.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.training.show.sub_title.advice.label"), "html"nulltrue);
  715.             echo "
  716.                                 (";
  717.             // line 284
  718.             echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'284$this->source); })())), "html"nulltrue);
  719.             echo ")</h2>
  720.                             <p class=\"\"><i class=\"far fa-star\"></i> ";
  721.             // line 285
  722.             echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\Runtime\AdviceRuntime')->adviceAvgByChannel((isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'285$this->source); })())), "html"nulltrue);
  723.             echo "</p>
  724.                         </div>
  725.                     </div>
  726.                     <div class=\"col-12\">
  727.                         <div class=\"mt-3\">
  728.                             ";
  729.             // line 290
  730.             $context['_parent'] = $context;
  731.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'290$this->source); })()), 05));
  732.             $context['loop'] = [
  733.               'parent' => $context['_parent'],
  734.               'index0' => 0,
  735.               'index'  => 1,
  736.               'first'  => true,
  737.             ];
  738.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  739.                 $length count($context['_seq']);
  740.                 $context['loop']['revindex0'] = $length 1;
  741.                 $context['loop']['revindex'] = $length;
  742.                 $context['loop']['length'] = $length;
  743.                 $context['loop']['last'] = === $length;
  744.             }
  745.             foreach ($context['_seq'] as $context["_key"] => $context["advice"]) {
  746.                 // line 291
  747.                 echo "                                ";
  748.                 $this->loadTemplate("Front/Scholar/Card/advice.html.twig""Front/Channel/show.html.twig"291)->display(twig_array_merge($context, ["advice" => $context["advice"]]));
  749.                 // line 292
  750.                 echo "                            ";
  751.                 ++$context['loop']['index0'];
  752.                 ++$context['loop']['index'];
  753.                 $context['loop']['first'] = false;
  754.                 if (isset($context['loop']['length'])) {
  755.                     --$context['loop']['revindex0'];
  756.                     --$context['loop']['revindex'];
  757.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  758.                 }
  759.             }
  760.             $_parent $context['_parent'];
  761.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['advice'], $context['_parent'], $context['loop']);
  762.             $context array_intersect_key($context$_parent) + $_parent;
  763.             // line 293
  764.             echo "
  765.                             <div class=\"div-more-advice\">
  766.                                 ";
  767.             // line 295
  768.             $context['_parent'] = $context;
  769.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'295$this->source); })()), 5));
  770.             $context['loop'] = [
  771.               'parent' => $context['_parent'],
  772.               'index0' => 0,
  773.               'index'  => 1,
  774.               'first'  => true,
  775.             ];
  776.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  777.                 $length count($context['_seq']);
  778.                 $context['loop']['revindex0'] = $length 1;
  779.                 $context['loop']['revindex'] = $length;
  780.                 $context['loop']['length'] = $length;
  781.                 $context['loop']['last'] = === $length;
  782.             }
  783.             foreach ($context['_seq'] as $context["_key"] => $context["advice"]) {
  784.                 // line 296
  785.                 echo "                                    ";
  786.                 $this->loadTemplate("Front/Scholar/Card/advice.html.twig""Front/Channel/show.html.twig"296)->display(twig_array_merge($context, ["advice" => $context["advice"]]));
  787.                 // line 297
  788.                 echo "                                ";
  789.                 ++$context['loop']['index0'];
  790.                 ++$context['loop']['index'];
  791.                 $context['loop']['first'] = false;
  792.                 if (isset($context['loop']['length'])) {
  793.                     --$context['loop']['revindex0'];
  794.                     --$context['loop']['revindex'];
  795.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  796.                 }
  797.             }
  798.             $_parent $context['_parent'];
  799.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['advice'], $context['_parent'], $context['loop']);
  800.             $context array_intersect_key($context$_parent) + $_parent;
  801.             // line 298
  802.             echo "                            </div>
  803.                         </div>
  804.                     </div>
  805.                 </div>
  806.             </div>
  807.         </div>
  808.     ";
  809.         }
  810.         // line 305
  811.         echo "
  812.     ";
  813.         // line 306
  814.         if ((twig_length_filter($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'306$this->source); })())) > 5)) {
  815.             // line 307
  816.             echo "        <div class=\"row pb-2 mb-5\">
  817.             <div class=\"col-12\">
  818.                 <div class=\"all-trainings\">
  819.                     <button class=\"see-more-btn text-decoration-none\" id=\"training-advice-see-more\">
  820.                         ";
  821.             // line 311
  822.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.actions.see_more.label", ["%count_displayed_item%" => 5"%count_all_items%" => twig_length_filter($this->env, (isset($context["advices"]) || array_key_exists("advices"$context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.'311$this->source); })()))]), "html"nulltrue);
  823.             echo "
  824.                     </button>
  825.                 </div>
  826.             </div>
  827.         </div>
  828.     ";
  829.         }
  830.         // line 317
  831.         echo "
  832.     ";
  833.         // line 318
  834.         $this->loadTemplate("Front/Channel/find-us-contact-us.html.twig""Front/Channel/show.html.twig"318)->display(twig_array_merge($context, ["channel" => (isset($context["channel"]) || array_key_exists("channel"$context) ? $context["channel"] : (function () { throw new RuntimeError('Variable "channel" does not exist.'318$this->source); })())]));
  835.         
  836.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  837.         
  838.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  839.     }
  840.     public function getTemplateName()
  841.     {
  842.         return "Front/Channel/show.html.twig";
  843.     }
  844.     public function isTraitable()
  845.     {
  846.         return false;
  847.     }
  848.     public function getDebugInfo()
  849.     {
  850.         return array (  867 => 318,  864 => 317,  855 => 311,  849 => 307,  847 => 306,  844 => 305,  835 => 298,  821 => 297,  818 => 296,  801 => 295,  797 => 293,  783 => 292,  780 => 291,  763 => 290,  755 => 285,  751 => 284,  747 => 283,  738 => 278,  735 => 277,  732 => 275,  729 => 274,  720 => 268,  714 => 264,  712 => 263,  708 => 261,  703 => 258,  689 => 257,  684 => 254,  682 => 253,  678 => 251,  675 => 250,  658 => 249,  654 => 247,  652 => 246,  649 => 245,  635 => 244,  630 => 241,  628 => 240,  624 => 238,  621 => 237,  604 => 236,  598 => 233,  594 => 232,  590 => 230,  587 => 229,  584 => 227,  578 => 223,  563 => 221,  561 => 220,  558 => 219,  541 => 218,  534 => 214,  530 => 212,  527 => 211,  524 => 209,  515 => 202,  503 => 198,  499 => 196,  495 => 195,  488 => 191,  482 => 188,  469 => 180,  465 => 178,  462 => 177,  459 => 175,  421 => 139,  407 => 138,  401 => 135,  396 => 134,  393 => 133,  390 => 132,  382 => 127,  378 => 126,  375 => 125,  369 => 122,  366 => 121,  363 => 120,  361 => 119,  358 => 118,  352 => 115,  348 => 114,  345 => 113,  342 => 112,  340 => 111,  337 => 110,  330 => 106,  326 => 105,  323 => 104,  321 => 103,  318 => 102,  315 => 101,  312 => 100,  310 => 99,  307 => 98,  304 => 97,  301 => 96,  298 => 95,  281 => 94,  278 => 93,  275 => 92,  272 => 90,  264 => 85,  260 => 84,  256 => 82,  254 => 81,  248 => 77,  239 => 75,  235 => 74,  224 => 66,  218 => 62,  216 => 61,  206 => 60,  194 => 57,  184 => 49,  178 => 47,  176 => 46,  172 => 45,  169 => 44,  163 => 41,  160 => 40,  157 => 39,  151 => 36,  148 => 35,  146 => 34,  141 => 31,  139 => 30,  134 => 27,  130 => 25,  124 => 22,  121 => 21,  118 => 20,  112 => 18,  110 => 17,  107 => 16,  105 => 15,  102 => 14,  100 => 13,  91 => 6,  81 => 5,  60 => 3,  37 => 1,);
  851.     }
  852.     public function getSourceContext()
  853.     {
  854.         return new Source("{% extends 'base.html.twig' %}
  855. {% block title %}{{ channel.name }} - {{ parent() }}{% endblock %}
  856. {% block content %}
  857.     <div class=\"background-image-channel channel-page font-poppins\">
  858.         <div class=\"container py-3 px-0\">
  859.             <div class=\"col-12\" style=\"margin-top: 5rem;margin-bottom: 5rem;\">
  860.                 <div class=\"row\">
  861.                     <div class=\"col-12 col-md-8\">
  862.                         <div class=\"d-flex flex-row\">
  863.                             {% include 'Front/Channel/Image/_image_main_avatar.html.twig' with {'channel': channel, 'custom_class_channel': 'channel-avatar-presentation'} %}
  864.                             {% if channel.name or channel.slogan %}
  865.                                 <div class=\"ml-3 d-flex flex-column justify-content-center\">
  866.                                     {% if channel.name %}
  867.                                         <p class=\"v2-title-small full-black mb-0\">{{ channel.name }}</p>
  868.                                     {% endif %}
  869.                                     {% if channel.slogan %}
  870.                                         <div>
  871.                                             <p class=\"full-black mb-0\">{{ channel.slogan }}</p>
  872.                                         </div>
  873.                                     {% endif %}
  874.                                 </div>
  875.                             {% endif %}
  876.                         </div>
  877.                     </div>
  878.                     <div class=\"col-12 col-md-4 social-top\">
  879.                         {% include 'Front/Channel/social-links.twig' with {'channel': channel, 'icon_color': 'black'} %}
  880.                     </div>
  881.                     <div class=\"col-12 mt-4\">
  882.                         <div class=\"row\">
  883.                             {% if channel.presentationTitle %}
  884.                             <div class=\"col-12\">
  885.                                 <p class=\"v2-title-big full-black mt-3 text-center\">{{ channel.presentationTitle }}</p>
  886.                             </div>
  887.                             {% endif %}
  888.                             {% if channel.presentationText %}
  889.                             <div class=\"col-12\">
  890.                                 <p class=\"mt-3 text-center white-space-pre-wrap\">{{ channel.presentationText }}</p>
  891.                             </div>
  892.                             {% endif %}
  893.                             <div class=\"col-12 mt-4 text-center text-md-left d-flex buttons\">
  894.                                 <a href=\"#our-trainings\" class=\"mt-2 btn-nellapp-v2 btn-nellap-v2-responsive-small\">{{ 'front.channel.show.our_trainings.label'|trans }}</a>
  895.                                 {% if channel.institutions|length > 0 or channel.contactPhone or channel.contactEmail or channel.links|length > 0 %}
  896.                                     <a href=\"#contact-us\" class=\"mt-2 btn-nellapp-v2-secondary btn-nellap-v2-responsive-small\">{{ 'front.home.welcome.button.contact'|trans }}</a>
  897.                                 {% endif %}
  898.                             </div>
  899.                         </div>
  900.                     </div>
  901.                 </div>
  902.             </div>
  903.         </div>
  904.     </div>
  905.     {{ parent() }}
  906. {% endblock content %}
  907. {% block inner_content %}
  908.     {# Trainings #}
  909.     <div class=\"row\" id=\"our-trainings\">
  910.         <div class=\"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12\">
  911.             <div class=\"section-title-type-formation\">
  912.                 <h2 class=\"ml-0\">
  913.                     {{ 'front.channel.show.tabs.home.subtitles.trainings.label'|trans({'%count%': count_trainings}) }}
  914.                 </h2>
  915.             </div>
  916.         </div>
  917.     </div>
  918.     <div class=\"row flex-nowrap flex-sm-nowrap flex-md-nowrap flex-lg-nowrap flex-xl-wrap v3-cards\">
  919.         <div class=\"scrollable-bar-hidden\" style=\"--_grid-columns: 4\">
  920.             {% for training in last_four_trainings %}
  921.                 {{ component('TrainingCard', { training: training }) }}
  922.             {% endfor %}
  923.         </div>
  924.     </div>
  925.     {% if count_trainings > 4 %}
  926.         <div class=\"col-12 mt-2 pb-5\">
  927.             <div class=\"all-trainings\">
  928.                 <a href=\"{{ path('front_channel_trainings', {'id': channel.id}) }}\" class=\"text-decoration-none\">
  929.                     {{ 'front.channel.show.actions.see_more.label'|trans({'%count_displayed_item%': last_four_trainings|length, '%count_all_items%': count_trainings}) }}
  930.                 </a>
  931.             </div>
  932.         </div>
  933.     {% endif %}
  934.     {# Gallery #}
  935.     {% if channel.galleryImages|length >= 5 %}
  936.         <div class=\"row gallery mt-4 justify-content-center text-center\">
  937.             {% for galleryImage in channel.galleryImages %}
  938.                 {% if loop.index0 % 2 == 1 %}
  939.                     {% set imageTopColumn = true %}
  940.                 {% endif %}
  941.                 {% if loop.index0 % 2 == 0 %}
  942.                     {% set imageTopColumn = false %}
  943.                 {% endif %}
  944.                 {% if loop.index0 == 0 %}
  945.                     <div class=\"col-12 col-md-6\">
  946.                         <div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-big-one gallery-image\"
  947.                              style=\"background-image: url({{ asset('uploads/channel_images/' ~ galleryImage.image.name ~ '.' ~ galleryImage.image.extension) }});\">
  948.                         </div>
  949.                     </div>
  950.                 {% endif %}
  951.                 {% if loop.index0 > 0 and loop.index0 < 5 %}
  952.                     {% if imageTopColumn %}
  953.                         <div class=\"col-3 d-none d-md-block\">
  954.                         <div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-small-top gallery-image\"
  955.                              style=\"background-image: url({{ asset('uploads/channel_images/' ~ galleryImage.image.name ~ '.' ~ galleryImage.image.extension) }});\">
  956.                         </div>
  957.                     {% else %}
  958.                         <div>
  959.                             {% if loop.index0 == 4 and channel.galleryImages|length > 5 %}
  960.                                 {% set countMoreContent = channel.galleryImages|length - 5 %}
  961.                                 <div class=\"more-content font-poppins font-weight-bold d-flex justify-content-center flex-column\">
  962.                                     <div class=\"counter\">+{{ countMoreContent }}</div>
  963.                                 </div>
  964.                             {% endif %}
  965.                             <div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-bottom-top gallery-image\"
  966.                                  style=\"background-image: url({{ asset('uploads/channel_images/' ~ galleryImage.image.name ~ '.' ~ galleryImage.image.extension) }});\">
  967.                             </div>
  968.                         </div>
  969.                         </div>
  970.                     {% endif %}
  971.                 {% endif %}
  972.                 {% if loop.index0 >= 5 %}
  973.                     <div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-image d-none\"
  974.                          style=\"background-image: url({{ asset('uploads/channel_images/' ~ galleryImage.image.name ~ '.' ~ galleryImage.image.extension) }});\">
  975.                     </div>
  976.                 {% endif %}
  977.             {% endfor %}
  978.         </div>
  979.         <div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
  980.             <div class=\"pswp__bg\"></div>
  981.             <div class=\"pswp__scroll-wrap\">
  982.                 <div class=\"pswp__container\">
  983.                     <div class=\"pswp__item\"></div>
  984.                     <div class=\"pswp__item\"></div>
  985.                     <div class=\"pswp__item\"></div>
  986.                 </div>
  987.                 <div class=\"pswp__ui pswp__ui--hidden\">
  988.                     <div class=\"pswp__top-bar\">
  989.                         <div class=\"pswp__counter\"></div>
  990.                         <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
  991.                         <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
  992.                         <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
  993.                         <div class=\"pswp__preloader\">
  994.                             <div class=\"pswp__preloader__icn\">
  995.                                 <div class=\"pswp__preloader__cut\">
  996.                                     <div class=\"pswp__preloader__donut\"></div>
  997.                                 </div>
  998.                             </div>
  999.                         </div>
  1000.                     </div>
  1001.                     <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
  1002.                     </button>
  1003.                     <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
  1004.                     </button>
  1005.                     <div class=\"pswp__caption\">
  1006.                         <div class=\"pswp__caption__center\"></div>
  1007.                     </div>
  1008.                 </div>
  1009.             </div>
  1010.         </div>
  1011.     {% endif %}
  1012.     {# Partners #}
  1013.     {% if channel.partners|length > 0 %}
  1014.         <div class=\"row mt-5\">
  1015.             <div class=\"col-12\">
  1016.                 <h2 class=\"v2-title-small mt-5 mb-2\">{{ 'front.channel.show.partners.label'|trans }} ({{ channel.partners|length }})</h2>
  1017.             </div>
  1018.             <div class=\"col-lg-12 col-md-12\">
  1019.                 <div class=\"row\">
  1020.                     <div class=\"col-12\">
  1021.                         <div class=\"slider-container\">
  1022.                             <ul class=\"slider-controls\" id=\"customize-controls-partner\" aria-label=\"Carousel Navigation\" tabindex=\"0\">
  1023.                                 <li class=\"prev\" data-controls=\"prev\" aria-controls=\"customize\" tabindex=\"-1\">
  1024.                                     <img src=\"{{ asset('build/common/background-white-left.svg', 'common') }}\" alt=\"Go to left\"/>
  1025.                                 </li>
  1026.                                 <li class=\"next\" data-controls=\"next\" aria-controls=\"customize\" tabindex=\"-1\">
  1027.                                     <img src=\"{{ asset('build/common/background-white-right.svg', 'common') }}\" alt=\"Go to right\"/>
  1028.                                 </li>
  1029.                             </ul>
  1030.                             <div class=\"my-slider partner-slider\">
  1031.                                 {% for partner in channel.partners %}
  1032.                                     <div class=\"slider-item\">
  1033.                                         <div class=\"slider-card\">
  1034.                                             <img class=\"slider-img\" src=\"{{ asset('uploads/channel_images/' ~ partner.image.name ~ '.' ~ partner.image.extension) }}\" alt=\"{{ partner.name }}\"/>
  1035.                                         </div>
  1036.                                     </div>
  1037.                                 {% endfor %}
  1038.                             </div>
  1039.                         </div>
  1040.                     </div>
  1041.                 </div>
  1042.             </div>
  1043.         </div>
  1044.     {% endif %}
  1045.     {# Key informations #}
  1046.     {% if channel.channelDescriptions|length > 0 %}
  1047.     <div class=\"row channel-key-informations\">
  1048.         <div class=\"col-12\">
  1049.             <h2 class=\"v2-title-small mt-5 mb-2\">{{ 'front.channel.show.some_key_information.label'|trans }}</h2>
  1050.         </div>
  1051.         <div class=\"col-lg-12 col-md-12 font-poppins\">
  1052.             <div class=\"row\">
  1053.                 {% for channelDescription in channel.channelDescriptions %}
  1054.                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 mt-4\">
  1055.                         {% include 'Front/Channel/channel-description.html.twig' with {'channelDescription' : channelDescription} %}
  1056.                     </div>
  1057.                 {% endfor %}
  1058.             </div>
  1059.         </div>
  1060.     </div>
  1061.     {% endif %}
  1062.     {# Teachers #}
  1063.     {% if teachers|length > 0 %}
  1064.         <div class=\"row mt-3 channel-teachers\">
  1065.             <div class=\"col-12\">
  1066.                 <h2 class=\"v2-title-small mt-5 mb-2\">{{ 'front.scholar.training.show.sub_title.teacher.label'|trans }}
  1067.                     ({{ teachers|length }})</h2>
  1068.             </div>
  1069.             {% for teacher in teachers %}
  1070.                 {% if loop.index0 < 5 %}
  1071.                     <div class=\"col-12\">
  1072.                         <div class=\"mt-3\">
  1073.                             {% include 'Front/Scholar/Card/teacher-channel.html.twig' with {'teacher' : teacher} %}
  1074.                         </div>
  1075.                     </div>
  1076.                 {% endif %}
  1077.             {% endfor %}
  1078.             {% if teachers|length > 5 %}
  1079.                 <div class=\"col-12 div-more-teacher\">
  1080.                     <div class=\"row\">
  1081.                         {% for teacher in teachers %}
  1082.                             {% if loop.index0 >= 5 %}
  1083.                                 <div class=\"col-12\">
  1084.                                     <div class=\"mt-3\">
  1085.                                         {% include 'Front/Scholar/Card/teacher-channel.html.twig' with {'teacher' : teacher} %}
  1086.                                     </div>
  1087.                                 </div>
  1088.                             {% endif %}
  1089.                         {% endfor %}
  1090.                     </div>
  1091.                 </div>
  1092.             {% endif %}
  1093.         </div>
  1094.         {% if teachers|length > 5 %}
  1095.             <div class=\"row pb-2 mb-5\">
  1096.                 <div class=\"col-12\">
  1097.                     <div class=\"all-trainings\">
  1098.                         <button class=\"see-more-btn text-decoration-none\" id=\"teacher-see-more\">
  1099.                             {{ 'front.channel.show.actions.see_more.label'|trans({'%count_displayed_item%': 5, '%count_all_items%': teachers|length}) }}
  1100.                         </button>
  1101.                     </div>
  1102.                 </div>
  1103.             </div>
  1104.         {% endif %}
  1105.     {% endif %}
  1106.     {# Comments #}
  1107.     {% if advices|length > 0 %}
  1108.         <div class=\"row mt-3 {{ advices|length <= 5 ? 'mb-5 pb-2' : '' }}\">
  1109.             <div class=\"col-12\">
  1110.                 <div class=\"row\">
  1111.                     <div class=\"col-12\">
  1112.                         <div class=\"div-title-between mt-5 mb-2\">
  1113.                             <h2 class=\"v2-title-small\">{{ 'front.scholar.training.show.sub_title.advice.label'|trans }}
  1114.                                 ({{ advices|length }})</h2>
  1115.                             <p class=\"\"><i class=\"far fa-star\"></i> {{ channel|advice_avg_by_channel }}</p>
  1116.                         </div>
  1117.                     </div>
  1118.                     <div class=\"col-12\">
  1119.                         <div class=\"mt-3\">
  1120.                             {% for advice in advices|slice(0, 5) %}
  1121.                                 {% include 'Front/Scholar/Card/advice.html.twig' with {'advice' : advice} %}
  1122.                             {% endfor %}
  1123.                             <div class=\"div-more-advice\">
  1124.                                 {% for advice in advices|slice(5) %}
  1125.                                     {% include 'Front/Scholar/Card/advice.html.twig' with {'advice' : advice} %}
  1126.                                 {% endfor %}
  1127.                             </div>
  1128.                         </div>
  1129.                     </div>
  1130.                 </div>
  1131.             </div>
  1132.         </div>
  1133.     {% endif %}
  1134.     {% if advices|length > 5 %}
  1135.         <div class=\"row pb-2 mb-5\">
  1136.             <div class=\"col-12\">
  1137.                 <div class=\"all-trainings\">
  1138.                     <button class=\"see-more-btn text-decoration-none\" id=\"training-advice-see-more\">
  1139.                         {{ 'front.channel.show.actions.see_more.label'|trans({'%count_displayed_item%': 5, '%count_all_items%': advices|length}) }}
  1140.                     </button>
  1141.                 </div>
  1142.             </div>
  1143.         </div>
  1144.     {% endif %}
  1145.     {% include 'Front/Channel/find-us-contact-us.html.twig' with {'channel' : channel} %}
  1146. {% endblock inner_content %}
  1147. ""Front/Channel/show.html.twig""/var/www/html/templates/Front/Channel/show.html.twig");
  1148.     }
  1149. }