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

Open in your IDE?
  1. {% sw_extends '@WynTheme/storefront/page/account/sidebar.html.twig' %}
  2. {% block page_account_sidebar_link_home %}
  3.   <li class="account-menu-list__item {% if activeRoute is same as('frontend.account.home.page') %} account-menu-list__item--active{% endif %}">
  4.     <a
  5.       href="{{ path('frontend.account.home.page') }}"
  6.       class="account-menu-list__link link link--5"
  7.     >
  8.       {{ "account.overviewLink"|trans|sw_sanitize }}
  9.     </a>
  10.   </li>
  11. {% endblock %}
  12. {% block page_account_sidebar_link_profile %}
  13.   <li class="account-menu-list__item {% if activeRoute is same as('frontend.account.profile.page') %} account-menu-list__item--active{% endif %}">
  14.     <a
  15.       href="{{ path('frontend.account.profile.page') }}"
  16.       class="account-menu-list__link link link--5"
  17.     >
  18.       {{ "account.profileLink"|trans|sw_sanitize }}
  19.     </a>
  20.   </li>
  21. {% endblock %}
  22. {% block page_account_sidebar_link_address %}
  23.   <li class="account-menu-list__item {% if activeRoute is same as('frontend.account.address.page') %} account-menu-list__item--active{% endif %}">
  24.     <a
  25.       href="{{ path('frontend.account.address.page') }}"
  26.       class="account-menu-list__link link link--5"
  27.     >
  28.       {{ "account.addressLink"|trans|sw_sanitize }}
  29.     </a>
  30.   </li>
  31. {% endblock %}
  32. {% block page_account_sidebar_link_payment %}
  33.   <li class="account-menu-list__item {% if activeRoute is same as('frontend.account.payment.page') %} account-menu-list__item--active{% endif %}">
  34.     <a
  35.       href="{{ path('frontend.account.payment.page') }}"
  36.       class="account-menu-list__link link link--5"
  37.     >
  38.       {{ "account.paymentLink"|trans|sw_sanitize }}
  39.     </a>
  40.   </li>
  41. {% endblock %}
  42. {% block page_account_sidebar_link_orders %}
  43.   <li class="account-menu-list__item {% if activeRoute is same as('frontend.account.order.page') %} account-menu-list__item--active{% endif %}">
  44.     <a
  45.       href="{{ path('frontend.account.order.page') }}"
  46.       class="account-menu-list__link link link--5"
  47.     >
  48.       {{ "account.ordersLink"|trans|sw_sanitize }}
  49.     </a>
  50.   </li>
  51. {% endblock %}