var/cache/dev/twig/10/10d4e7b50009288e0dce0708ed177211f7ce87cf892dd8a1de4c40ab3083fd11.php line 16

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. /* @eldiademanana/full/main.html.twig */
  14. class __TwigTemplate_f5fe4cf654a9d191a1acd6e2362a223c2d1e656f3b5f7790bdeecc3675fec467 extends \eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate
  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.             'metatags' => [$this'block_metatags'],
  24.             'content' => [$this'block_content'],
  25.             'modules' => [$this'block_modules'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@ezdesign/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@eldiademanana/full/main.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@eldiademanana/full/main.html.twig"));
  40.         $this->parent $this->loadTemplate("@ezdesign/layout.html.twig""@eldiademanana/full/main.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_metatags($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("metatags"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 5
  61.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:paginationMeta", ["locationId" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'5$this->source); })()), "id", [], "any"falsefalsefalse5)]));
  62.         echo "
  63. ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 7
  70.     public function block_content($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  77.         // line 8
  78.         echo "    <div class=\"m-shows-header h3\">
  79.         <div class=\"menu-header\">
  80.             ";
  81.         // line 10
  82.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Menu:callToActionButtons", ["location" => twig_get_attribute($this->env$this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish"$context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.'10$this->source); })()), "rootLocation", [], "any"falsefalsefalse10)]));
  83.         echo "
  84.             <div class=\"wrapper row\">
  85.                 ";
  86.         // line 12
  87.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:renderIconBlock", ["contentId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish"$context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.'12$this->source); })()), "rootLocation", [], "any"falsefalsefalse12), "contentId", [], "any"falsefalsefalse12)]));
  88.         echo "
  89.                 ";
  90.         // line 14
  91.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Menu:header", ["locationId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish"$context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.'14$this->source); })()), "rootLocation", [], "any"falsefalsefalse14), "id", [], "any"falsefalsefalse14)]));
  92.         echo "
  93.                 <a href=\"";
  94.         // line 17
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ez_urlalias", ["locationId" => (isset($context["base_locationId"]) || array_key_exists("base_locationId"$context) ? $context["base_locationId"] : (function () { throw new RuntimeError('Variable "base_locationId" does not exist.'17$this->source); })()), "siteaccess" => "originales"]), "html"nulltrue);
  96.         echo "\" class=\"e-arrow-link\" rel=\"follow\">
  97.                     ";
  98.         // line 18
  99.         echo twig_include($this->env$context"icons/link-arrow.svg.twig");
  100.         echo "
  101.                     <img src=\"/assets/images/logo-originales.svg\"/>
  102.                 </a>
  103.                 <a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
  104.                     ";
  105.         // line 22
  106.         echo twig_include($this->env$context"icons/menu.svg.twig");
  107.         echo "
  108.                 </a>
  109.             </div>
  110.         </div>
  111.     </div>
  112.     ";
  113.         // line 28
  114.         $this->displayBlock('modules'$context$blocks);
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.         
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  119.     }
  120.     public function block_modules($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modules"));
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modules"));
  127.         // line 29
  128.         echo "        ";
  129.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:renderBlocks", ["locationId" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'29$this->source); })()), "id", [], "any"falsefalsefalse29)]));
  130.         echo "
  131.     ";
  132.         
  133.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  134.         
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  136.     }
  137.     public function getTemplateName()
  138.     {
  139.         return "@eldiademanana/full/main.html.twig";
  140.     }
  141.     public function isTraitable()
  142.     {
  143.         return false;
  144.     }
  145.     public function getDebugInfo()
  146.     {
  147.         return array (  156 => 29,  137 => 28,  128 => 22,  121 => 18,  117 => 17,  111 => 14,  106 => 12,  101 => 10,  97 => 8,  87 => 7,  75 => 5,  70 => 4,  60 => 3,  37 => 1,);
  148.     }
  149.     public function getSourceContext()
  150.     {
  151.         return new Source("{% extends '@ezdesign/layout.html.twig' %}
  152. {% block metatags %}
  153.     {{ parent() }}
  154.     {{ render(controller('AppBundle:Block:paginationMeta', { 'locationId': location.id } )) }}
  155. {% endblock %}
  156. {% block content %}
  157.     <div class=\"m-shows-header h3\">
  158.         <div class=\"menu-header\">
  159.             {{ render(controller('AppBundle:Menu:callToActionButtons', { 'location': ezpublish.rootLocation } )) }}
  160.             <div class=\"wrapper row\">
  161.                 {{ render(controller('AppBundle:Block:renderIconBlock', { 'contentId': ezpublish.rootLocation.contentId } )) }}
  162.                 {{ render(controller('AppBundle:Menu:header', {'locationId': ezpublish.rootLocation.id } )) }}
  163.                 <a href=\"{{ url( 'ez_urlalias', {'locationId': base_locationId, 'siteaccess': 'originales'} ) }}\" class=\"e-arrow-link\" rel=\"follow\">
  164.                     {{ include('icons/link-arrow.svg.twig') }}
  165.                     <img src=\"/assets/images/logo-originales.svg\"/>
  166.                 </a>
  167.                 <a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
  168.                     {{ include('icons/menu.svg.twig') }}
  169.                 </a>
  170.             </div>
  171.         </div>
  172.     </div>
  173.     {% block modules %}
  174.         {{ render(controller('AppBundle:Block:renderBlocks', { 'locationId': location.id } )) }}
  175.     {% endblock %}
  176. {% endblock %}
  177. ""@eldiademanana/full/main.html.twig""/var/www/app/Resources/views/themes/default/full/main.html.twig");
  178.     }
  179. }