var/cache/dev/twig/13/13626324036d2d27e380a37f7fafcb125376598c145131b4881ffa5c92f75c77.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. /* @lafortuna/full/main.html.twig */
  14. class __TwigTemplate_b49c01b972957122613b3200fc3cd0caaaaae347286ff5c9674db604c638279f 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""@lafortuna/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""@lafortuna/full/main.html.twig"));
  40.         $this->parent $this->loadTemplate("@ezdesign/layout.html.twig""@lafortuna/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=\"wrapper row\">
  80.             ";
  81.         // line 10
  82.         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.'10$this->source); })()), "rootLocation", [], "any"falsefalsefalse10), "contentId", [], "any"falsefalsefalse10)]));
  83.         echo "
  84.             ";
  85.         // line 12
  86.         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.'12$this->source); })()), "rootLocation", [], "any"falsefalsefalse12), "id", [], "any"falsefalsefalse12)]));
  87.         echo "
  88.             <a href=\"";
  89.         // line 14
  90.         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.'14$this->source); })()), "siteaccess" => "originales"]), "html"nulltrue);
  91.         echo "\" class=\"e-arrow-link\" rel=\"follow\">
  92.                 ";
  93.         // line 15
  94.         echo twig_include($this->env$context"icons/link-arrow.svg.twig");
  95.         echo "
  96.                 <img src=\"/assets/images/lafortuna/logo-originales-crema.svg\"/>
  97.             </a>
  98.             <a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
  99.                 ";
  100.         // line 20
  101.         echo twig_include($this->env$context"icons/menu.svg.twig");
  102.         echo "
  103.             </a>
  104.         </div>
  105.     </div>
  106.     ";
  107.         // line 24
  108.         $this->displayBlock('modules'$context$blocks);
  109.         
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  111.         
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  113.     }
  114.     public function block_modules($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modules"));
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modules"));
  121.         // line 25
  122.         echo "        ";
  123.         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.'25$this->source); })()), "id", [], "any"falsefalsefalse25)]));
  124.         echo "
  125.     ";
  126.         
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  128.         
  129.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  130.     }
  131.     public function getTemplateName()
  132.     {
  133.         return "@lafortuna/full/main.html.twig";
  134.     }
  135.     public function isTraitable()
  136.     {
  137.         return false;
  138.     }
  139.     public function getDebugInfo()
  140.     {
  141.         return array (  149 => 25,  130 => 24,  123 => 20,  115 => 15,  111 => 14,  106 => 12,  101 => 10,  97 => 8,  87 => 7,  75 => 5,  70 => 4,  60 => 3,  37 => 1,);
  142.     }
  143.     public function getSourceContext()
  144.     {
  145.         return new Source("{% extends '@ezdesign/layout.html.twig' %}
  146. {% block metatags %}
  147.     {{ parent() }}
  148.     {{ render(controller('AppBundle:Block:paginationMeta', { 'locationId': location.id } )) }}
  149. {% endblock %}
  150. {% block content %}
  151.     <div class=\"m-shows-header h3\">
  152.         <div class=\"wrapper row\">
  153.             {{ render(controller('AppBundle:Block:renderIconBlock', { 'contentId': ezpublish.rootLocation.contentId } )) }}
  154.             {{ render(controller('AppBundle:Menu:header', {'locationId': ezpublish.rootLocation.id } )) }}
  155.             <a href=\"{{ url( 'ez_urlalias', {'locationId': base_locationId, 'siteaccess': 'originales'} ) }}\" class=\"e-arrow-link\" rel=\"follow\">
  156.                 {{ include('icons/link-arrow.svg.twig') }}
  157.                 <img src=\"/assets/images/lafortuna/logo-originales-crema.svg\"/>
  158.             </a>
  159.             <a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
  160.                 {{ include('icons/menu.svg.twig') }}
  161.             </a>
  162.         </div>
  163.     </div>
  164.     {% block modules %}
  165.         {{ render(controller('AppBundle:Block:renderBlocks', { 'locationId': location.id } )) }}
  166.     {% endblock %}
  167. {% endblock %}
  168. ""@lafortuna/full/main.html.twig""/var/www/app/Resources/views/themes/lafortuna/full/main.html.twig");
  169.     }
  170. }