custom/plugins/MoorlCustomerAccounts/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' %}
  2. {% block page_account_sidebar_link_profile %}
  3.     {# Don't allow to edit the parent account #}
  4.     {% if context.customer.extensions.CustomerAccount.children %}
  5.         {{ parent() }}
  6.         {% block page_account_sidebar_menu_customer_accounts %}
  7.             <a href="{{ seoUrl('moorl-customer-accounts.account.customer-accounts.page') }}"
  8.                title="{{ "moorl-customer-accounts.customerAccounts"|trans|striptags }}"
  9.                class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('Storefront') and controllerAction is same as('profileCustomerAccounts') %} is-active{% endif %}">
  10.                 {{ "moorl-customer-accounts.customerAccounts"|trans }}
  11.             </a>
  12.         {% endblock %}
  13.         {% if config('MoorlCustomerAccounts.config.enableNotificationSettings') %}
  14.             {% block page_account_sidebar_menu_notification_settings %}
  15.                 <a href="{{ seoUrl('moorl-customer-accounts.account.notification-settings.page') }}"
  16.                    title="{{ "moorl-customer-accounts.notificationSettings"|trans|striptags }}"
  17.                    class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('Storefront') and controllerAction is same as('profileNotificationSettings') %} is-active{% endif %}">
  18.                     {{ "moorl-customer-accounts.notificationSettings"|trans }}
  19.                 </a>
  20.             {% endblock %}
  21.         {% endif %}
  22.     {% endif %}
  23. {% endblock %}