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