custom/plugins/NetzpEvents6/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 events_product_detail_tabs_navigation %}
  5.         {% if((page.product.extension('event') and page.product.extension('event').bookable and page.product.extension('event').description) or
  6.             (page.product.extension('eventparent') and page.product.extension('eventparent').bookable and page.product.extension('eventparent').description)) %}
  7.             <li class="nav-item">
  8.                 <a class="nav-link product-detail-tab-navigation-link"
  9.                    id="netzp-events-tab"
  10.                    data-toggle="tab"
  11.                    data-offcanvas-tabs="true"
  12.                    href="#netzp-events-tab-pane"
  13.                    role="tab"
  14.                    aria-controls="netzp-events-tab-pane"
  15.                    aria-selected="true">
  16.                     {{ "netzp.events.tab-events-title"|trans }}
  17.                     <span class="product-detail-tab-navigation-icon">
  18.                         {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  19.                     </span>
  20.                 </a>
  21.             </li>
  22.         {% endif %}
  23.     {% endblock %}
  24. {% endblock %}
  25. {% block page_product_detail_tabs_content_review %}
  26.     {{ parent() }}
  27.     {% block events_product_detail_tabs_content %}
  28.         {% if((page.product.extension('event') and page.product.extension('event').bookable and page.product.extension('event').description) or
  29.             (page.product.extension('eventparent') and page.product.extension('eventparent').bookable and page.product.extension('eventparent').description)) %}
  30.             <div class="tab-pane fade show"
  31.                  id="netzp-events-tab-pane"
  32.                  role="tabpanel"
  33.                  aria-labelledby="netzp-events-tab">
  34.                 {% sw_include '@Storefront/storefront/event_tab.html.twig' %}
  35.             </div>
  36.         {% endif %}
  37.     {% endblock %}
  38. {% endblock %}