custom/plugins/NetzpGallery6/src/Resources/views/storefront/page/product-detail/tabs.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
  2. {% block page_product_detail_tabs_navigation_review %}
  3.     {{ parent() }}
  4.     {% block page_product_detail_tabs_navigation_gallery %}
  5.         {% if(config('NetzpGallery6.config.productposition') == 'tab' and
  6.               page.product.getExtension('galleries').getElements()) %}
  7.             <li class="nav-item">
  8.                 <a id="netzp-gallery-tab" class="nav-link product-detail-tab-navigation-link"
  9.                    data-toggle="tab" data-offcanvas-tabs="true"
  10.                    href="#netzp-gallery-tab-pane"
  11.                    role="tab" aria-controls="netzp-gallery-tab-pane" aria-selected="true">
  12.                     {{ "netzp.gallery.tab-gallery-title"|trans }}
  13.                     <span class="product-detail-tab-navigation-icon">
  14.                         {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  15.                     </span>
  16.                 </a>
  17.             </li>
  18.         {% endif %}
  19.     {% endblock %}
  20. {% endblock %}
  21. {% block page_product_detail_tabs_content_review %}
  22.     {{ parent() }}
  23.     {% block page_product_detail_tabs_content_gallery %}
  24.         {% if(config('NetzpGallery6.config.productposition') == 'tab' and
  25.               page.product.getExtension('galleries').getElements()) %}
  26.             <div id="netzp-gallery-tab-pane" class="tab-pane fade show"
  27.                  role="tabpanel" aria-labelledby="netzp-gallery-tab">
  28.                 {% sw_include "@Storefront/storefront/page/product-detail/tabs-gallery.html.twig"
  29.                     with {'gallery': page.product.getExtension('galleries').getElements()|first}
  30.                 %}
  31.             </div>
  32.         {% endif %}
  33.     {% endblock %}
  34. {% endblock %}