var/cache/dev/twig/bc/bcc0a3962da0ad9d014eb1547210df1f.php line 42

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. /* front/legal/legal.html.twig */
  14. class __TwigTemplate_ea2849c9fe4e13cc699c2a9048f6a537 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.             'linkcanonical' => [$this'block_linkcanonical'],
  24.             'cssadicional' => [$this'block_cssadicional'],
  25.             'classbody' => [$this'block_classbody'],
  26.             'content' => [$this'block_content'],
  27.             'jsfinal' => [$this'block_jsfinal'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "front/_common/_base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/legal/legal.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/legal/legal.html.twig"));
  42.         $this->parent $this->loadTemplate("front/_common/_base.html.twig""front/legal/legal.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_linkcanonical($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkcanonical"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkcanonical"));
  57.         // line 4
  58.         echo "    <link rel=\"canonical\" href=\"";
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl((isset($context["canonical"]) || array_key_exists("canonical"$context) ? $context["canonical"] : (function () { throw new RuntimeError('Variable "canonical" does not exist.'4$this->source); })())), "html"nulltrue);
  60.         echo "\">
  61. ";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.     }
  67.     // line 7
  68.     public function block_cssadicional($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssadicional"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssadicional"));
  75.         
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  77.         
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79.     }
  80.     // line 9
  81.     public function block_classbody($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""classbody"));
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""classbody"));
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.     }
  93.     // line 11
  94.     public function block_content($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  101.         // line 12
  102.         echo "<section class=\"b50\">
  103. \t<article class=\"b50_title\">
  104. \t\t<div class=\"wancho\">
  105. \t\t\t<div class=\"general_breadcrumbs\">
  106. \t\t\t\t<ul>
  107. \t\t\t\t\t<li><a href=\"";
  108.         // line 17
  109.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  110.         echo "\">INICIO</a></li>
  111. \t\t\t\t\t<li><a href=\"#\" aria-selected=\"true\">LEGALES</a></li>
  112. \t\t\t\t</ul>
  113. \t\t\t</div>
  114. \t\t\t<div class=\"main_title_layout\">
  115. \t\t\t\t<h2>LEGALES</h2>
  116. \t\t\t\t<h1 class=\"general_title\">";
  117.         // line 23
  118.         echo $this->extensions['App\Twig\BlockTitleExtension']->blocktag(twig_get_attribute($this->env$this->source, (isset($context["detail"]) || array_key_exists("detail"$context) ? $context["detail"] : (function () { throw new RuntimeError('Variable "detail" does not exist.'23$this->source); })()), "titular", [], "any"falsefalsefalse23));
  119.         echo "</h1>
  120. \t\t\t</div>
  121. \t\t</div>
  122. \t</article>
  123. \t<article class=\"b50_ctn\">
  124. \t\t<div class=\"wancho\">
  125. \t\t\t<ul class=\"list-selection\">
  126. \t\t\t\t<li class=\"list--item\" aria-selected=\"";
  127.         // line 30
  128.         echo ((((isset($context["menu_active"]) || array_key_exists("menu_active"$context) ? $context["menu_active"] : (function () { throw new RuntimeError('Variable "menu_active" does not exist.'30$this->source); })()) == "privacy")) ? ("true") : ("false"));
  129.         echo "\"><a href=\"";
  130.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacy");
  131.         echo "\">";
  132.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["home"]) || array_key_exists("home"$context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.'30$this->source); })()), "privacyTitle", [], "any"falsefalsefalse30), "html"nulltrue);
  133.         echo "</a></li>
  134. \t\t\t\t<li class=\"list--item\" aria-selected=\"";
  135.         // line 31
  136.         echo ((((isset($context["menu_active"]) || array_key_exists("menu_active"$context) ? $context["menu_active"] : (function () { throw new RuntimeError('Variable "menu_active" does not exist.'31$this->source); })()) == "terms")) ? ("true") : ("false"));
  137.         echo "\"><a href=\"";
  138.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("terms");
  139.         echo "\">";
  140.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["home"]) || array_key_exists("home"$context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.'31$this->source); })()), "termTitle", [], "any"falsefalsefalse31), "html"nulltrue);
  141.         echo "</a></li>
  142. \t\t\t\t<li class=\"list--item\" aria-selected=\"";
  143.         // line 32
  144.         echo ((((isset($context["menu_active"]) || array_key_exists("menu_active"$context) ? $context["menu_active"] : (function () { throw new RuntimeError('Variable "menu_active" does not exist.'32$this->source); })()) == "cookies")) ? ("true") : ("false"));
  145.         echo "\"><a href=\"";
  146.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cookies");
  147.         echo "\">";
  148.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["home"]) || array_key_exists("home"$context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.'32$this->source); })()), "cookieTitle", [], "any"falsefalsefalse32), "html"nulltrue);
  149.         echo "</a></li>
  150. \t\t\t\t<li class=\"list--item\" aria-selected=\"";
  151.         // line 33
  152.         echo ((((isset($context["menu_active"]) || array_key_exists("menu_active"$context) ? $context["menu_active"] : (function () { throw new RuntimeError('Variable "menu_active" does not exist.'33$this->source); })()) == "arco")) ? ("true") : ("false"));
  153.         echo "\"><a href=\"";
  154.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("arco");
  155.         echo "\">";
  156.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["home"]) || array_key_exists("home"$context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.'33$this->source); })()), "arcoTitle", [], "any"falsefalsefalse33), "html"nulltrue);
  157.         echo "</a></li>
  158. \t\t\t</ul>
  159. \t\t</div>
  160. \t\t<div class=\"terminos\">
  161. \t\t\t<div class=\"wancho\">
  162. \t\t\t\t<!-- backend aca va el ckeditor -->
  163. \t\t\t\t";
  164.         // line 39
  165.         echo twig_get_attribute($this->env$this->source, (isset($context["detail"]) || array_key_exists("detail"$context) ? $context["detail"] : (function () { throw new RuntimeError('Variable "detail" does not exist.'39$this->source); })()), "text", [], "any"falsefalsefalse39);
  166.         echo "
  167. \t\t\t</div>
  168. \t\t</div>
  169. \t</article>
  170. </section>
  171. ";
  172.         
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  174.         
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  176.     }
  177.     // line 46
  178.     public function block_jsfinal($context, array $blocks = [])
  179.     {
  180.         $macros $this->macros;
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  182.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsfinal"));
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsfinal"));
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.     }
  190.     public function getTemplateName()
  191.     {
  192.         return "front/legal/legal.html.twig";
  193.     }
  194.     public function isTraitable()
  195.     {
  196.         return false;
  197.     }
  198.     public function getDebugInfo()
  199.     {
  200.         return array (  210 => 46,  194 => 39,  181 => 33,  173 => 32,  165 => 31,  157 => 30,  147 => 23,  138 => 17,  131 => 12,  121 => 11,  103 => 9,  85 => 7,  72 => 4,  62 => 3,  39 => 1,);
  201.     }
  202.     public function getSourceContext()
  203.     {
  204.         return new Source("{% extends \"front/_common/_base.html.twig\" %}
  205. {% block linkcanonical %}
  206.     <link rel=\"canonical\" href=\"{{ absolute_url(canonical) }}\">
  207. {% endblock %}
  208. {% block cssadicional %}{% endblock %}
  209. {% block classbody %}{% endblock %}
  210. {% block content %}
  211. <section class=\"b50\">
  212. \t<article class=\"b50_title\">
  213. \t\t<div class=\"wancho\">
  214. \t\t\t<div class=\"general_breadcrumbs\">
  215. \t\t\t\t<ul>
  216. \t\t\t\t\t<li><a href=\"{{ path('home') }}\">INICIO</a></li>
  217. \t\t\t\t\t<li><a href=\"#\" aria-selected=\"true\">LEGALES</a></li>
  218. \t\t\t\t</ul>
  219. \t\t\t</div>
  220. \t\t\t<div class=\"main_title_layout\">
  221. \t\t\t\t<h2>LEGALES</h2>
  222. \t\t\t\t<h1 class=\"general_title\">{{ detail.titular|block_title|raw }}</h1>
  223. \t\t\t</div>
  224. \t\t</div>
  225. \t</article>
  226. \t<article class=\"b50_ctn\">
  227. \t\t<div class=\"wancho\">
  228. \t\t\t<ul class=\"list-selection\">
  229. \t\t\t\t<li class=\"list--item\" aria-selected=\"{{ menu_active == 'privacy' ? 'true' : 'false'}}\"><a href=\"{{ path('privacy') }}\">{{ home.privacyTitle }}</a></li>
  230. \t\t\t\t<li class=\"list--item\" aria-selected=\"{{ menu_active == 'terms' ? 'true' : 'false'}}\"><a href=\"{{ path('terms') }}\">{{ home.termTitle }}</a></li>
  231. \t\t\t\t<li class=\"list--item\" aria-selected=\"{{ menu_active == 'cookies' ? 'true' : 'false'}}\"><a href=\"{{ path('cookies') }}\">{{ home.cookieTitle }}</a></li>
  232. \t\t\t\t<li class=\"list--item\" aria-selected=\"{{ menu_active == 'arco' ? 'true' : 'false'}}\"><a href=\"{{ path('arco') }}\">{{ home.arcoTitle }}</a></li>
  233. \t\t\t</ul>
  234. \t\t</div>
  235. \t\t<div class=\"terminos\">
  236. \t\t\t<div class=\"wancho\">
  237. \t\t\t\t<!-- backend aca va el ckeditor -->
  238. \t\t\t\t{{ detail.text|raw }}
  239. \t\t\t</div>
  240. \t\t</div>
  241. \t</article>
  242. </section>
  243. {% endblock %}
  244. {% block jsfinal %}{% endblock %}
  245. ""front/legal/legal.html.twig""/mnt/volume_nyc1_01/webapps/faw_new/templates/front/legal/legal.html.twig");
  246.     }
  247. }