var/cache/dev/twig/99/99c6fdb4f18f71da7d3b6464fa422b997208b0b863b73f34ea6ef40d4193c75a.php line 62

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/brand/brand.html.twig */
  14. class __TwigTemplate_2e91bf17cb555b51978ab0847ac71d5e5d68f42aafb4050e9cc5618ae46893cf 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/brand/brand.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/brand/brand.html.twig"));
  42.         $this->parent $this->loadTemplate("front/_common/_base.html.twig""front/brand/brand.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 3
  50.     public function block_linkcanonical($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkcanonical"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("brand", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'4$this->source); })()), "slug", [], "any"falsefalsefalse4)])), "html"nulltrue);
  60.         echo "\">
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 7
  68.     public function block_cssadicional($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssadicional"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssadicional"));
  75.         
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  77.         
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  79.     }
  80.     // line 9
  81.     public function block_classbody($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""classbody"));
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""classbody"));
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.     }
  93.     // line 11
  94.     public function block_content($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  101.         // line 12
  102.         echo "    <section class=\"vw_man\">
  103.         <div class=\"vw_man_banner\" style=\"background-image: url('";
  104.         // line 13
  105.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'13$this->source); })()), "bannerImage", [], "any"falsefalsefalse13))), "html"nulltrue);
  106.         echo "');\">
  107.             <div class=\"vw_man_container ww_center\">
  108.                 <ul>
  109.                     <li><a href=\"";
  110.         // line 16
  111.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  112.         echo "\">Inicio</a></li>
  113.                     <li><span>/</span></li>
  114.                     <li><a>Marcas</a></li>
  115.                     <li><span>/</span></li>
  116.                     <li><a class=\"active\">";
  117.         // line 20
  118.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'20$this->source); })()), "title", [], "any"falsefalsefalse20), "html"nulltrue);
  119.         echo "</a></li>
  120.                 </ul>
  121.                 ";
  122.         // line 22
  123.         if (twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'22$this->source); })()), "bannerText", [], "any"falsefalsefalse22)) {
  124.             // line 23
  125.             echo "                    <h2>";
  126.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'23$this->source); })()), "bannerText", [], "any"falsefalsefalse23), "html"nulltrue);
  127.             echo "</h2>
  128.                 ";
  129.         }
  130.         // line 25
  131.         echo "                ";
  132.         if (((twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'25$this->source); })()), "bannerButtonShow", [], "any"falsefalsefalse25) && twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'25$this->source); })()), "bannerButtonText", [], "any"falsefalsefalse25)) && twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'25$this->source); })()), "bannerButtonLink", [], "any"falsefalsefalse25))) {
  133.             // line 26
  134.             echo "                    <div class=\"vw_man_btn\">
  135.                         <a class=\"btn btn_lightblue btn_icon\" href=\"";
  136.             // line 27
  137.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'27$this->source); })()), "bannerButtonLink", [], "any"falsefalsefalse27), "html"nulltrue);
  138.             echo "\" target=\"";
  139.             echo twig_escape_filter($this->env$this->extensions['App\Twig\UrlTarget']->target(twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'27$this->source); })()), "bannerButtonTarget", [], "any"falsefalsefalse27)), "html"nulltrue);
  140.             echo "\">";
  141.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'27$this->source); })()), "bannerButtonText", [], "any"falsefalsefalse27), "html"nulltrue);
  142.             echo "<span class=\"icon-Group\"></span></a>
  143.                     </div>
  144.                 ";
  145.         }
  146.         // line 30
  147.         echo "            </div>
  148.         </div>
  149.         ";
  150.         // line 32
  151.         if (twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'32$this->source); })()), "detailShow", [], "any"falsefalsefalse32)) {
  152.             // line 33
  153.             echo "            <div class=\"vw_man_info ww_center\">
  154.                 <h3>";
  155.             // line 34
  156.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'34$this->source); })()), "detailTitle", [], "any"falsefalsefalse34), "html"nulltrue);
  157.             echo "</h3>
  158.                 ";
  159.             // line 35
  160.             echo twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'35$this->source); })()), "detailText", [], "any"falsefalsefalse35);
  161.             echo "
  162.             </div>
  163.         ";
  164.         }
  165.         // line 38
  166.         echo "    </section>
  167.     ";
  168.         // line 40
  169.         if ((twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'40$this->source); })()), "featuresShow", [], "any"falsefalsefalse40) && (=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'40$this->source); })()), "featuresItems", [], "any"falsefalsefalse40)), 0)))) {
  170.             // line 41
  171.             echo "        <section class=\"vw_man_tab\">
  172.             <div class=\"vw_man_tab_row ww_center\">
  173.                 <div class=\"vw_man_wrap_nav\">
  174.                     <div class=\"vw_man_tab_nav\">
  175.                         ";
  176.             // line 45
  177.             $context['_parent'] = $context;
  178.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'45$this->source); })()), "featuresItems", [], "any"falsefalsefalse45));
  179.             $context['loop'] = [
  180.               'parent' => $context['_parent'],
  181.               'index0' => 0,
  182.               'index'  => 1,
  183.               'first'  => true,
  184.             ];
  185.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  186.                 $length count($context['_seq']);
  187.                 $context['loop']['revindex0'] = $length 1;
  188.                 $context['loop']['revindex'] = $length;
  189.                 $context['loop']['length'] = $length;
  190.                 $context['loop']['last'] = === $length;
  191.             }
  192.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  193.                 // line 46
  194.                 echo "                            <a class=\"vwman_tab\" onclick=\"tabNav(event, 'tab-";
  195.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse46), "html"nulltrue);
  196.                 echo "')\" href=\"\">";
  197.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse46), "html"nulltrue);
  198.                 echo "</a>
  199.                         ";
  200.                 ++$context['loop']['index0'];
  201.                 ++$context['loop']['index'];
  202.                 $context['loop']['first'] = false;
  203.                 if (isset($context['loop']['length'])) {
  204.                     --$context['loop']['revindex0'];
  205.                     --$context['loop']['revindex'];
  206.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  207.                 }
  208.             }
  209.             $_parent $context['_parent'];
  210.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  211.             $context array_intersect_key($context$_parent) + $_parent;
  212.             // line 48
  213.             echo "                    </div>
  214.                 </div>
  215.                 <div class=\"vw_man_tab_wrap\">
  216.                     ";
  217.             // line 51
  218.             $context['_parent'] = $context;
  219.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'51$this->source); })()), "featuresItems", [], "any"falsefalsefalse51));
  220.             $context['loop'] = [
  221.               'parent' => $context['_parent'],
  222.               'index0' => 0,
  223.               'index'  => 1,
  224.               'first'  => true,
  225.             ];
  226.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  227.                 $length count($context['_seq']);
  228.                 $context['loop']['revindex0'] = $length 1;
  229.                 $context['loop']['revindex'] = $length;
  230.                 $context['loop']['length'] = $length;
  231.                 $context['loop']['last'] = === $length;
  232.             }
  233.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  234.                 // line 52
  235.                 echo "                        <div class=\"vw_man_itm\" id=\"tab-";
  236.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse52), "html"nulltrue);
  237.                 echo "\">
  238.                             <div class=\"vw_man_tab_info\">
  239.                                 <h2>";
  240.                 // line 54
  241.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse54), "html"nulltrue);
  242.                 echo "</h2>
  243.                                 <p>";
  244.                 // line 55
  245.                 echo twig_get_attribute($this->env$this->source$context["item"], "text", [], "any"falsefalsefalse55);
  246.                 echo "</p>
  247.                             </div>
  248.                             <figure>
  249.                                 <img src=\"";
  250.                 // line 58
  251.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse58))), "html"nulltrue);
  252.                 echo "\" width=\"\" height=\"\" alt=\"";
  253.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\SplitAltExtension']->alt(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse58)), "html"nulltrue);
  254.                 echo "\">
  255.                             </figure>
  256.                         </div>
  257.                     ";
  258.                 ++$context['loop']['index0'];
  259.                 ++$context['loop']['index'];
  260.                 $context['loop']['first'] = false;
  261.                 if (isset($context['loop']['length'])) {
  262.                     --$context['loop']['revindex0'];
  263.                     --$context['loop']['revindex'];
  264.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  265.                 }
  266.             }
  267.             $_parent $context['_parent'];
  268.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  269.             $context array_intersect_key($context$_parent) + $_parent;
  270.             // line 62
  271.             echo "                </div>
  272.             </div>
  273.         </section>
  274.     ";
  275.         }
  276.         
  277.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  278.         
  279.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  280.     }
  281.     // line 68
  282.     public function block_jsfinal($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsfinal"));
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsfinal"));
  289.         // line 69
  290.         echo "    <script type=\"text/javascript\">
  291.         function tabNav(evt, element) {
  292.             evt.preventDefault();
  293.             var i, tabcontent, tablinks;
  294.             tabcontent = document.getElementsByClassName(\"vw_man_itm\");
  295.             for (i = 0; i < tabcontent.length; i++) {
  296.                 tabcontent[i].classList.remove('active');
  297.             }
  298.             tablinks = document.getElementsByClassName(\"vwman_tab\");
  299.             for (i = 0; i < tablinks.length; i++) {
  300.                 tablinks[i].className = tablinks[i].className.replace(\" active\", \"\");
  301.             }
  302.             document.getElementById(element).classList.add('active')
  303.             evt.currentTarget.className += \" active\";
  304.         }
  305.         document.querySelectorAll('.vwman_tab')[0].click();
  306.     </script>
  307. ";
  308.         
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  310.         
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  312.     }
  313.     public function getTemplateName()
  314.     {
  315.         return "front/brand/brand.html.twig";
  316.     }
  317.     public function isTraitable()
  318.     {
  319.         return false;
  320.     }
  321.     public function getDebugInfo()
  322.     {
  323.         return array (  325 => 69,  315 => 68,  301 => 62,  281 => 58,  275 => 55,  271 => 54,  265 => 52,  248 => 51,  243 => 48,  224 => 46,  207 => 45,  201 => 41,  199 => 40,  195 => 38,  189 => 35,  185 => 34,  182 => 33,  180 => 32,  176 => 30,  166 => 27,  163 => 26,  160 => 25,  154 => 23,  152 => 22,  147 => 20,  140 => 16,  134 => 13,  131 => 12,  121 => 11,  103 => 9,  85 => 7,  72 => 4,  62 => 3,  39 => 1,);
  324.     }
  325.     public function getSourceContext()
  326.     {
  327.         return new Source("{% extends \"front/_common/_base.html.twig\" %}
  328. {% block linkcanonical %}
  329.     <link rel=\"canonical\" href=\"{{ absolute_url(path('brand', {'slug': brand.slug})) }}\">
  330. {% endblock %}
  331. {% block cssadicional %}{% endblock %}
  332. {% block classbody %}{% endblock %}
  333. {% block content %}
  334.     <section class=\"vw_man\">
  335.         <div class=\"vw_man_banner\" style=\"background-image: url('{{ asset(brand.bannerImage|image_path) }}');\">
  336.             <div class=\"vw_man_container ww_center\">
  337.                 <ul>
  338.                     <li><a href=\"{{ path('home') }}\">Inicio</a></li>
  339.                     <li><span>/</span></li>
  340.                     <li><a>Marcas</a></li>
  341.                     <li><span>/</span></li>
  342.                     <li><a class=\"active\">{{ brand.title }}</a></li>
  343.                 </ul>
  344.                 {% if brand.bannerText %}
  345.                     <h2>{{ brand.bannerText }}</h2>
  346.                 {% endif %}
  347.                 {% if brand.bannerButtonShow and brand.bannerButtonText and brand.bannerButtonLink %}
  348.                     <div class=\"vw_man_btn\">
  349.                         <a class=\"btn btn_lightblue btn_icon\" href=\"{{ brand.bannerButtonLink }}\" target=\"{{ brand.bannerButtonTarget|url_target }}\">{{ brand.bannerButtonText }}<span class=\"icon-Group\"></span></a>
  350.                     </div>
  351.                 {% endif %}
  352.             </div>
  353.         </div>
  354.         {% if brand.detailShow %}
  355.             <div class=\"vw_man_info ww_center\">
  356.                 <h3>{{ brand.detailTitle }}</h3>
  357.                 {{ brand.detailText|raw }}
  358.             </div>
  359.         {% endif %}
  360.     </section>
  361.     {% if brand.featuresShow and brand.featuresItems|length > 0 %}
  362.         <section class=\"vw_man_tab\">
  363.             <div class=\"vw_man_tab_row ww_center\">
  364.                 <div class=\"vw_man_wrap_nav\">
  365.                     <div class=\"vw_man_tab_nav\">
  366.                         {% for item in brand.featuresItems %}
  367.                             <a class=\"vwman_tab\" onclick=\"tabNav(event, 'tab-{{ loop.index }}')\" href=\"\">{{ item.title }}</a>
  368.                         {% endfor %}
  369.                     </div>
  370.                 </div>
  371.                 <div class=\"vw_man_tab_wrap\">
  372.                     {% for item in brand.featuresItems %}
  373.                         <div class=\"vw_man_itm\" id=\"tab-{{ loop.index }}\">
  374.                             <div class=\"vw_man_tab_info\">
  375.                                 <h2>{{ item.title }}</h2>
  376.                                 <p>{{ item.text|raw }}</p>
  377.                             </div>
  378.                             <figure>
  379.                                 <img src=\"{{ asset(item.image|image_path) }}\" width=\"\" height=\"\" alt=\"{{ item.image|split_alt }}\">
  380.                             </figure>
  381.                         </div>
  382.                     {% endfor %}
  383.                 </div>
  384.             </div>
  385.         </section>
  386.     {% endif %}
  387. {% endblock %}
  388. {% block jsfinal %}
  389.     <script type=\"text/javascript\">
  390.         function tabNav(evt, element) {
  391.             evt.preventDefault();
  392.             var i, tabcontent, tablinks;
  393.             tabcontent = document.getElementsByClassName(\"vw_man_itm\");
  394.             for (i = 0; i < tabcontent.length; i++) {
  395.                 tabcontent[i].classList.remove('active');
  396.             }
  397.             tablinks = document.getElementsByClassName(\"vwman_tab\");
  398.             for (i = 0; i < tablinks.length; i++) {
  399.                 tablinks[i].className = tablinks[i].className.replace(\" active\", \"\");
  400.             }
  401.             document.getElementById(element).classList.add('active')
  402.             evt.currentTarget.className += \" active\";
  403.         }
  404.         document.querySelectorAll('.vwman_tab')[0].click();
  405.     </script>
  406. {% endblock %}
  407. ""front/brand/brand.html.twig""/mnt/volume_nyc1_01/webapps/eurocamiones/templates/front/brand/brand.html.twig");
  408.     }
  409. }