<?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;
/* frontend/frontindex/videoEducativePatient.html.twig */
class __TwigTemplate_6cbacc0be5385a6c0a8a1fc043d120f42ed7591b85cb1ea3b859088d89e959a5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seo' => [$this, 'block_seo'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontindex/add.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/videoEducativePatient.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/videoEducativePatient.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/videoEducativePatient.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_seo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 3
echo "
\t";
// line 4
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 24]));
// line 7
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 11
echo "
\t<section class=\"service-area p-5\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
\t\t\t\t\t<div class=\"section-title\">
\t\t\t\t\t\t<h1>";
// line 17
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%videoEducativePatient%")), "html", null, true);
echo "</h1>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t";
// line 22
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 22, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
// line 23
echo "\t\t\t\t\t<div class=\"col-md-4 mb-2\">
\t\t\t\t\t\t<div class=\"department-image\">
\t\t\t\t\t\t\t";
// line 25
if ((null === twig_get_attribute($this->env, $this->source, $context["media"], "urlImage", [], "any", false, false, false, 25))) {
// line 26
echo "\t\t\t\t\t\t\t\t<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
echo "\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t";
} else {
// line 28
echo "\t\t\t\t\t\t\t\t<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, $context["media"], "urlImage", [], "any", false, false, false, 28))), "html", null, true);
echo "\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t";
}
// line 30
echo "\t\t\t\t\t\t\t<div class=\"video-main\">
\t\t\t\t\t\t\t\t<div class=\"promo-video\">
\t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<a href=\"";
// line 38
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "urlVideo", [], "any", false, false, false, 38), "html", null, true);
echo "\" class=\"video video-popup mfp-iframe\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<h2 class=\"text-center h6\">
\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t<span>";
// line 45
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "titre", [], "any", false, false, false, 45), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t</strong>
\t\t\t\t\t\t</h2>
\t\t\t\t\t</div>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 50
echo "\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t";
// line 53
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 53, $this->source); })()));
echo "
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/frontindex/videoEducativePatient.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 170 => 53, 165 => 50, 154 => 45, 144 => 38, 134 => 30, 128 => 28, 122 => 26, 120 => 25, 116 => 23, 112 => 22, 104 => 17, 96 => 11, 86 => 10, 74 => 7, 72 => 4, 69 => 3, 59 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
{% block seo %}
\t{{ render(path(
\t\t'seo',
\t\t{ 'page':24 }
\t)) }}
{% endblock %}
{% block body %}
\t<section class=\"service-area p-5\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
\t\t\t\t\t<div class=\"section-title\">
\t\t\t\t\t\t<h1>{{'%videoEducativePatient%'|trans|capitalize}}</h1>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t{% for media in medias %}
\t\t\t\t\t<div class=\"col-md-4 mb-2\">
\t\t\t\t\t\t<div class=\"department-image\">
\t\t\t\t\t\t\t{% if media.urlImage is null %}
\t\t\t\t\t\t\t\t<img src=\"{{ asset ('front-assets/assets/img/logo1.png') }}\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<img src=\"{{ asset('uploads/images/' ~ media.urlImage) }}\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class=\"video-main\">
\t\t\t\t\t\t\t\t<div class=\"promo-video\">
\t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<a href=\"{{ media.urlVideo }}\" class=\"video video-popup mfp-iframe\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<h2 class=\"text-center h6\">
\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t<span>{{media.titre}}</span>
\t\t\t\t\t\t\t</strong>
\t\t\t\t\t\t</h2>
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t{{ knp_pagination_render(medias) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "frontend/frontindex/videoEducativePatient.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/videoEducativePatient.html.twig");
}
}