var/cache/dev/twig/03/03a9d87b10b801a0d4d4e1bad3ee314d.php line 49

  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. /* evenement/details.html.twig */
  14. class __TwigTemplate_cc813969aa089b5afae318924adf9024 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.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""evenement/details.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""evenement/details.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""evenement/details.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.         
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  58.     }
  59.     // line 5
  60.     public function block_body($context, array $blocks = [])
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  67.         // line 6
  68.         echo "\t";
  69.         echo twig_include($this->env$context"partials/base/_title-section.html.twig", ["name" => twig_get_attribute($this->env$this->source, (isset($context["evenements"]) || array_key_exists("evenements"$context) ? $context["evenements"] : (function () { throw new RuntimeError('Variable "evenements" does not exist.'6$this->source); })()), "title", [], "any"falsefalsefalse6)]);
  70.         echo "
  71. \t<section class=\"ec-page-content section-space-p\">
  72. \t\t<div class=\"container\">
  73. \t\t\t<div class=\"row\">
  74. \t\t\t\t<div class=\"ec-common-wrapper\">
  75. \t\t\t\t\t<div class=\"row\">
  76. \t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block text-center\">
  77. \t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">
  78. \t\t\t\t\t\t\t<img class=\"a-img\" src=\"";
  79.         // line 14
  80.         echo twig_escape_filter($this->env$this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["evenements"]) || array_key_exists("evenements"$context) ? $context["evenements"] : (function () { throw new RuntimeError('Variable "evenements" does not exist.'14$this->source); })())), "html"nulltrue);
  81.         echo "\" alt=\"about\" style=\"width: 50%!important;\">
  82. \t\t\t\t\t\t\t</div>
  83. \t\t\t\t\t\t</div>
  84. \t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block text-center\">
  85. \t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">
  86. \t\t\t\t\t\t\t\t<p>";
  87.         // line 19
  88.         echo twig_get_attribute($this->env$this->source, (isset($context["evenements"]) || array_key_exists("evenements"$context) ? $context["evenements"] : (function () { throw new RuntimeError('Variable "evenements" does not exist.'19$this->source); })()), "description", [], "any"falsefalsefalse19);
  89.         echo "</p>
  90. \t\t\t\t\t\t\t\t<p>SituĂ© au ";
  91.         // line 20
  92.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["evenements"]) || array_key_exists("evenements"$context) ? $context["evenements"] : (function () { throw new RuntimeError('Variable "evenements" does not exist.'20$this->source); })()), "localisation", [], "any"falsefalsefalse20), "html"nulltrue);
  93.         echo "</p>
  94. \t\t\t\t\t\t\t\t";
  95.         // line 22
  96.         echo "\t\t\t\t\t\t\t\t<p>";
  97.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["evenements"]) || array_key_exists("evenements"$context) ? $context["evenements"] : (function () { throw new RuntimeError('Variable "evenements" does not exist.'22$this->source); })()), "horaire", [], "any"falsefalsefalse22), "html"nulltrue);
  98.         echo "</p>
  99. \t\t\t\t\t\t\t</div>
  100. \t\t\t\t\t\t</div>
  101. \t\t\t\t\t</div>
  102. \t\t\t\t</div>
  103. \t\t\t</div>
  104. \t\t</div>
  105. \t</section>
  106. ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     /**
  113.      * @codeCoverageIgnore
  114.      */
  115.     public function getTemplateName()
  116.     {
  117.         return "evenement/details.html.twig";
  118.     }
  119.     /**
  120.      * @codeCoverageIgnore
  121.      */
  122.     public function isTraitable()
  123.     {
  124.         return false;
  125.     }
  126.     /**
  127.      * @codeCoverageIgnore
  128.      */
  129.     public function getDebugInfo()
  130.     {
  131.         return array (  115 => 22,  111 => 20,  107 => 19,  99 => 14,  87 => 6,  77 => 5,  59 => 3,  36 => 1,);
  132.     }
  133.     public function getSourceContext()
  134.     {
  135.         return new Source("{% extends 'base.html.twig' %}
  136. {% block title %}{% endblock %}
  137. {% block body %}
  138. \t{{include('partials/base/_title-section.html.twig', {'name': evenements.title})}}
  139. \t<section class=\"ec-page-content section-space-p\">
  140. \t\t<div class=\"container\">
  141. \t\t\t<div class=\"row\">
  142. \t\t\t\t<div class=\"ec-common-wrapper\">
  143. \t\t\t\t\t<div class=\"row\">
  144. \t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block text-center\">
  145. \t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">
  146. \t\t\t\t\t\t\t<img class=\"a-img\" src=\"{{ vich_uploader_asset(evenements) }}\" alt=\"about\" style=\"width: 50%!important;\">
  147. \t\t\t\t\t\t\t</div>
  148. \t\t\t\t\t\t</div>
  149. \t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block text-center\">
  150. \t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">
  151. \t\t\t\t\t\t\t\t<p>{{evenements.description | raw}}</p>
  152. \t\t\t\t\t\t\t\t<p>SituĂ© au {{evenements.localisation}}</p>
  153. \t\t\t\t\t\t\t\t{# <p>{{evenements.telephone}}</p> #}
  154. \t\t\t\t\t\t\t\t<p>{{evenements.horaire}}</p>
  155. \t\t\t\t\t\t\t</div>
  156. \t\t\t\t\t\t</div>
  157. \t\t\t\t\t</div>
  158. \t\t\t\t</div>
  159. \t\t\t</div>
  160. \t\t</div>
  161. \t</section>
  162. {% endblock %}
  163. ""evenement/details.html.twig""/home/lode2496/public_html/templates/evenement/details.html.twig");
  164.     }
  165. }