var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/0d/0dde5b4e70d510e1947a97c7b3e8de1e0e3d44a9d0069cc021a428f0cac44865.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig */
  16. class __TwigTemplate_0bc23a79823414c8ee61c88805036dd9 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'element_product_desciption_reviews_tabs_navigation_description' => [$this'block_element_product_desciption_reviews_tabs_navigation_description'],
  26.             'element_product_desciption_reviews_tabs_content_description' => [$this'block_element_product_desciption_reviews_tabs_content_description'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@NimbitsArticleQuestionsNext/storefront/element/cms-element-product-description-reviews.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig"));
  41.         $this->parent $this->loadTemplate("@NimbitsArticleQuestionsNext/storefront/element/cms-element-product-description-reviews.html.twig""@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_element_product_desciption_reviews_tabs_navigation_description($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""element_product_desciption_reviews_tabs_navigation_description"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""element_product_desciption_reviews_tabs_navigation_description"));
  56.         // line 4
  57.         echo "\t";
  58.         $this->displayParentBlock("element_product_desciption_reviews_tabs_navigation_description"$context$blocks);
  59.         echo "
  60. \t";
  61.         // line 6
  62.         if (( !twig_test_empty(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse6), "translated", [], "any"falsefalsefalse6), "customFields", [], "any"falsefalsefalse6), "migration_kewsw5_product_attr8", [], "any"falsefalsefalse6)) && (twig_length_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse6), "sortedProperties", [], "any"falsefalsefalse6)) == 0))) {
  63.             // line 7
  64.             echo "\t\t<li class=\"nav-item\">
  65. \t\t\t<a class=\"nav-link product-properties-tab-navigation-link\" id=\"properties-tab\" data-toggle=\"tab\" data-offcanvas-tabs=\"true\" href=\"#properties-tab-pane\" role=\"tab\" aria-controls=\"properties-tab-pane\" aria-selected=\"true\">
  66. \t\t\t\t";
  67.             // line 9
  68.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("twt.detail.tabProperties.title"));
  69.             echo "
  70. \t\t\t\t<span class=\"product-detail-tab-navigation-icon\">
  71. \t\t\t\t\t";
  72.             // line 11
  73.             ((function () use ($context$blocks) {
  74.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  75.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  76.                 return $this->loadTemplate($includeTemplate ?? null"@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig"11);
  77.             })())->display(twig_array_merge($context, ["pack" => "solid""name" => "arrow-medium-right"]));
  78.             // line 12
  79.             echo "\t\t\t\t</span>
  80. \t\t\t</a>
  81. \t\t</li>
  82. \t";
  83.         }
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.     }
  89.     // line 19
  90.     public function block_element_product_desciption_reviews_tabs_content_description($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""element_product_desciption_reviews_tabs_content_description"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""element_product_desciption_reviews_tabs_content_description"));
  97.         // line 20
  98.         echo "\t";
  99.         $this->displayParentBlock("element_product_desciption_reviews_tabs_content_description"$context$blocks);
  100.         echo "
  101. \t";
  102.         // line 22
  103.         if (( !twig_test_empty(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse22), "translated", [], "any"falsefalsefalse22), "customFields", [], "any"falsefalsefalse22), "migration_kewsw5_product_attr8", [], "any"falsefalsefalse22)) && (twig_length_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse22), "sortedProperties", [], "any"falsefalsefalse22)) == 0))) {
  104.             // line 23
  105.             echo "\t\t<div class=\"tab-pane fade show empty-properties\" id=\"properties-tab-pane\" role=\"tabpanel\" aria-labelledby=\"properties-tab\">
  106. \t\t\t";
  107.             // line 24
  108.             $__internal_compile_0 null;
  109.             try {
  110.                 $__internal_compile_0 =                 $this->loadTemplate("@LDSCustom/storefront/themeware/product-detail/twt-product-detail-tab-properties.html.twig""@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig"24);
  111.             } catch (LoaderError $e) {
  112.                 // ignore missing template
  113.             }
  114.             if ($__internal_compile_0) {
  115.                 $__internal_compile_0->display($context);
  116.             }
  117.             // line 25
  118.             echo "\t\t</div>
  119. \t";
  120.         }
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     public function getTemplateName()
  127.     {
  128.         return "@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig";
  129.     }
  130.     public function isTraitable()
  131.     {
  132.         return false;
  133.     }
  134.     public function getDebugInfo()
  135.     {
  136.         return array (  139 => 25,  129 => 24,  126 => 23,  124 => 22,  118 => 20,  108 => 19,  94 => 12,  86 => 11,  81 => 9,  77 => 7,  75 => 6,  69 => 4,  59 => 3,  36 => 2,);
  137.     }
  138.     public function getSourceContext()
  139.     {
  140.         return new Source("{% sw_extends '@Storefront/storefront/element/cms-element-product-description-reviews.html.twig' %}
  141. {% block element_product_desciption_reviews_tabs_navigation_description %}
  142. \t{{ parent() }}
  143. \t{% if page.product.translated.customFields.migration_kewsw5_product_attr8 is not empty and page.product.sortedProperties|length == 0 %}
  144. \t\t<li class=\"nav-item\">
  145. \t\t\t<a class=\"nav-link product-properties-tab-navigation-link\" id=\"properties-tab\" data-toggle=\"tab\" data-offcanvas-tabs=\"true\" href=\"#properties-tab-pane\" role=\"tab\" aria-controls=\"properties-tab-pane\" aria-selected=\"true\">
  146. \t\t\t\t{{ \"twt.detail.tabProperties.title\"|trans|sw_sanitize }}
  147. \t\t\t\t<span class=\"product-detail-tab-navigation-icon\">
  148. \t\t\t\t\t{% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  149. \t\t\t\t</span>
  150. \t\t\t</a>
  151. \t\t</li>
  152. \t{% endif %}
  153. {% endblock %}
  154. {% block element_product_desciption_reviews_tabs_content_description  %}
  155. \t{{ parent() }}
  156. \t{% if page.product.translated.customFields.migration_kewsw5_product_attr8 is not empty and page.product.sortedProperties|length == 0 %}
  157. \t\t<div class=\"tab-pane fade show empty-properties\" id=\"properties-tab-pane\" role=\"tabpanel\" aria-labelledby=\"properties-tab\">
  158. \t\t\t{% sw_include '@Storefront/storefront/themeware/product-detail/twt-product-detail-tab-properties.html.twig' ignore missing %}
  159. \t\t</div>
  160. \t{% endif %}
  161. {% endblock %}
  162. ""@LDSCustom/storefront/element/cms-element-product-description-reviews.html.twig""/var/customers/webs/kew/htdocs6/custom/static-plugins/LDSCustom/src/Resources/views/storefront/element/cms-element-product-description-reviews.html.twig");
  163.     }
  164. }