{#
# Project: www.betten-abc.de
# Company: arboro GmbH
# Created by: Daniel Geike
# Created on: 08.07.22
# Description:
#}
{% sw_extends "@Storefront/storefront/page/product-detail/tabs.html.twig" %}
{% block page_product_detail_tabs_navigation_description %}
<li class="nav-item">
<a class="nav-link {% if (ratingSuccess != 1) and (ratingSuccess != -1) %}active{% endif %} product-detail-tab-navigation-link"
id="description-tab"
{{ dataBsToggleAttr ~ "=tab" }}
data-offcanvas-tabs="true"
href="#description-tab-pane"
role="tab"
aria-controls="description-tab-pane"
aria-selected="true">
<span>{{ "detail.tabsDescription"|trans|sw_sanitize }}</span>
<span class="product-detail-tab-navigation-icon">
{% sw_icon 'arrow-head-down' style {
pack: 'default'
} %}
</span>
</a>
</li>
{% endblock %}
{# add span, because Shopware is apparently too lazy #}
{% block page_product_detail_tabs_navigation_review %}
{% if config('core.listing.showReview') %}
<li class="nav-item">
<a class="nav-link {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %} product-detail-tab-navigation-link"
id="review-tab"
{{ dataBsToggleAttr ~ "=tab" }}
data-offcanvas-tabs="true"
href="#review-tab-pane"
role="tab"
aria-controls="review-tab-pane"
aria-selected="true">
<span>
{{ "detail.tabsReview"|trans|sw_sanitize }}
</span>
<span class="product-detail-tab-navigation-icon">
{% sw_icon 'arrow-head-down' style {
pack: 'default'
} %}
</span>
</a>
</li>
{% endif %}
{% endblock %}