{% sw_extends '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
{% block page_product_detail_tabs_navigation_description %}
{{ parent() }}
{# Adding properties tab #}
{% if theme_config('kara-product-detail-properties-tab') %}
{% block page_product_detail_tabs_navigation_properties %}
{% if page.product.sortedProperties|length > 0 %}
<li class="nav-item">
<a class="nav-link product-detail-tab-navigation-link"
id=" properties-tab"
data-toggle="tab"
data-offcanvas-tabs="true"
href="#properties-tab-pane"
role="tab"
aria-controls="properties-tab-pane"
aria-selected="false">
<span>{{ 'Kara.detail.tabsProperties'|trans|sw_sanitize }}</span>
<span class="product-detail-tab-navigation-icon">
{% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
</span>
</a>
</li>
{% endif %}
{% endblock %}
{% endif %}
{% endblock %}
{% block page_product_detail_tabs_content_description %}
{{ parent() }}
{# Adding properties tab-body #}
{% if theme_config('kara-product-detail-properties-tab') %}
{% block page_product_detail_tabs_content_properties %}
<div class="tab-pane fade show {% if (ratingSuccess == 1) or (ratingSuccess == -1) %}active{% endif %}"
id="properties-tab-pane"
role="tabpanel"
aria-labelledby="properties-tab">
{% sw_include '@Storefront/storefront/page/product-detail/kara-properties.html.twig' %}
</div>
{% endblock %}
{% endif %}
{% endblock %}