{% sw_extends '@Storefront/storefront/page/account/sidebar.html.twig' %}
{% block page_account_sidebar_link_orders %}
{% if config('AbasConnector.config.showServiceProductSearch') %}
<a href="{{ path('frontend.serviceproducts.index') }}"
title="{{ "abasConnector.serviceProducts.index.title"|trans|striptags }}"
class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('ServiceProducts') %} is-active{% endif %}">
{{ "abasConnector.serviceProducts.index.title"|trans|sw_sanitize }}
</a>
{% endif %}
{% if config('AbasConnector.config.orderInfoIsActive') %}
<a href="{{ seoUrl('abas.frontend.account.order.page') }}"
title="{{ "account.ordersLink"|trans|striptags }}"
class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('AccountOrder') and controllerAction is same as('orderOverview') %} is-active{% endif %}">
{{ "account.ordersLink"|trans|sw_sanitize }}
</a>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}