custom/plugins/WabsIgmTheme/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_container %}
  3.     <ul class="nav nav-tabs product-detail-tab-navigation-list"
  4.         id="product-detail-tabs"
  5.         role="tablist">
  6.         {% block page_product_detail_tabs_navigation_description %}
  7.             {{ parent() }}
  8.         {% endblock %}
  9.         {% block page_product_detail_tabs_navigation_review %}
  10.             {% if config('core.listing.showReview') %}
  11.                 <li class="nav-item">
  12.                     <a class="nav-link {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %} product-detail-tab-navigation-link"
  13.                        id="review-tab"
  14.                        data-toggle="tab"
  15.                        data-offcanvas-tabs="true"
  16.                        href="#review-tab-pane"
  17.                        role="tab"
  18.                        aria-controls="review-tab-pane"
  19.                        aria-selected="true">
  20.                         {{ "detail.tabsReview"|trans|sw_sanitize }}
  21.                         <span class="product-detail-tab-navigation-icon">
  22.                         {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  23.                     </span>
  24.                     </a>
  25.                 </li>
  26.             {% endif %}
  27.         {% endblock %}
  28.         {% block page_product_detail_tabs_navigation_igm_reihenname %}
  29.             {% if page.product.customFields.igm_mbs_reihenname|default %}
  30.                 <li class="nav-item">
  31.                     <a class="nav-link {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %} product-detail-tab-navigation-link"
  32.                        id="reihennamen-tab"
  33.                        data-toggle="tab"
  34.                        data-offcanvas-tabs="true"
  35.                        href="#igm-mbs-reihenname"
  36.                        role="tab"
  37.                        aria-controls="igm-mbs-reihenname"
  38.                        aria-selected="true">
  39.                         Reihenname
  40.                         <span class="product-detail-tab-navigation-icon">
  41.                         {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  42.                     </span>
  43.                     </a>
  44.                 </li>
  45.             {% endif %}
  46.         {% endblock %}
  47.         {% block page_product_detail_tabs_navigation_downloads %}
  48.             <li class="nav-item">
  49.                 <a class="nav-link {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %} product-detail-tab-navigation-link"
  50.                    id="downloads-tab"
  51.                    data-toggle="tab"
  52.                    data-offcanvas-tabs="true"
  53.                    href="#downloads"
  54.                    role="tab"
  55.                    aria-controls="downloads"
  56.                    aria-selected="true">
  57.                     Downloads
  58.                     <span class="product-detail-tab-navigation-icon">
  59.                     {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  60.                 </span>
  61.                 </a>
  62.             </li>
  63.         {% endblock %}
  64.     </ul>
  65. {% endblock %}
  66. {% block page_product_detail_tabs_content_container %}
  67.     <div class="tab-content">
  68.         {% block page_product_detail_tabs_content_description %}
  69.             <div class="tab-pane fade show {% if (ratingSuccess != 1) and (ratingSuccess != -1) %}active{% endif %}"
  70.                  id="description-tab-pane"
  71.                  role="tabpanel"
  72.                  aria-labelledby="description-tab">
  73.                 {% sw_include '@Storefront/storefront/page/product-detail/description.html.twig' %}
  74.             </div>
  75.         {% endblock %}
  76.         {% block page_product_detail_tabs_content_review %}
  77.             {% if config('core.listing.showReview') %}
  78.                     <div class="tab-pane fade show {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %}"
  79.                          id="review-tab-pane"
  80.                          role="tabpanel"
  81.                          aria-labelledby="review-tab">
  82.                         {% sw_include '@Storefront/storefront/page/product-detail/review/review.html.twig' with {'reviews': page.reviews} %}
  83.                     </div>
  84.             {% endif %}
  85.         {% endblock %}
  86.         {% block page_product_detail_tabs_igm_reihenname %}
  87.             {% if page.product.customFields.igm_mbs_reihenname|default %}
  88.                 <div class="tab-pane fade show {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %}"
  89.                      id="igm-mbs-reihenname"
  90.                      role="tabpanel"
  91.                      aria-labelledby="review-tab">
  92.                     <div class="product-detail-reihenname">{{ page.product.customFields.igm_mbs_reihenname }}</div>
  93.                 </div>
  94.             {% endif %}
  95.         {% endblock %}
  96.         {% block page_product_detail_tabs_downloads %}
  97.             <div class="tab-pane fade show {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %}"
  98.                  id="downloads"
  99.                  role="tabpanel"
  100.                  aria-labelledby="downloads-tab">
  101.                 <div class="product-detail-downloads">
  102.                     {% sw_include '@Storefront/storefront/page/product-detail/enno-downloads-product-detail.html.twig' %}
  103.                 </div>
  104.             </div>
  105.         {% endblock %}
  106.     </div>
  107. {% endblock %}