<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* front/formation_live/show.html.twig */
class __TwigTemplate_43782d463f54db01d250ac9886535517 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'bodyClass' => [$this, 'block_bodyClass'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/front.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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/formation_live/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/formation_live/show.html.twig"));
$this->parent = $this->loadTemplate("layouts/front.html.twig", "front/formation_live/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_bodyClass($context, array $blocks = [])
{
$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", "bodyClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
echo "interne";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_content($context, array $blocks = [])
{
$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
echo " <section class=\"title-page\" style=\"background:url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 6, $this->source); })()), "live_bloc_title", [], "any", false, false, false, 6), "image", [], "any", false, false, false, 6))), "html", null, true);
echo ")\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> ";
// line 10
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 10, $this->source); })()), "live_bloc_title", [], "any", false, false, false, 10), "title", [], "any", false, false, false, 10), "html", null, true);
echo " </div>
<div class=\"sperateur\"></div>
<div class=\"sub_title\"> ";
// line 12
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 12, $this->source); })()), "live_bloc_title", [], "any", false, false, false, 12), "description", [], "any", false, false, false, 12);
echo " </div>
</div>
<div class=\"arrows_head\">
<a href=\"#\">
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12 C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084 c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864 l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
</g>
</svg>
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
xml:space=\"preserve\" fill=\"#fff\">
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12 C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084 c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864 l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
</g>
</svg>
</a>
</div>
</div>
</div>
</section>
<section class=\"breadcumbs single_bread\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formations Live </a> > ";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 41, $this->source); })()), "coach", [], "any", false, false, false, 41), "html", null, true);
echo "
</div>
<div class=\"retour\"><a href=\"\"> Retour </a></div>
</div>
</div>
</section>
<section class=\"single_content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"title_single\">
<span class=\"black\"> ";
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 52, $this->source); })()), "title", [], "any", false, false, false, 52), "html", null, true);
echo " </span>
<span class=\"red\"> avec <b> ";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 53, $this->source); })()), "coach", [], "any", false, false, false, 53), "html", null, true);
echo " </b> </span>
</div>
<div class=\"single_date\"> ";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 55, $this->source); })()), "date", [], "any", false, false, false, 55), "long", "short", "", null, "gregorian", "fr"), "html", null, true);
echo " </div>
<div class=\"sperateur\"></div>
<div class=\"contenu\">
";
// line 58
echo twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 58, $this->source); })()), "description", [], "any", false, false, false, 58);
echo "
</div>
<a href=\"";
// line 60
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 60, $this->source); })()), "url", [], "any", false, false, false, 60), "html", null, true);
echo "\" target=\"_blank\" class=\"btn\"> <i
class=\"icon icon-left-arrow gly-rotate\"></i> Infos & réservation </a>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"image_single\">
<video controls>
<source src=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" . twig_get_attribute($this->env, $this->source, (isset($context["formation"]) || array_key_exists("formation", $context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.', 66, $this->source); })()), "video", [], "any", false, false, false, 66))), "html", null, true);
echo "\" type=\"video/mp4\">
Your browser does not support the video tag.
</video>
</div>
</div>
</div>
</div>
</section>
";
// line 75
if ((twig_length_filter($this->env, (isset($context["toSee"]) || array_key_exists("toSee", $context) ? $context["toSee"] : (function () { throw new RuntimeError('Variable "toSee" does not exist.', 75, $this->source); })())) > 0)) {
// line 76
echo " <section class=\"actualite vidoes\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\"> Découvrez les autres formations live </h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"stage_list single_list\">
";
// line 84
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["toSee"]) || array_key_exists("toSee", $context) ? $context["toSee"] : (function () { throw new RuntimeError('Variable "toSee" does not exist.', 84, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["formation"]) {
// line 85
echo " <div class=\"forma forma_stage live\">
<div class=\"image\">
<a class=\"pointer_link\"
href=\"";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env, $this->source, $context["formation"], "slug", [], "any", false, false, false, 88)]), "html", null, true);
echo "\"> </a>
<img src=\"";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" . twig_get_attribute($this->env, $this->source, $context["formation"], "image", [], "any", false, false, false, 89))), "html", null, true);
echo "\">
<div class=\"bande_live\"> LIVE</div>
<div class=\"formation_live\">
<div class=\"date_live\"> ";
// line 92
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "date", [], "any", false, false, false, 92), "l d F Y"), "html", null, true);
echo "
À ";
// line 93
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "date", [], "any", false, false, false, 93), "H"), "html", null, true);
echo "H";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "date", [], "any", false, false, false, 93), "i"), "html", null, true);
echo "</div>
<div class=\"cat_live\"> #";
// line 94
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "category", [], "any", false, false, false, 94), "html", null, true);
echo "</div>
</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a
href=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env, $this->source, $context["formation"], "slug", [], "any", false, false, false, 99)]), "html", null, true);
echo "\">
RICHARD ASHFORTH </a></div>
<div class=\"location\"><a
href=\"";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env, $this->source, $context["formation"], "slug", [], "any", false, false, false, 102)]), "html", null, true);
echo "\">
Live Modern Salon </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">";
// line 105
echo twig_escape_filter($this->env, $this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env, $this->source, $context["formation"], "description", [], "any", false, false, false, 105), 100), "html", null, true);
echo "</div>
</div>
<a href=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env, $this->source, $context["formation"], "slug", [], "any", false, false, false, 107)]), "html", null, true);
echo "\" class=\"btn\">
<i class=\"icon icon-left-arrow gly-rotate\"></i> Inscription </a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['formation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 111
echo " </div>
</div>
</div>
</section>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "front/formation_live/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 264 => 111, 254 => 107, 249 => 105, 243 => 102, 237 => 99, 229 => 94, 223 => 93, 219 => 92, 213 => 89, 209 => 88, 204 => 85, 200 => 84, 190 => 76, 188 => 75, 176 => 66, 167 => 60, 162 => 58, 156 => 55, 151 => 53, 147 => 52, 133 => 41, 101 => 12, 96 => 10, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/front.html.twig' %}
{% block bodyClass %}interne{% endblock %}
{% block content %}
<section class=\"title-page\" style=\"background:url({{ asset('uploads/'~blocs.live_bloc_title.image) }})\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> {{ blocs.live_bloc_title.title }} </div>
<div class=\"sperateur\"></div>
<div class=\"sub_title\"> {{ blocs.live_bloc_title.description|raw }} </div>
</div>
<div class=\"arrows_head\">
<a href=\"#\">
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12 C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084 c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864 l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
</g>
</svg>
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
xml:space=\"preserve\" fill=\"#fff\">
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12 C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084 c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864 l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
</g>
</svg>
</a>
</div>
</div>
</div>
</section>
<section class=\"breadcumbs single_bread\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formations Live </a> > {{ formation.coach }}
</div>
<div class=\"retour\"><a href=\"\"> Retour </a></div>
</div>
</div>
</section>
<section class=\"single_content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"title_single\">
<span class=\"black\"> {{ formation.title }} </span>
<span class=\"red\"> avec <b> {{ formation.coach }} </b> </span>
</div>
<div class=\"single_date\"> {{ formation.date|format_datetime('long', 'short', locale='fr') }} </div>
<div class=\"sperateur\"></div>
<div class=\"contenu\">
{{ formation.description|raw }}
</div>
<a href=\"{{ formation.url }}\" target=\"_blank\" class=\"btn\"> <i
class=\"icon icon-left-arrow gly-rotate\"></i> Infos & réservation </a>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"image_single\">
<video controls>
<source src=\"{{ asset('uploads/'~formation.video) }}\" type=\"video/mp4\">
Your browser does not support the video tag.
</video>
</div>
</div>
</div>
</div>
</section>
{% if toSee|length > 0 %}
<section class=\"actualite vidoes\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\"> Découvrez les autres formations live </h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"stage_list single_list\">
{% for formation in toSee %}
<div class=\"forma forma_stage live\">
<div class=\"image\">
<a class=\"pointer_link\"
href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> </a>
<img src=\"{{ asset('uploads/'~formation.image) }}\">
<div class=\"bande_live\"> LIVE</div>
<div class=\"formation_live\">
<div class=\"date_live\"> {{ formation.date|date('l d F Y') }}
À {{ formation.date|date('H') }}H{{ formation.date|date('i') }}</div>
<div class=\"cat_live\"> #{{ formation.category }}</div>
</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a
href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\">
RICHARD ASHFORTH </a></div>
<div class=\"location\"><a
href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\">
Live Modern Salon </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">{{ formation.description|excerpt(100) }}</div>
</div>
<a href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\" class=\"btn\">
<i class=\"icon icon-left-arrow gly-rotate\"></i> Inscription </a>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
{% endif %}
{% endblock %}
", "front/formation_live/show.html.twig", "/home/saco/subdomains/preprod/templates/front/formation_live/show.html.twig");
}
}