<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\MacroNamespace;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* Front/Channel/show.html.twig */
class __TwigTemplate_c7c15d00a5d1f353af23aea81a09d840 extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
private \Twig\Runtime\EscaperRuntime $escaper;
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'inner_content' => [$this, 'block_inner_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return $this->parent ??= $this->load("base.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Channel/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Channel/show.html.twig"));
$this->parent = $this->load("base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield (string) $this->escaper->escape(CoreExtension::getAttribute($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", false, false, false, 3), "html", null, true);
yield " - ";
yield from $this->yieldParentBlock("title", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
yield " <div class=\"background-image-channel channel-page font-poppins\">
<div class=\"container py-3 px-0\">
<div class=\"col-12\" style=\"margin-top: 5rem;margin-bottom: 5rem;\">
<div class=\"row\">
<div class=\"col-12 col-md-8\">
<div class=\"d-flex flex-row\">
";
// line 13
yield from $this->load("Front/Channel/Image/_image_main_avatar.html.twig", 13)->unwrap()->yield(CoreExtension::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"]));
// line 14
yield "
";
// line 15
if (((($tmp = CoreExtension::getAttribute($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", false, false, false, 15)) && $tmp instanceof Markup ? (string) $tmp : $tmp) || (($tmp = CoreExtension::getAttribute($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", false, false, false, 15)) && $tmp instanceof Markup ? (string) $tmp : $tmp))) {
// line 16
yield " <div class=\"ml-3 d-flex flex-column justify-content-center\">
";
// line 17
if ((($tmp = CoreExtension::getAttribute($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", false, false, false, 17)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 18
yield " <p class=\"v2-title-small full-black mb-0\">";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($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", false, false, false, 18), "html", null, true);
yield "</p>
";
}
// line 20
yield " ";
if ((($tmp = CoreExtension::getAttribute($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", false, false, false, 20)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 21
yield " <div>
<p class=\"full-black mb-0\">";
// line 22
yield (string) $this->escaper->escape(CoreExtension::getAttribute($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", false, false, false, 22), "html", null, true);
yield "</p>
</div>
";
}
// line 25
yield " </div>
";
}
// line 27
yield " </div>
</div>
<div class=\"col-12 col-md-4 social-top\">
";
// line 30
yield from $this->load("Front/Channel/social-links.twig", 30)->unwrap()->yield(CoreExtension::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"]));
// line 31
yield " </div>
<div class=\"col-12 mt-4\">
<div class=\"row\">
";
// line 34
if ((($tmp = CoreExtension::getAttribute($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", false, false, false, 34)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 35
yield " <div class=\"col-12\">
<p class=\"v2-title-big full-black mt-3 text-center\">";
// line 36
yield (string) $this->escaper->escape(CoreExtension::getAttribute($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", false, false, false, 36), "html", null, true);
yield "</p>
</div>
";
}
// line 39
yield " ";
if ((($tmp = CoreExtension::getAttribute($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", false, false, false, 39)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 40
yield " <div class=\"col-12\">
<p class=\"mt-3 text-center white-space-pre-wrap\">";
// line 41
yield (string) $this->escaper->escape(CoreExtension::getAttribute($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", false, false, false, 41), "html", null, true);
yield "</p>
</div>
";
}
// line 44
yield " <div class=\"col-12 mt-4 text-center text-md-left d-flex buttons\">
<a href=\"#our-trainings\" class=\"mt-2 btn-nellapp-v2 btn-nellap-v2-responsive-small\">";
// line 45
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.our_trainings.label"), "html", null, true);
yield "</a>
";
// line 46
if (((((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 46)) > 0) || (($tmp = CoreExtension::getAttribute($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", false, false, false, 46)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) || (($tmp = CoreExtension::getAttribute($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", false, false, false, 46)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 46)) > 0))) {
// line 47
yield " <a href=\"#contact-us\" class=\"mt-2 btn-nellapp-v2-secondary btn-nellap-v2-responsive-small\">";
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.welcome.button.contact"), "html", null, true);
yield "</a>
";
}
// line 49
yield " </div>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 57
yield from $this->yieldParentBlock("content", $context, $blocks);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 60
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_inner_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content"));
// line 61
yield " ";
// line 62
yield " <div class=\"row\" id=\"our-trainings\">
<div class=\"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12\">
<div class=\"section-title-type-formation\">
<h2 class=\"ml-0\">
";
// line 66
yield (string) $this->escaper->escape($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", null, true);
yield "
</h2>
</div>
</div>
</div>
<div class=\"row flex-nowrap flex-sm-nowrap flex-md-nowrap flex-lg-nowrap flex-xl-wrap v3-cards\">
<div class=\"scrollable-bar-hidden\" style=\"--_grid-columns: 4\">
";
// line 74
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["training"]) {
// line 75
yield " ";
yield (string) $this->extensions['Symfony\UX\TwigComponent\Twig\ComponentExtension']->render("TrainingCard", ["training" => $context["training"]]);
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['training'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 77
yield " </div>
</div>
";
// line 81
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)) {
// line 82
yield " <div class=\"col-12 mt-2 pb-5\">
<div class=\"all-trainings\">
<a href=\"";
// line 84
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_channel_trainings", ["id" => CoreExtension::getAttribute($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", false, false, false, 84)]), "html", null, true);
yield "\" class=\"text-decoration-none\">
";
// line 85
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.actions.see_more.label", ["%count_displayed_item%" => Twig\Extension\CoreExtension::length($this->env->getCharset(), (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", null, true);
yield "
</a>
</div>
</div>
";
}
// line 90
yield "
";
// line 92
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 92)) >= 5)) {
// line 93
yield " <div class=\"row gallery mt-4 justify-content-center text-center\">
";
// line 94
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($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", false, false, false, 94));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["galleryImage"]) {
// line 95
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 95) % 2) == 1)) {
// line 96
yield " ";
$context["imageTopColumn"] = true;
// line 97
yield " ";
}
// line 98
yield "
";
// line 99
if (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 99) % 2) == 0)) {
// line 100
yield " ";
$context["imageTopColumn"] = false;
// line 101
yield " ";
}
// line 102
yield "
";
// line 103
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 103) == 0)) {
// line 104
yield " <div class=\"col-12 col-md-6\">
<div data-size=\"";
// line 105
yield (string) $this->escaper->escape($this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 105)), "html", null, true);
yield "\" class=\"gallery-big-one gallery-image\"
style=\"background-image: url(";
// line 106
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 106), "name", [], "any", false, false, false, 106)) . ".") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 106), "extension", [], "any", false, false, false, 106))), "html", null, true);
yield ");\">
</div>
</div>
";
}
// line 110
yield "
";
// line 111
if (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 111) > 0) && (CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 111) < 5))) {
// line 112
yield " ";
if ((($tmp = (isset($context["imageTopColumn"]) || array_key_exists("imageTopColumn", $context) ? $context["imageTopColumn"] : (function () { throw new RuntimeError('Variable "imageTopColumn" does not exist.', 112, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 113
yield " <div class=\"col-3 d-none d-md-block\">
<div data-size=\"";
// line 114
yield (string) $this->escaper->escape($this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 114)), "html", null, true);
yield "\" class=\"gallery-small-top gallery-image\"
style=\"background-image: url(";
// line 115
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 115), "name", [], "any", false, false, false, 115)) . ".") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 115), "extension", [], "any", false, false, false, 115))), "html", null, true);
yield ");\">
</div>
";
} else {
// line 118
yield " <div>
";
// line 119
if (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 119) == 4) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 119)) > 5))) {
// line 120
yield " ";
$context["countMoreContent"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 120)) - 5);
// line 121
yield " <div class=\"more-content font-poppins font-weight-bold d-flex justify-content-center flex-column\">
<div class=\"counter\">+";
// line 122
yield (string) $this->escaper->escape((isset($context["countMoreContent"]) || array_key_exists("countMoreContent", $context) ? $context["countMoreContent"] : (function () { throw new RuntimeError('Variable "countMoreContent" does not exist.', 122, $this->source); })()), "html", null, true);
yield "</div>
</div>
";
}
// line 125
yield "
<div data-size=\"";
// line 126
yield (string) $this->escaper->escape($this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 126)), "html", null, true);
yield "\" class=\"gallery-bottom-top gallery-image\"
style=\"background-image: url(";
// line 127
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 127), "name", [], "any", false, false, false, 127)) . ".") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 127), "extension", [], "any", false, false, false, 127))), "html", null, true);
yield ");\">
</div>
</div>
</div>
";
}
// line 132
yield " ";
}
// line 133
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 133) >= 5)) {
// line 134
yield " <div data-size=\"";
yield (string) $this->escaper->escape($this->env->getRuntime('App\Twig\Runtime\ImageRuntime')->getImageSize(CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 134)), "html", null, true);
yield "\" class=\"gallery-image d-none\"
style=\"background-image: url(";
// line 135
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 135), "name", [], "any", false, false, false, 135)) . ".") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["galleryImage"], "image", [], "any", false, false, false, 135), "extension", [], "any", false, false, false, 135))), "html", null, true);
yield ");\">
</div>
";
}
// line 138
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['galleryImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 139
yield " </div>
<div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
<div class=\"pswp__bg\"></div>
<div class=\"pswp__scroll-wrap\">
<div class=\"pswp__container\">
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
</div>
<div class=\"pswp__ui pswp__ui--hidden\">
<div class=\"pswp__top-bar\">
<div class=\"pswp__counter\"></div>
<button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
<button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
<button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
<div class=\"pswp__preloader\">
<div class=\"pswp__preloader__icn\">
<div class=\"pswp__preloader__cut\">
<div class=\"pswp__preloader__donut\"></div>
</div>
</div>
</div>
</div>
<button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
</button>
<button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
</button>
<div class=\"pswp__caption\">
<div class=\"pswp__caption__center\"></div>
</div>
</div>
</div>
</div>
";
}
// line 175
yield "
";
// line 177
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 177)) > 0)) {
// line 178
yield " <div class=\"row mt-5\">
<div class=\"col-12\">
<h2 class=\"v2-title-small mt-5 mb-2\">";
// line 180
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.partners.label"), "html", null, true);
yield " (";
yield (string) $this->escaper->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 180)), "html", null, true);
yield ")</h2>
</div>
<div class=\"col-lg-12 col-md-12\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"slider-container\">
<ul class=\"slider-controls\" id=\"customize-controls-partner\" aria-label=\"Carousel Navigation\" tabindex=\"0\">
<li class=\"prev\" data-controls=\"prev\" aria-controls=\"customize\" tabindex=\"-1\">
<img src=\"";
// line 188
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/common/background-white-left.svg", "common"), "html", null, true);
yield "\" alt=\"Go to left\"/>
</li>
<li class=\"next\" data-controls=\"next\" aria-controls=\"customize\" tabindex=\"-1\">
<img src=\"";
// line 191
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/common/background-white-right.svg", "common"), "html", null, true);
yield "\" alt=\"Go to right\"/>
</li>
</ul>
<div class=\"my-slider partner-slider\">
";
// line 195
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($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", false, false, false, 195));
foreach ($context['_seq'] as $context["_key"] => $context["partner"]) {
// line 196
yield " <div class=\"slider-item\">
<div class=\"slider-card\">
<img class=\"slider-img\" src=\"";
// line 198
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/channel_images/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["partner"], "image", [], "any", false, false, false, 198), "name", [], "any", false, false, false, 198)) . ".") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["partner"], "image", [], "any", false, false, false, 198), "extension", [], "any", false, false, false, 198))), "html", null, true);
yield "\" alt=\"";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partner"], "name", [], "any", false, false, false, 198), "html", null, true);
yield "\"/>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['partner'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 202
yield " </div>
</div>
</div>
</div>
</div>
</div>
";
}
// line 209
yield "
";
// line 211
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($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", false, false, false, 211)) > 0)) {
// line 212
yield " <div class=\"row channel-key-informations\">
<div class=\"col-12\">
<h2 class=\"v2-title-small mt-5 mb-2\">";
// line 214
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.some_key_information.label"), "html", null, true);
yield "</h2>
</div>
<div class=\"col-lg-12 col-md-12 font-poppins\">
<div class=\"row\">
";
// line 218
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($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", false, false, false, 218));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["channelDescription"]) {
// line 219
yield " <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 mt-4\">
";
// line 220
yield from $this->load("Front/Channel/channel-description.html.twig", 220)->unwrap()->yield(CoreExtension::merge($context, ["channelDescription" => $context["channelDescription"]]));
// line 221
yield " </div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['channelDescription'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 223
yield " </div>
</div>
</div>
";
}
// line 227
yield "
";
// line 229
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 229, $this->source); })())) > 0)) {
// line 230
yield " <div class=\"row mt-3 channel-teachers\">
<div class=\"col-12\">
<h2 class=\"v2-title-small mt-5 mb-2\">";
// line 232
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.training.show.sub_title.teacher.label"), "html", null, true);
yield "
(";
// line 233
yield (string) $this->escaper->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 233, $this->source); })())), "html", null, true);
yield ")</h2>
</div>
";
// line 236
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 236, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["teacher"]) {
// line 237
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 237) < 5)) {
// line 238
yield " <div class=\"col-12\">
<div class=\"mt-3\">
";
// line 240
yield from $this->load("Front/Scholar/Card/teacher-channel.html.twig", 240)->unwrap()->yield(CoreExtension::merge($context, ["teacher" => $context["teacher"]]));
// line 241
yield " </div>
</div>
";
}
// line 244
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['teacher'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 245
yield "
";
// line 246
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 246, $this->source); })())) > 5)) {
// line 247
yield " <div class=\"col-12 div-more-teacher\">
<div class=\"row\">
";
// line 249
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 249, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["teacher"]) {
// line 250
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 250) >= 5)) {
// line 251
yield " <div class=\"col-12\">
<div class=\"mt-3\">
";
// line 253
yield from $this->load("Front/Scholar/Card/teacher-channel.html.twig", 253)->unwrap()->yield(CoreExtension::merge($context, ["teacher" => $context["teacher"]]));
// line 254
yield " </div>
</div>
";
}
// line 257
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['teacher'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 258
yield " </div>
</div>
";
}
// line 261
yield " </div>
";
// line 263
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 263, $this->source); })())) > 5)) {
// line 264
yield " <div class=\"row pb-2 mb-5\">
<div class=\"col-12\">
<div class=\"all-trainings\">
<button class=\"see-more-btn text-decoration-none\" id=\"teacher-see-more\">
";
// line 268
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.actions.see_more.label", ["%count_displayed_item%" => 5, "%count_all_items%" => Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["teachers"]) || array_key_exists("teachers", $context) ? $context["teachers"] : (function () { throw new RuntimeError('Variable "teachers" does not exist.', 268, $this->source); })()))]), "html", null, true);
yield "
</button>
</div>
</div>
</div>
";
}
// line 274
yield " ";
}
// line 275
yield "
";
// line 277
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["advices"]) || array_key_exists("advices", $context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.', 277, $this->source); })())) > 0)) {
// line 278
yield " <div class=\"row mt-3 ";
yield (string) (((Twig\Extension\CoreExtension::length($this->env->getCharset(), (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") : (""));
yield "\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"div-title-between mt-5 mb-2\">
<h2 class=\"v2-title-small\">";
// line 283
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.training.show.sub_title.advice.label"), "html", null, true);
yield "
(";
// line 284
yield (string) $this->escaper->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["advices"]) || array_key_exists("advices", $context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.', 284, $this->source); })())), "html", null, true);
yield ")</h2>
<p class=\"\"><i class=\"far fa-star\"></i> ";
// line 285
yield (string) $this->escaper->escape($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", null, true);
yield "</p>
</div>
</div>
<div class=\"col-12\">
<div class=\"mt-3\">
";
// line 290
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["advices"]) || array_key_exists("advices", $context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.', 290, $this->source); })()), 0, 5));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["advice"]) {
// line 291
yield " ";
yield from $this->load("Front/Scholar/Card/advice.html.twig", 291)->unwrap()->yield(CoreExtension::merge($context, ["advice" => $context["advice"]]));
// line 292
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['advice'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 293
yield "
<div class=\"div-more-advice\">
";
// line 295
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["advices"]) || array_key_exists("advices", $context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.', 295, $this->source); })()), 5));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["advice"]) {
// line 296
yield " ";
yield from $this->load("Front/Scholar/Card/advice.html.twig", 296)->unwrap()->yield(CoreExtension::merge($context, ["advice" => $context["advice"]]));
// line 297
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['advice'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 298
yield " </div>
</div>
</div>
</div>
</div>
</div>
";
}
// line 305
yield "
";
// line 306
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["advices"]) || array_key_exists("advices", $context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.', 306, $this->source); })())) > 5)) {
// line 307
yield " <div class=\"row pb-2 mb-5\">
<div class=\"col-12\">
<div class=\"all-trainings\">
<button class=\"see-more-btn text-decoration-none\" id=\"training-advice-see-more\">
";
// line 311
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.channel.show.actions.see_more.label", ["%count_displayed_item%" => 5, "%count_all_items%" => Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["advices"]) || array_key_exists("advices", $context) ? $context["advices"] : (function () { throw new RuntimeError('Variable "advices" does not exist.', 311, $this->source); })()))]), "html", null, true);
yield "
</button>
</div>
</div>
</div>
";
}
// line 317
yield "
";
// line 318
yield from $this->load("Front/Channel/find-us-contact-us.html.twig", 318)->unwrap()->yield(CoreExtension::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); })())]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Front/Channel/show.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 896 => 318, 893 => 317, 884 => 311, 878 => 307, 876 => 306, 873 => 305, 864 => 298, 849 => 297, 846 => 296, 829 => 295, 825 => 293, 810 => 292, 807 => 291, 790 => 290, 782 => 285, 778 => 284, 774 => 283, 765 => 278, 762 => 277, 759 => 275, 756 => 274, 747 => 268, 741 => 264, 739 => 263, 735 => 261, 730 => 258, 715 => 257, 710 => 254, 708 => 253, 704 => 251, 701 => 250, 684 => 249, 680 => 247, 678 => 246, 675 => 245, 660 => 244, 655 => 241, 653 => 240, 649 => 238, 646 => 237, 629 => 236, 623 => 233, 619 => 232, 615 => 230, 612 => 229, 609 => 227, 603 => 223, 587 => 221, 585 => 220, 582 => 219, 565 => 218, 558 => 214, 554 => 212, 551 => 211, 548 => 209, 539 => 202, 526 => 198, 522 => 196, 518 => 195, 511 => 191, 505 => 188, 492 => 180, 488 => 178, 485 => 177, 482 => 175, 444 => 139, 429 => 138, 423 => 135, 418 => 134, 415 => 133, 412 => 132, 404 => 127, 400 => 126, 397 => 125, 391 => 122, 388 => 121, 385 => 120, 383 => 119, 380 => 118, 374 => 115, 370 => 114, 367 => 113, 364 => 112, 362 => 111, 359 => 110, 352 => 106, 348 => 105, 345 => 104, 343 => 103, 340 => 102, 337 => 101, 334 => 100, 332 => 99, 329 => 98, 326 => 97, 323 => 96, 320 => 95, 303 => 94, 300 => 93, 297 => 92, 294 => 90, 286 => 85, 282 => 84, 278 => 82, 276 => 81, 270 => 77, 260 => 75, 256 => 74, 245 => 66, 239 => 62, 237 => 61, 224 => 60, 211 => 57, 201 => 49, 195 => 47, 193 => 46, 189 => 45, 186 => 44, 180 => 41, 177 => 40, 174 => 39, 168 => 36, 165 => 35, 163 => 34, 158 => 31, 156 => 30, 151 => 27, 147 => 25, 141 => 22, 138 => 21, 135 => 20, 129 => 18, 127 => 17, 124 => 16, 122 => 15, 119 => 14, 117 => 13, 108 => 6, 95 => 5, 70 => 3, 47 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27base.html.twig\x27 %}
{% block title %}{{ channel.name }} - {{ parent() }}{% endblock %}
{% block content %}
<div class=\"background-image-channel channel-page font-poppins\">
<div class=\"container py-3 px-0\">
<div class=\"col-12\" style=\"margin-top: 5rem;margin-bottom: 5rem;\">
<div class=\"row\">
<div class=\"col-12 col-md-8\">
<div class=\"d-flex flex-row\">
{% include \x27Front/Channel/Image/_image_main_avatar.html.twig\x27 with {\x27channel\x27: channel, \x27custom_class_channel\x27: \x27channel-avatar-presentation\x27} %}
{% if channel.name or channel.slogan %}
<div class=\"ml-3 d-flex flex-column justify-content-center\">
{% if channel.name %}
<p class=\"v2-title-small full-black mb-0\">{{ channel.name }}</p>
{% endif %}
{% if channel.slogan %}
<div>
<p class=\"full-black mb-0\">{{ channel.slogan }}</p>
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>
<div class=\"col-12 col-md-4 social-top\">
{% include \x27Front/Channel/social-links.twig\x27 with {\x27channel\x27: channel, \x27icon_color\x27: \x27black\x27} %}
</div>
<div class=\"col-12 mt-4\">
<div class=\"row\">
{% if channel.presentationTitle %}
<div class=\"col-12\">
<p class=\"v2-title-big full-black mt-3 text-center\">{{ channel.presentationTitle }}</p>
</div>
{% endif %}
{% if channel.presentationText %}
<div class=\"col-12\">
<p class=\"mt-3 text-center white-space-pre-wrap\">{{ channel.presentationText }}</p>
</div>
{% endif %}
<div class=\"col-12 mt-4 text-center text-md-left d-flex buttons\">
<a href=\"#our-trainings\" class=\"mt-2 btn-nellapp-v2 btn-nellap-v2-responsive-small\">{{ \x27front.channel.show.our_trainings.label\x27|trans }}</a>
{% if channel.institutions|length > 0 or channel.contactPhone or channel.contactEmail or channel.links|length > 0 %}
<a href=\"#contact-us\" class=\"mt-2 btn-nellapp-v2-secondary btn-nellap-v2-responsive-small\">{{ \x27front.home.welcome.button.contact\x27|trans }}</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{{ parent() }}
{% endblock content %}
{% block inner_content %}
{# Trainings #}
<div class=\"row\" id=\"our-trainings\">
<div class=\"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12\">
<div class=\"section-title-type-formation\">
<h2 class=\"ml-0\">
{{ \x27front.channel.show.tabs.home.subtitles.trainings.label\x27|trans({\x27%count%\x27: count_trainings}) }}
</h2>
</div>
</div>
</div>
<div class=\"row flex-nowrap flex-sm-nowrap flex-md-nowrap flex-lg-nowrap flex-xl-wrap v3-cards\">
<div class=\"scrollable-bar-hidden\" style=\"--_grid-columns: 4\">
{% for training in last_four_trainings %}
{{ component(\x27TrainingCard\x27, { training: training }) }}
{% endfor %}
</div>
</div>
{% if count_trainings > 4 %}
<div class=\"col-12 mt-2 pb-5\">
<div class=\"all-trainings\">
<a href=\"{{ path(\x27front_channel_trainings\x27, {\x27id\x27: channel.id}) }}\" class=\"text-decoration-none\">
{{ \x27front.channel.show.actions.see_more.label\x27|trans({\x27%count_displayed_item%\x27: last_four_trainings|length, \x27%count_all_items%\x27: count_trainings}) }}
</a>
</div>
</div>
{% endif %}
{# Gallery #}
{% if channel.galleryImages|length >= 5 %}
<div class=\"row gallery mt-4 justify-content-center text-center\">
{% for galleryImage in channel.galleryImages %}
{% if loop.index0 % 2 == 1 %}
{% set imageTopColumn = true %}
{% endif %}
{% if loop.index0 % 2 == 0 %}
{% set imageTopColumn = false %}
{% endif %}
{% if loop.index0 == 0 %}
<div class=\"col-12 col-md-6\">
<div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-big-one gallery-image\"
style=\"background-image: url({{ asset(\x27uploads/channel_images/\x27 ~ galleryImage.image.name ~ \x27.\x27 ~ galleryImage.image.extension) }});\">
</div>
</div>
{% endif %}
{% if loop.index0 > 0 and loop.index0 < 5 %}
{% if imageTopColumn %}
<div class=\"col-3 d-none d-md-block\">
<div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-small-top gallery-image\"
style=\"background-image: url({{ asset(\x27uploads/channel_images/\x27 ~ galleryImage.image.name ~ \x27.\x27 ~ galleryImage.image.extension) }});\">
</div>
{% else %}
<div>
{% if loop.index0 == 4 and channel.galleryImages|length > 5 %}
{% set countMoreContent = channel.galleryImages|length - 5 %}
<div class=\"more-content font-poppins font-weight-bold d-flex justify-content-center flex-column\">
<div class=\"counter\">+{{ countMoreContent }}</div>
</div>
{% endif %}
<div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-bottom-top gallery-image\"
style=\"background-image: url({{ asset(\x27uploads/channel_images/\x27 ~ galleryImage.image.name ~ \x27.\x27 ~ galleryImage.image.extension) }});\">
</div>
</div>
</div>
{% endif %}
{% endif %}
{% if loop.index0 >= 5 %}
<div data-size=\"{{ galleryImage.image|image_size }}\" class=\"gallery-image d-none\"
style=\"background-image: url({{ asset(\x27uploads/channel_images/\x27 ~ galleryImage.image.name ~ \x27.\x27 ~ galleryImage.image.extension) }});\">
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
<div class=\"pswp__bg\"></div>
<div class=\"pswp__scroll-wrap\">
<div class=\"pswp__container\">
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
</div>
<div class=\"pswp__ui pswp__ui--hidden\">
<div class=\"pswp__top-bar\">
<div class=\"pswp__counter\"></div>
<button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
<button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
<button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
<div class=\"pswp__preloader\">
<div class=\"pswp__preloader__icn\">
<div class=\"pswp__preloader__cut\">
<div class=\"pswp__preloader__donut\"></div>
</div>
</div>
</div>
</div>
<button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
</button>
<button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
</button>
<div class=\"pswp__caption\">
<div class=\"pswp__caption__center\"></div>
</div>
</div>
</div>
</div>
{% endif %}
{# Partners #}
{% if channel.partners|length > 0 %}
<div class=\"row mt-5\">
<div class=\"col-12\">
<h2 class=\"v2-title-small mt-5 mb-2\">{{ \x27front.channel.show.partners.label\x27|trans }} ({{ channel.partners|length }})</h2>
</div>
<div class=\"col-lg-12 col-md-12\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"slider-container\">
<ul class=\"slider-controls\" id=\"customize-controls-partner\" aria-label=\"Carousel Navigation\" tabindex=\"0\">
<li class=\"prev\" data-controls=\"prev\" aria-controls=\"customize\" tabindex=\"-1\">
<img src=\"{{ asset(\x27build/common/background-white-left.svg\x27, \x27common\x27) }}\" alt=\"Go to left\"/>
</li>
<li class=\"next\" data-controls=\"next\" aria-controls=\"customize\" tabindex=\"-1\">
<img src=\"{{ asset(\x27build/common/background-white-right.svg\x27, \x27common\x27) }}\" alt=\"Go to right\"/>
</li>
</ul>
<div class=\"my-slider partner-slider\">
{% for partner in channel.partners %}
<div class=\"slider-item\">
<div class=\"slider-card\">
<img class=\"slider-img\" src=\"{{ asset(\x27uploads/channel_images/\x27 ~ partner.image.name ~ \x27.\x27 ~ partner.image.extension) }}\" alt=\"{{ partner.name }}\"/>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{# Key informations #}
{% if channel.channelDescriptions|length > 0 %}
<div class=\"row channel-key-informations\">
<div class=\"col-12\">
<h2 class=\"v2-title-small mt-5 mb-2\">{{ \x27front.channel.show.some_key_information.label\x27|trans }}</h2>
</div>
<div class=\"col-lg-12 col-md-12 font-poppins\">
<div class=\"row\">
{% for channelDescription in channel.channelDescriptions %}
<div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 mt-4\">
{% include \x27Front/Channel/channel-description.html.twig\x27 with {\x27channelDescription\x27 : channelDescription} %}
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{# Teachers #}
{% if teachers|length > 0 %}
<div class=\"row mt-3 channel-teachers\">
<div class=\"col-12\">
<h2 class=\"v2-title-small mt-5 mb-2\">{{ \x27front.scholar.training.show.sub_title.teacher.label\x27|trans }}
({{ teachers|length }})</h2>
</div>
{% for teacher in teachers %}
{% if loop.index0 < 5 %}
<div class=\"col-12\">
<div class=\"mt-3\">
{% include \x27Front/Scholar/Card/teacher-channel.html.twig\x27 with {\x27teacher\x27 : teacher} %}
</div>
</div>
{% endif %}
{% endfor %}
{% if teachers|length > 5 %}
<div class=\"col-12 div-more-teacher\">
<div class=\"row\">
{% for teacher in teachers %}
{% if loop.index0 >= 5 %}
<div class=\"col-12\">
<div class=\"mt-3\">
{% include \x27Front/Scholar/Card/teacher-channel.html.twig\x27 with {\x27teacher\x27 : teacher} %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% if teachers|length > 5 %}
<div class=\"row pb-2 mb-5\">
<div class=\"col-12\">
<div class=\"all-trainings\">
<button class=\"see-more-btn text-decoration-none\" id=\"teacher-see-more\">
{{ \x27front.channel.show.actions.see_more.label\x27|trans({\x27%count_displayed_item%\x27: 5, \x27%count_all_items%\x27: teachers|length}) }}
</button>
</div>
</div>
</div>
{% endif %}
{% endif %}
{# Comments #}
{% if advices|length > 0 %}
<div class=\"row mt-3 {{ advices|length <= 5 ? \x27mb-5 pb-2\x27 : \x27\x27 }}\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"div-title-between mt-5 mb-2\">
<h2 class=\"v2-title-small\">{{ \x27front.scholar.training.show.sub_title.advice.label\x27|trans }}
({{ advices|length }})</h2>
<p class=\"\"><i class=\"far fa-star\"></i> {{ channel|advice_avg_by_channel }}</p>
</div>
</div>
<div class=\"col-12\">
<div class=\"mt-3\">
{% for advice in advices|slice(0, 5) %}
{% include \x27Front/Scholar/Card/advice.html.twig\x27 with {\x27advice\x27 : advice} %}
{% endfor %}
<div class=\"div-more-advice\">
{% for advice in advices|slice(5) %}
{% include \x27Front/Scholar/Card/advice.html.twig\x27 with {\x27advice\x27 : advice} %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if advices|length > 5 %}
<div class=\"row pb-2 mb-5\">
<div class=\"col-12\">
<div class=\"all-trainings\">
<button class=\"see-more-btn text-decoration-none\" id=\"training-advice-see-more\">
{{ \x27front.channel.show.actions.see_more.label\x27|trans({\x27%count_displayed_item%\x27: 5, \x27%count_all_items%\x27: advices|length}) }}
</button>
</div>
</div>
</div>
{% endif %}
{% include \x27Front/Channel/find-us-contact-us.html.twig\x27 with {\x27channel\x27 : channel} %}
{% endblock inner_content %}
", "Front/Channel/show.html.twig", "/var/www/html/templates/Front/Channel/show.html.twig");
}
}