custom/plugins/PayonePayment/src/Resources/views/storefront/page/account/sidebar.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/account/sidebar.html.twig' %}
    
    {% block page_account_sidebar_menu_inner %}
        {{ parent() }}
    
        {% block page_account_sidebar_link_payone_card %}
            {% if constant('PayonePayment\\PaymentMethod\\PayoneCreditCard::UUID') in activePaymentPaymentMethods %}
                {% set css_class %}
                    list-group-item
                    list-group-item-action
                    account-aside-item
    
                    {% if controllerName is same as('PayoneAccountCard') and controllerAction is same as('cardOverview') %}
                        is-active
                    {% endif %}
                {% endset %}
    
                <a href="{{ path('frontend.account.payone.card.page') }}" title="{{ "PayonePayment.cardPage.menuName" | trans }}" class="{{ css_class }}">
                    {{ "PayonePayment.cardPage.menuName" | trans }}
                </a>
            {% endif %}
        {% endblock %}
    
        {% block page_account_sidebar_link_payone_mandate %}
            {% if constant('PayonePayment\\PaymentMethod\\PayoneDebit::UUID') in activePaymentPaymentMethods %}
                {% set css_class %}
                    list-group-item
                    list-group-item-action
                    account-aside-item
    
                    {% if controllerName is same as('PayoneAccountMandate') and controllerAction is same as('mandateOverview') %}
                        is-active
                    {% endif %}
                {% endset %}
    
                <a href="{{ path('frontend.account.payone.mandate.page') }}" title="{{ "PayonePayment.mandatePage.menuName" | trans }}" class="{{ css_class }}">
                    {{ "PayonePayment.mandatePage.menuName" | trans }}
                </a>
            {% endif %}
        {% endblock %}
    {% endblock %}