var/cache/dev/twig/d5/d57f52b4d488d54695e3d7b39b7f40a3.php line 49

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* homefestival.html.twig */
  14. class __TwigTemplate_78997e20800bfca37a5cb412b48d71b2 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'content' => [$this'block_content'],
  25.         ];
  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""homefestival.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""homefestival.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""homefestival.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.         echo "- Le Festival";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 5
  61.     public function block_content($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  68.         // line 6
  69.         echo "    <section class=\"page_title ds s-overlay s-pt-150 s-pb-50\" style=\"background-image: url(";
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/cbrc/imagefond.jpg"), "html"nulltrue);
  71.         echo ")\">
  72.         <div class=\"s-blur\"></div>
  73.         <div class=\"container\">
  74.             <div class=\"row\">
  75.                 <div class=\"col-12 text-center\">
  76.                     <h1><i class=\"fas fa-medal mr-3\"></i>Les Festival</h1>
  77.                     <ol class=\"breadcrumb\">
  78.                         <li class=\"breadcrumb-item\">
  79.                             <a href=\"";
  80.         // line 14
  81.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", [], false);
  82.         echo "\">
  83.                                 Accueil
  84.                             </a>
  85.                         </li>
  86.                         <li class=\"breadcrumb-item active\">
  87.                             Les Festival
  88.                         </li>
  89.                     </ol>
  90.                     <p class=\"text-center mt-2\">
  91.                         Retrouvez toutes les informations relatives au Festival que nous organisons.
  92.                     </p>
  93.                 </div>
  94.             </div>
  95.         </div>
  96.     </section>
  97.     <section class=\"ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60\">
  98.         <div class=\"container\">
  99.             ";
  100.         // line 32
  101.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
  102.             // line 33
  103.             echo "                <div class=\"row mb-2\">
  104.                     <div class=\"col-12 text-right\">
  105.                         <a href=\"";
  106.             // line 35
  107.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_pagecontent", ["pagename" => twig_get_attribute($this->env$this->source, (isset($context["pagecontent"]) || array_key_exists("pagecontent"$context) ? $context["pagecontent"] : (function () { throw new RuntimeError('Variable "pagecontent" does not exist.'35$this->source); })()), "name", [], "any"falsefalsefalse35)], false), "html"nulltrue);
  108.             echo "\"><i class=\"fas fa-edit mr-2\"></i>&Eacute;diter</a>
  109.                     </div>
  110.                 </div>
  111.             ";
  112.         }
  113.         // line 39
  114.         echo "            <div class=\"row c-gutter-60\">
  115.                 <main class=\"col-12 readarticle\">
  116.                     <div class=\"card box-shadow rounded-0 pt-0 mb-4\">
  117.                         <div class=\"card-body\">
  118.                             <div class=\"row\">
  119.                                 <div class=\"col-12\">
  120.                                     <div class=\"entry-content\">
  121.                                         <p>
  122.                                             ";
  123.         // line 47
  124.         echo twig_get_attribute($this->env$this->source, (isset($context["pagecontent"]) || array_key_exists("pagecontent"$context) ? $context["pagecontent"] : (function () { throw new RuntimeError('Variable "pagecontent" does not exist.'47$this->source); })()), "content", [], "any"falsefalsefalse47);
  125.         echo "
  126.                                         </p>
  127.                                     </div>
  128.                                 </div>
  129.                             </div>
  130.                         </div>
  131.                     </div>
  132.                 </main>
  133.             </div>
  134.         </div>
  135.     </section>
  136. ";
  137.         
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  139.         
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  141.     }
  142.     public function getTemplateName()
  143.     {
  144.         return "homefestival.html.twig";
  145.     }
  146.     public function isTraitable()
  147.     {
  148.         return false;
  149.     }
  150.     public function getDebugInfo()
  151.     {
  152.         return array (  144 => 47,  134 => 39,  127 => 35,  123 => 33,  121 => 32,  100 => 14,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  153.     }
  154.     public function getSourceContext()
  155.     {
  156.         return new Source("{% extends 'base.html.twig' %}
  157. {% block title %}- Le Festival{% endblock %}
  158. {% block content %}
  159.     <section class=\"page_title ds s-overlay s-pt-150 s-pb-50\" style=\"background-image: url({{ asset('assets/images/cbrc/imagefond.jpg') }})\">
  160.         <div class=\"s-blur\"></div>
  161.         <div class=\"container\">
  162.             <div class=\"row\">
  163.                 <div class=\"col-12 text-center\">
  164.                     <h1><i class=\"fas fa-medal mr-3\"></i>Les Festival</h1>
  165.                     <ol class=\"breadcrumb\">
  166.                         <li class=\"breadcrumb-item\">
  167.                             <a href=\"{{ path('home', {}, relative = false) }}\">
  168.                                 Accueil
  169.                             </a>
  170.                         </li>
  171.                         <li class=\"breadcrumb-item active\">
  172.                             Les Festival
  173.                         </li>
  174.                     </ol>
  175.                     <p class=\"text-center mt-2\">
  176.                         Retrouvez toutes les informations relatives au Festival que nous organisons.
  177.                     </p>
  178.                 </div>
  179.             </div>
  180.         </div>
  181.     </section>
  182.     <section class=\"ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60\">
  183.         <div class=\"container\">
  184.             {% if is_granted('ROLE_ADMIN') %}
  185.                 <div class=\"row mb-2\">
  186.                     <div class=\"col-12 text-right\">
  187.                         <a href=\"{{ path('admin_pagecontent', {'pagename':pagecontent.name}, relative = false) }}\"><i class=\"fas fa-edit mr-2\"></i>&Eacute;diter</a>
  188.                     </div>
  189.                 </div>
  190.             {% endif %}
  191.             <div class=\"row c-gutter-60\">
  192.                 <main class=\"col-12 readarticle\">
  193.                     <div class=\"card box-shadow rounded-0 pt-0 mb-4\">
  194.                         <div class=\"card-body\">
  195.                             <div class=\"row\">
  196.                                 <div class=\"col-12\">
  197.                                     <div class=\"entry-content\">
  198.                                         <p>
  199.                                             {{ pagecontent.content|raw }}
  200.                                         </p>
  201.                                     </div>
  202.                                 </div>
  203.                             </div>
  204.                         </div>
  205.                     </div>
  206.                 </main>
  207.             </div>
  208.         </div>
  209.     </section>
  210. {% endblock %}""homefestival.html.twig""/home/maixmebouz/www/dev/cbrc/templates/homefestival.html.twig");
  211.     }
  212. }