var/cache/dev/twig/4e/4e0912c29adcdc30aeb74bfc32379292.php line 60

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. /* @App/ObjectViews/product-details.html.twig */
  14. class __TwigTemplate_da5434f6f566422e8c1c14425ff904f8 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@FoxHabbitBasis/Layout/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/ObjectViews/product-details.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/ObjectViews/product-details.html.twig"));
  40.         $this->parent $this->loadTemplate("@FoxHabbitBasis/Layout/layout.html.twig""@App/ObjectViews/product-details.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 2
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 3
  56.         echo "    ";
  57.         // line 4
  58.         echo "    ";
  59.         // line 7
  60.         echo "        ";
  61.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [(isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'7$this->source); })())], "method"falsefalsetrue7);
  62.         // line 8
  63.         echo "    ";
  64.         // line 9
  65.         echo "
  66.     ";
  67.         // line 10
  68.         $this->loadTemplate("@App/AreaIncludes/products/general-presentation/view.html.twig""@App/ObjectViews/product-details.html.twig"10)->display(twig_array_merge($context, ["gallery" => (isset($context["galleryHeader"]) || array_key_exists("galleryHeader"$context) ? $context["galleryHeader"] : (function () { throw new RuntimeError('Variable "galleryHeader" does not exist.'10$this->source); })()), "productName" => (isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'10$this->source); })()), "productSubline" => (isset($context["productSubline"]) || array_key_exists("productSubline"$context) ? $context["productSubline"] : (function () { throw new RuntimeError('Variable "productSubline" does not exist.'10$this->source); })()), "headerKeyBenefits" => (isset($context["headerKeyBenefits"]) || array_key_exists("headerKeyBenefits"$context) ? $context["headerKeyBenefits"] : (function () { throw new RuntimeError('Variable "headerKeyBenefits" does not exist.'10$this->source); })())]));
  69.         // line 11
  70.         echo "    ";
  71.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""breadcrumb", ["type" => "basisbundle-breadcrumb"]);
  72.         echo "
  73.     ";
  74.         // line 12
  75.         $this->loadTemplate("@App/AreaIncludes/products/series-informations.html.twig""@App/ObjectViews/product-details.html.twig"12)->display(twig_array_merge($context, ["highlightsList" => (isset($context["highlightsList"]) || array_key_exists("highlightsList"$context) ? $context["highlightsList"] : (function () { throw new RuntimeError('Variable "highlightsList" does not exist.'12$this->source); })()), "productName" => (isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'12$this->source); })()), "productImage" => (isset($context["productImage"]) || array_key_exists("productImage"$context) ? $context["productImage"] : (function () { throw new RuntimeError('Variable "productImage" does not exist.'12$this->source); })())]));
  76.         // line 13
  77.         echo "    ";
  78.         if ( !twig_test_empty((isset($context["technicalDataDetails"]) || array_key_exists("technicalDataDetails"$context) ? $context["technicalDataDetails"] : (function () { throw new RuntimeError('Variable "technicalDataDetails" does not exist.'13$this->source); })()))) {
  79.             // line 14
  80.             echo "        ";
  81.             $this->loadTemplate("@App/AreaIncludes/products/technical-data.html.twig""@App/ObjectViews/product-details.html.twig"14)->display(twig_array_merge($context, ["technicalDataDetails" => (isset($context["technicalDataDetails"]) || array_key_exists("technicalDataDetails"$context) ? $context["technicalDataDetails"] : (function () { throw new RuntimeError('Variable "technicalDataDetails" does not exist.'14$this->source); })())]));
  82.             // line 15
  83.             echo "        <section class=\"section\"><!-- white spacer between 2 gray sections --></section>
  84.     ";
  85.         }
  86.         // line 17
  87.         echo "    ";
  88.         $this->loadTemplate("@App/AreaIncludes/products/operating-concepts/view.html.twig""@App/ObjectViews/product-details.html.twig"17)->display(twig_array_merge($context, ["operatingConceptItems" => (isset($context["operatingConceptItems"]) || array_key_exists("operatingConceptItems"$context) ? $context["operatingConceptItems"] : (function () { throw new RuntimeError('Variable "operatingConceptItems" does not exist.'17$this->source); })())]));
  89.         // line 18
  90.         echo "    ";
  91.         $this->loadTemplate("@App/AreaIncludes/products/full-page-gallery.html.twig""@App/ObjectViews/product-details.html.twig"18)->display(twig_array_merge($context, ["gallery" => (isset($context["galleryApplication"]) || array_key_exists("galleryApplication"$context) ? $context["galleryApplication"] : (function () { throw new RuntimeError('Variable "galleryApplication" does not exist.'18$this->source); })())]));
  92.         // line 19
  93.         echo "    ";
  94.         $this->loadTemplate("@App/AreaIncludes/products/similar-products.html.twig""@App/ObjectViews/product-details.html.twig"19)->display(twig_array_merge($context, ["otherProducts" => (isset($context["otherProducts"]) || array_key_exists("otherProducts"$context) ? $context["otherProducts"] : (function () { throw new RuntimeError('Variable "otherProducts" does not exist.'19$this->source); })())]));
  95.         // line 20
  96.         echo "    ";
  97.         $this->loadTemplate("@App/AreaIncludes/products/downloads.html.twig""@App/ObjectViews/product-details.html.twig"20)->display(twig_array_merge($context, ["downloads" => (isset($context["downloads"]) || array_key_exists("downloads"$context) ? $context["downloads"] : (function () { throw new RuntimeError('Variable "downloads" does not exist.'20$this->source); })())]));
  98.         // line 21
  99.         echo "    ";
  100.         $context["partnerFinderSnippet"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'21$this->source); })()), "getProperty", ["snippetPartnerFinder"], "method"falsefalsetrue21);
  101.         // line 22
  102.         echo "    ";
  103.         if ((isset($context["partnerFinderSnippet"]) || array_key_exists("partnerFinderSnippet"$context) ? $context["partnerFinderSnippet"] : (function () { throw new RuntimeError('Variable "partnerFinderSnippet" does not exist.'22$this->source); })())) {
  104.             // line 23
  105.             echo "        ";
  106.             echo $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["partnerFinderSnippet"]) || array_key_exists("partnerFinderSnippet"$context) ? $context["partnerFinderSnippet"] : (function () { throw new RuntimeError('Variable "partnerFinderSnippet" does not exist.'23$this->source); })()), 23$this->source));
  107.             echo "
  108.     ";
  109.         }
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.     }
  115.     public function getTemplateName()
  116.     {
  117.         return "@App/ObjectViews/product-details.html.twig";
  118.     }
  119.     public function isTraitable()
  120.     {
  121.         return false;
  122.     }
  123.     public function getDebugInfo()
  124.     {
  125.         return array (  119 => 23,  116 => 22,  113 => 21,  110 => 20,  107 => 19,  104 => 18,  101 => 17,  97 => 15,  94 => 14,  91 => 13,  89 => 12,  84 => 11,  82 => 10,  79 => 9,  77 => 8,  74 => 7,  72 => 4,  70 => 3,  60 => 2,  37 => 1,);
  126.     }
  127.     public function getSourceContext()
  128.     {
  129.         return new Source("{% extends '@FoxHabbitBasis/Layout/layout.html.twig' %}
  130. {% block content %}
  131.     {# Titel aus Objekt #}
  132.     {#% document.getTitle() %}
  133.         {% do pimcore_head_title().set( productName ~ ' | ' ~ document.getTitle()) %}
  134.     {% else %#}
  135.         {% do pimcore_head_title().set( productName) %}
  136.     {#% endif %#}
  137.     {% include '@App/AreaIncludes/products/general-presentation/view.html.twig' with { gallery: galleryHeader, productName: productName, productSubline: productSubline, headerKeyBenefits: headerKeyBenefits } %}
  138.     {{ pimcore_area('breadcrumb', {type:'basisbundle-breadcrumb'}) }}
  139.     {% include '@App/AreaIncludes/products/series-informations.html.twig' with { highlightsList: highlightsList, productName: productName, productImage: productImage } %}
  140.     {% if technicalDataDetails is not empty %}
  141.         {% include '@App/AreaIncludes/products/technical-data.html.twig' with { technicalDataDetails: technicalDataDetails } %}
  142.         <section class=\"section\"><!-- white spacer between 2 gray sections --></section>
  143.     {% endif %}
  144.     {% include '@App/AreaIncludes/products/operating-concepts/view.html.twig' with { operatingConceptItems: operatingConceptItems } %}
  145.     {% include '@App/AreaIncludes/products/full-page-gallery.html.twig' with { gallery: galleryApplication } %}
  146.     {% include '@App/AreaIncludes/products/similar-products.html.twig' with { otherProducts: otherProducts } %}
  147.     {% include '@App/AreaIncludes/products/downloads.html.twig'  with { downloads: downloads } %}
  148.     {% set partnerFinderSnippet = document.getProperty(\"snippetPartnerFinder\") %}
  149.     {% if partnerFinderSnippet %}
  150.         {{ pimcore_inc(partnerFinderSnippet) }}
  151.     {% endif %}
  152. {% endblock %}
  153. ""@App/ObjectViews/product-details.html.twig""/srv/httpd/vhosts/lorch-test/releases/51/src/AppBundle/Resources/views/ObjectViews/product-details.html.twig");
  154.     }
  155.     
  156.     public function checkSecurity()
  157.     {
  158.         static $tags = array("do" => 7"include" => 10"if" => 13"set" => 21);
  159.         static $filters = array();
  160.         static $functions = array("pimcore_head_title" => 7"pimcore_area" => 11"pimcore_inc" => 23);
  161.         try {
  162.             $this->sandbox->checkSecurity(
  163.                 ['do''include''if''set'],
  164.                 [],
  165.                 ['pimcore_head_title''pimcore_area''pimcore_inc']
  166.             );
  167.         } catch (SecurityError $e) {
  168.             $e->setSourceContext($this->source);
  169.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  170.                 $e->setTemplateLine($tags[$e->getTagName()]);
  171.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  172.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  173.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  174.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  175.             }
  176.             throw $e;
  177.         }
  178.     }
  179. }