custom/plugins/CogiThemeTulip/src/Resources/views/storefront/element/cms-element-image-gallery.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/element/cms-element-image-gallery.html.twig' %}
  2. {% block element_image_gallery_inner_col %}
  3. {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  4. {{ parent() }}
  5. {% else %}
  6.     <div class="gallery-slider-col col-12"
  7.          {% if zoomModal %}data-zoom-modal="true"{% endif %}>
  8.         {# option "magnifierOverGallery" shows zoom container over gallery #}
  9.         <div class="base-slider gallery-slider{% if navigationArrows == "outside" %} has-nav-outside{% endif %}{% if navigationDots == "outside" %} has-dots-outside{% endif %}{% if magnifierOverGallery %} js-magnifier-zoom-image-container{% endif %}">
  10.             {% block element_image_gallery_inner_wrapper %}
  11.                 {{ parent() }}
  12.             {% endblock %}
  13.             {% block element_image_gallery_slider_dots %}
  14.                 {{ parent() }}
  15.             {% endblock %}
  16.         </div>
  17.     </div>
  18.     {#% if showDisclaimer %}
  19.         <div class="product-image-disclaimer">
  20.             {{ "cogi.theme.tulip.detail.productImageDisclaimer"|trans }}
  21.         </div>
  22.     {% endif %#}
  23. {% endif %}
  24. {% endblock %}
  25. {% block element_image_gallery_inner_thumbnails_col %}
  26. {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  27. {{ parent() }}
  28. {% else %}
  29.     {% if imageCount > 1 %}
  30.         <div class="gallery-slider-thumbnails-col{% if galleryPosition == "left" %} is-left{% elseif galleryPosition == "underneath" %} is-underneath{% endif %} col-12">
  31.             <div class="gallery-slider-thumbnails-container">
  32.                 {% block element_image_gallery_inner_thumbnails %}
  33.                     {{ parent() }}
  34.                 {% endblock %}
  35.                 {% block element_image_gallery_inner_thumbnails_controls %}
  36.                     {{ parent() }}
  37.                 {% endblock %}
  38.             </div>
  39.         </div>
  40.     {% endif %}
  41. {% endif %}
  42. {% endblock %}
  43. {% block element_image_gallery_inner_control_prev_icon %}
  44. {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  45. {{ parent() }}
  46. {% else %}
  47.     {% sw_icon 'arrow-left' %}
  48. {% endif %}
  49. {% endblock %}
  50. {% block element_image_gallery_inner_control_next_icon %}
  51. {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  52. {{ parent() }}
  53. {% else %}
  54.     {% sw_icon 'arrow-right' %}
  55. {% endif %}
  56. {% endblock %}