var/cache/dev_h41800f5fdfafa409ea382bf45d0f7c63/twig/8e/8e2c6b614f3b943e2d7207e6abaf5cb8e00a5ceb928057509516f29636841ee9.php line 42

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. /* @SchilderSysteme/storefront/page/content/index.html.twig */
  16. class __TwigTemplate_f39ac0a0e82058be94429a8c45099e03a2fdc0a89bf648f965e5b7ec8d58d18e 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.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  26.             'cms_category_headline' => [$this'block_cms_category_headline'],
  27.             'cms_category_description' => [$this'block_cms_category_description'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@Tuerschild_2/storefront/page/content/index.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""@SchilderSysteme/storefront/page/content/index.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""@SchilderSysteme/storefront/page/content/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@Tuerschild_2/storefront/page/content/index.html.twig""@SchilderSysteme/storefront/page/content/index.html.twig"2);
  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 5
  50.     public function block_cms_breadcrumb($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""cms_breadcrumb"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  57.         // line 6
  58.         echo "         ";
  59.         if ((=== twig_compare(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), "header", [], "any"falsefalsefalse6), "navigation", [], "any"falsefalsefalse6), "active", [], "any"falsefalsefalse6), "level", [], "any"falsefalsefalse6), 1))) {
  60.             // line 7
  61.             echo "             <div class=\"cms-section-default boxed\">
  62.                  <div class=\"cms-block-container\">
  63.                      <div class=\"col-12\">
  64.                          <div class=\"breadcrumb cms-breadcrumb container\">
  65.                              ";
  66.             // line 11
  67.             $this->loadTemplate("@Tuerschild_2/storefront/layout/breadcrumb.html.twig""@SchilderSysteme/storefront/page/content/index.html.twig"11)->display(twig_to_array(["context" =>             // line 12
  68. ($context["context"] ?? null), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 13
  69. ($context["page"] ?? null), "header", [], "any"falsefalsefalse13), "navigation", [], "any"falsefalsefalse13), "active", [], "any"falsefalsefalse13)]));
  70.             // line 15
  71.             echo "                         </div>
  72.                      </div>
  73.                  </div>
  74.              </div>
  75.          ";
  76.         }
  77.         // line 20
  78.         echo "     ";
  79.         
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  81.         
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  83.     }
  84.     // line 23
  85.     public function block_cms_category_headline($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_headline"));
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_headline"));
  92.         // line 24
  93.         echo "      ";
  94.         if ((=== twig_compare(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), "header", [], "any"falsefalsefalse24), "navigation", [], "any"falsefalsefalse24), "active", [], "any"falsefalsefalse24), "level", [], "any"falsefalsefalse24), 1))) {
  95.             // line 25
  96.             echo "          <div class=\"cms-section-default boxed\">
  97.               <div class=\"cms-block-container\">
  98.                   <div class=\"col-12\">
  99.                       <h1 class=\"category-headline
  100. \">";
  101.             // line 29
  102.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse29), "navigation", [], "any"falsefalsefalse29), "active", [], "any"falsefalsefalse29), "translated", [], "any"falsefalsefalse29), "name", [], "any"falsefalsefalse29), "html"nulltrue);
  103.             echo "</h1>
  104.                   </div>
  105.               </div>
  106.           </div>
  107.       ";
  108.         }
  109.         // line 34
  110.         echo "  ";
  111.         
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  113.         
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  115.     }
  116.     // line 36
  117.     public function block_cms_category_description($context, array $blocks = [])
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_description"));
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_category_description"));
  124.         // line 37
  125.         echo "                ";
  126.         if ((=== twig_compare(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), "header", [], "any"falsefalsefalse37), "navigation", [], "any"falsefalsefalse37), "active", [], "any"falsefalsefalse37), "level", [], "any"falsefalsefalse37), 1))) {
  127.             // line 38
  128.             echo "                    ";
  129.             $context["imgMediaId"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse38), "navigation", [], "any"falsefalsefalse38), "active", [], "any"falsefalsefalse38), "customFields", [], "any"falsefalsefalse38), "custom_category_info_image", [], "any"falsefalsefalse38);
  130.             // line 39
  131.             echo "                    ";
  132.             $context["iconMediaId"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse39), "navigation", [], "any"falsefalsefalse39), "active", [], "any"falsefalsefalse39), "customFields", [], "any"falsefalsefalse39), "custom_category_info_icon", [], "any"falsefalsefalse39);
  133.             // line 40
  134.             echo "
  135.                     ";
  136.             // line 41
  137.             $context["description"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse41), "navigation", [], "any"falsefalsefalse41), "active", [], "any"falsefalsefalse41), "customFields", [], "any"falsefalsefalse41), "custom_category_info_description", [], "any"falsefalsefalse41);
  138.             // line 42
  139.             echo "                    ";
  140.             $context["attribute_1"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse42), "navigation", [], "any"falsefalsefalse42), "active", [], "any"falsefalsefalse42), "customFields", [], "any"falsefalsefalse42), "custom_category_info_attribute_1", [], "any"falsefalsefalse42);
  141.             // line 43
  142.             echo "                    ";
  143.             $context["attribute_2"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse43), "navigation", [], "any"falsefalsefalse43), "active", [], "any"falsefalsefalse43), "customFields", [], "any"falsefalsefalse43), "custom_category_info_attribute_2", [], "any"falsefalsefalse43);
  144.             // line 44
  145.             echo "                    ";
  146.             $context["categoryColor"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse44), "navigation", [], "any"falsefalsefalse44), "active", [], "any"falsefalsefalse44), "customFields", [], "any"falsefalsefalse44), "custom_category_info_color", [], "any"falsefalsefalse44);
  147.             // line 45
  148.             echo "                    ";
  149.             $context["isBoxHidden"] = sw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse45), "navigation", [], "any"falsefalsefalse45), "active", [], "any"falsefalsefalse45), "customFields", [], "any"falsefalsefalse45), "custom_category_info_box_hide", [], "any"falsefalsefalse45);
  150.             // line 46
  151.             echo "
  152.                     ";
  153.             // line 50
  154.             if (($context["imgMediaId"] ?? null)) {
  155.                 // line 51
  156.                 echo "                        ";
  157.                 $context["media"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> ($context["imgMediaId"] ?? null)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse51));
  158.                 // line 52
  159.                 echo "                        ";
  160.                 $context["img"] = sw_get_attribute($this->env$this->source, ($context["media"] ?? null), "get", [=> ($context["imgMediaId"] ?? null)], "method"falsefalsefalse52);
  161.                 // line 53
  162.                 echo "
  163.                         ";
  164.                 // line 54
  165.                 if (($context["iconMediaId"] ?? null)) {
  166.                     // line 55
  167.                     echo "                            ";
  168.                     $context["mediaIcon"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> ($context["iconMediaId"] ?? null)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse55));
  169.                     // line 56
  170.                     echo "                            ";
  171.                     $context["icon"] = twig_first($this->envsw_get_attribute($this->env$this->source, ($context["mediaIcon"] ?? null), "elements", [], "any"falsefalsefalse56));
  172.                     // line 57
  173.                     echo "                        ";
  174.                 }
  175.                 // line 58
  176.                 echo "                        <div class=\"category-description-container cms-block-text-on-image col-12\">
  177.                             <div class=\"cms-block bg-image\">
  178.                                 <div class=\"d-flex\">
  179.                                     <div class=\"category-square-name-wrapper ";
  180.                 // line 61
  181.                 if (($context["isBoxHidden"] ?? null)) {
  182.                     echo " d-none ";
  183.                 }
  184.                 echo "\"
  185.                                          style=\"background-color: ";
  186.                 // line 62
  187.                 ((($context["categoryColor"] ?? null)) ? (print (sw_escape_filter($this->env, ($context["categoryColor"] ?? null), "html"nulltrue))) : (print ("#000000")));
  188.                 echo "\">
  189.                                         <span class=\"category-name\">";
  190.                 // line 63
  191.                 echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_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), "header", [], "any"falsefalsefalse63), "navigation", [], "any"falsefalsefalse63), "active", [], "any"falsefalsefalse63), "translated", [], "any"falsefalsefalse63), "name", [], "any"falsefalsefalse63), "html"nulltrue);
  192.                 echo "</span>
  193.                                     </div>
  194.                                     <img src=\"";
  195.                 // line 65
  196.                 echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["img"] ?? null), "url", [], "any"falsefalsefalse65), "html"nulltrue);
  197.                 echo "\" class=\"cms-block-background media-mode--cover\">
  198.                                 </div>
  199.                                 <div class=\"cms-block-container d-none\">
  200.                                     <div class=\"category-description-wrapper d-flex flex-sm-column-reverse col-12 p-0\">
  201.                                         <div class=\"d-flex flex-column flex-sm-row justify-content-between\">
  202.                                             <span class=\"d-flex flex-column-reverse category-description\">";
  203.                 // line 70
  204.                 echo twig_striptags(($context["description"] ?? null));
  205.                 echo "</span>
  206.                                             <div class=\"d-flex\">
  207.                                                 ";
  208.                 // line 72
  209.                 if (($context["iconMediaId"] ?? null)) {
  210.                     echo " <img class=\"category-icon\"
  211.                                                                           src=\"";
  212.                     // line 73
  213.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["icon"] ?? null), "url", [], "any"falsefalsefalse73), "html"nulltrue);
  214.                     echo "\">";
  215.                 }
  216.                 // line 74
  217.                 echo "                                                <div class=\"category-description-attributes d-flex flex-column justify-content-end\">
  218.                                                     <span class=\"attr attr-1\">";
  219.                 // line 75
  220.                 echo sw_escape_filter($this->env, ($context["attribute_1"] ?? null), "html"nulltrue);
  221.                 echo "</span>
  222.                                                     <span class=\"attr attr-2\">";
  223.                 // line 76
  224.                 echo sw_escape_filter($this->env, ($context["attribute_2"] ?? null), "html"nulltrue);
  225.                 echo "</span>
  226.                                                 </div>
  227.                                             </div>
  228.                                         </div>
  229.                                     </div>
  230.                                 </div>
  231.                             </div>
  232.                         </div>
  233.                     ";
  234.             }
  235.             // line 85
  236.             echo "                ";
  237.         }
  238.         // line 86
  239.         echo "            ";
  240.         
  241.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  242.         
  243.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  244.     }
  245.     public function getTemplateName()
  246.     {
  247.         return "@SchilderSysteme/storefront/page/content/index.html.twig";
  248.     }
  249.     public function isTraitable()
  250.     {
  251.         return false;
  252.     }
  253.     public function getDebugInfo()
  254.     {
  255.         return array (  264 => 86,  261 => 85,  249 => 76,  245 => 75,  242 => 74,  238 => 73,  234 => 72,  229 => 70,  221 => 65,  216 => 63,  212 => 62,  206 => 61,  201 => 58,  198 => 57,  195 => 56,  192 => 55,  190 => 54,  187 => 53,  184 => 52,  181 => 51,  179 => 50,  173 => 46,  170 => 45,  167 => 44,  164 => 43,  161 => 42,  159 => 41,  156 => 40,  153 => 39,  150 => 38,  147 => 37,  137 => 36,  127 => 34,  119 => 29,  113 => 25,  110 => 24,  100 => 23,  90 => 20,  83 => 15,  81 => 13,  80 => 12,  79 => 11,  73 => 7,  70 => 6,  60 => 5,  37 => 2,);
  256.     }
  257.     public function getSourceContext()
  258.     {
  259.         return new Source("{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
  260.      {% block cms_breadcrumb %}
  261.          {% if page.header.navigation.active.level > 1 %}
  262.              <div class=\"cms-section-default boxed\">
  263.                  <div class=\"cms-block-container\">
  264.                      <div class=\"col-12\">
  265.                          <div class=\"breadcrumb cms-breadcrumb container\">
  266.                              {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  267.                                  context: context,
  268.                                  category: page.header.navigation.active
  269.                              } only %}
  270.                          </div>
  271.                      </div>
  272.                  </div>
  273.              </div>
  274.          {% endif %}
  275.      {% endblock %}
  276.   {% block cms_category_headline %}
  277.       {% if page.header.navigation.active.level > 1 %}
  278.           <div class=\"cms-section-default boxed\">
  279.               <div class=\"cms-block-container\">
  280.                   <div class=\"col-12\">
  281.                       <h1 class=\"category-headline
  282. \">{{ page.header.navigation.active.translated.name }}</h1>
  283.                   </div>
  284.               </div>
  285.           </div>
  286.       {% endif %}
  287.   {% endblock %}
  288.             {% block cms_category_description %}
  289.                 {% if page.header.navigation.active.level > 1 %}
  290.                     {% set imgMediaId = page.header.navigation.active.customFields.custom_category_info_image %}
  291.                     {% set iconMediaId = page.header.navigation.active.customFields.custom_category_info_icon %}
  292.                     {% set description = page.header.navigation.active.customFields.custom_category_info_description %}
  293.                     {% set attribute_1 = page.header.navigation.active.customFields.custom_category_info_attribute_1 %}
  294.                     {% set attribute_2 = page.header.navigation.active.customFields.custom_category_info_attribute_2 %}
  295.                     {% set categoryColor = page.header.navigation.active.customFields.custom_category_info_color %}
  296.                     {% set isBoxHidden = page.header.navigation.active.customFields.custom_category_info_box_hide %}
  297.                     {% if imgMediaId %}
  298.                         {% set media = searchMedia([imgMediaId], context.context) %}
  299.                         {% set img = media.get(imgMediaId) %}
  300.                         {% if iconMediaId %}
  301.                             {% set mediaIcon = searchMedia([iconMediaId], context.context) %}
  302.                             {% set icon = mediaIcon.elements|first %}
  303.                         {% endif %}
  304.                         <div class=\"category-description-container cms-block-text-on-image col-12\">
  305.                             <div class=\"cms-block bg-image\">
  306.                                 <div class=\"d-flex\">
  307.                                     <div class=\"category-square-name-wrapper {% if isBoxHidden %} d-none {% endif %}\"
  308.                                          style=\"background-color: {{ categoryColor ? categoryColor : '#000000' }}\">
  309.                                         <span class=\"category-name\">{{ page.header.navigation.active.translated.name }}</span>
  310.                                     </div>
  311.                                     <img src=\"{{ img.url }}\" class=\"cms-block-background media-mode--cover\">
  312.                                 </div>
  313.                                 <div class=\"cms-block-container d-none\">
  314.                                     <div class=\"category-description-wrapper d-flex flex-sm-column-reverse col-12 p-0\">
  315.                                         <div class=\"d-flex flex-column flex-sm-row justify-content-between\">
  316.                                             <span class=\"d-flex flex-column-reverse category-description\">{{ description|striptags|raw }}</span>
  317.                                             <div class=\"d-flex\">
  318.                                                 {% if iconMediaId %} <img class=\"category-icon\"
  319.                                                                           src=\"{{ icon.url }}\">{% endif %}
  320.                                                 <div class=\"category-description-attributes d-flex flex-column justify-content-end\">
  321.                                                     <span class=\"attr attr-1\">{{ attribute_1 }}</span>
  322.                                                     <span class=\"attr attr-2\">{{ attribute_2 }}</span>
  323.                                                 </div>
  324.                                             </div>
  325.                                         </div>
  326.                                     </div>
  327.                                 </div>
  328.                             </div>
  329.                         </div>
  330.                     {% endif %}
  331.                 {% endif %}
  332.             {% endblock %}""@SchilderSysteme/storefront/page/content/index.html.twig""/data/www/stage.tuerschildshop/custom/plugins/SchilderSysteme/src/Resources/views/storefront/page/content/index.html.twig");
  333.     }
  334. }