<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @App/ObjectViews/product-details.html.twig */
class __TwigTemplate_da5434f6f566422e8c1c14425ff904f8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "@FoxHabbitBasis/Layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/ObjectViews/product-details.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/ObjectViews/product-details.html.twig"));
$this->parent = $this->loadTemplate("@FoxHabbitBasis/Layout/layout.html.twig", "@App/ObjectViews/product-details.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 3
echo " ";
// line 4
echo " ";
// line 7
echo " ";
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", false, false, true, 7);
// line 8
echo " ";
// line 9
echo "
";
// line 10
$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); })())]));
// line 11
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "breadcrumb", ["type" => "basisbundle-breadcrumb"]);
echo "
";
// line 12
$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); })())]));
// line 13
echo " ";
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); })()))) {
// line 14
echo " ";
$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); })())]));
// line 15
echo " <section class=\"section\"><!-- white spacer between 2 gray sections --></section>
";
}
// line 17
echo " ";
$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); })())]));
// line 18
echo " ";
$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); })())]));
// line 19
echo " ";
$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); })())]));
// line 20
echo " ";
$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); })())]));
// line 21
echo " ";
$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", false, false, true, 21);
// line 22
echo " ";
if ((isset($context["partnerFinderSnippet"]) || array_key_exists("partnerFinderSnippet", $context) ? $context["partnerFinderSnippet"] : (function () { throw new RuntimeError('Variable "partnerFinderSnippet" does not exist.', 22, $this->source); })())) {
// line 23
echo " ";
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));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@App/ObjectViews/product-details.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@FoxHabbitBasis/Layout/layout.html.twig' %}
{% block content %}
{# Titel aus Objekt #}
{#% document.getTitle() %}
{% do pimcore_head_title().set( productName ~ ' | ' ~ document.getTitle()) %}
{% else %#}
{% do pimcore_head_title().set( productName) %}
{#% endif %#}
{% include '@App/AreaIncludes/products/general-presentation/view.html.twig' with { gallery: galleryHeader, productName: productName, productSubline: productSubline, headerKeyBenefits: headerKeyBenefits } %}
{{ pimcore_area('breadcrumb', {type:'basisbundle-breadcrumb'}) }}
{% include '@App/AreaIncludes/products/series-informations.html.twig' with { highlightsList: highlightsList, productName: productName, productImage: productImage } %}
{% if technicalDataDetails is not empty %}
{% include '@App/AreaIncludes/products/technical-data.html.twig' with { technicalDataDetails: technicalDataDetails } %}
<section class=\"section\"><!-- white spacer between 2 gray sections --></section>
{% endif %}
{% include '@App/AreaIncludes/products/operating-concepts/view.html.twig' with { operatingConceptItems: operatingConceptItems } %}
{% include '@App/AreaIncludes/products/full-page-gallery.html.twig' with { gallery: galleryApplication } %}
{% include '@App/AreaIncludes/products/similar-products.html.twig' with { otherProducts: otherProducts } %}
{% include '@App/AreaIncludes/products/downloads.html.twig' with { downloads: downloads } %}
{% set partnerFinderSnippet = document.getProperty(\"snippetPartnerFinder\") %}
{% if partnerFinderSnippet %}
{{ pimcore_inc(partnerFinderSnippet) }}
{% endif %}
{% endblock %}
", "@App/ObjectViews/product-details.html.twig", "/srv/httpd/vhosts/lorch-test/releases/51/src/AppBundle/Resources/views/ObjectViews/product-details.html.twig");
}
public function checkSecurity()
{
static $tags = array("do" => 7, "include" => 10, "if" => 13, "set" => 21);
static $filters = array();
static $functions = array("pimcore_head_title" => 7, "pimcore_area" => 11, "pimcore_inc" => 23);
try {
$this->sandbox->checkSecurity(
['do', 'include', 'if', 'set'],
[],
['pimcore_head_title', 'pimcore_area', 'pimcore_inc']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}