vendor/shopware/storefront/Resources/views/storefront/block/cms-block-image-text-gallery.html.twig line 1

Open in your IDE?
  1. {% block block_image_text_gallery %}
  2.     {% set columns = 3 %}
  3.     {# @deprecated tag:v6.5.0 - Use "element.id" directly instead. #}
  4.     {% set id = element.id %}
  5.     {% block block_image_text_gallery_left %}
  6.         <div class="col-md-4">
  7.             <div class="image-text-gallery-card">
  8.                 {% block block_image_text_gallery_left_image %}
  9.                     {% set element = block.slots.getSlot('left-image') %}
  10.                     <div data-cms-element-id="{{ element.id }}">
  11.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  12.                     </div>
  13.                 {% endblock %}
  14.                 {% block block_image_text_gallery_left_text %}
  15.                     {% set element = block.slots.getSlot('left-text') %}
  16.                     <div data-cms-element-id="{{ element.id }}">
  17.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  18.                     </div>
  19.                 {% endblock %}
  20.             </div>
  21.         </div>
  22.     {% endblock %}
  23.     {% block block_image_text_gallery_center %}
  24.         <div class="col-md-4">
  25.             <div class="image-text-gallery-card">
  26.                 {% block block_image_text_gallery_center_image %}
  27.                     {% set element = block.slots.getSlot('center-image') %}
  28.                     <div data-cms-element-id="{{ element.id }}">
  29.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  30.                     </div>
  31.                 {% endblock %}
  32.                 {% block block_image_text_gallery_center_text %}
  33.                     {% set element = block.slots.getSlot('center-text') %}
  34.                     <div data-cms-element-id="{{ element.id }}">
  35.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  36.                     </div>
  37.                 {% endblock %}
  38.             </div>
  39.         </div>
  40.     {% endblock %}
  41.     {% block block_image_text_gallery_right %}
  42.         <div class="col-md-4">
  43.             <div class="image-text-gallery-card">
  44.                 {% block block_image_text_gallery_right_image %}
  45.                     {% set element = block.slots.getSlot('right-image') %}
  46.                     <div data-cms-element-id="{{ element.id }}">
  47.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  48.                     </div>
  49.                 {% endblock %}
  50.                 {% block block_image_text_gallery_right_text %}
  51.                     {% set element = block.slots.getSlot('right-text') %}
  52.                     <div data-cms-element-id="{{ element.id }}">
  53.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  54.                     </div>
  55.                 {% endblock %}
  56.             </div>
  57.         </div>
  58.     {% endblock %}
  59. {% endblock %}