custom/plugins/AtmosTheme/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_footer %}
  3. {% endblock %}
  4. {% block page_account_sidebar_header %}
  5. {% endblock %}
  6. {% block page_account_sidebar_link_orders %}
  7.     {{parent()}}
  8.     {% if context.customer %}
  9.         {% if not context.customer.guest %}
  10.             {% block page_account_sidebar_logout %}
  11.                 <a href="{{ path('frontend.account.logout.page') }}"
  12.                    class="list-group-item list-group-item-action account-aside-item">
  13.                     {{ "account.logout"|trans|sw_sanitize }}
  14.                 </a>
  15.             {% endblock %}
  16.         {% else %}
  17.             {% block page_account_sidebar_guest_abort %}
  18.                 <a href="{{ path('frontend.account.logout.page') }}"
  19.                    data-account-guest-abort-button="true"
  20.                    class="list-group-item list-group-item-action account-aside-item">
  21.                     {{ "account.guestAbort"|trans|sw_sanitize }}
  22.                 </a>
  23.             {% endblock %}
  24.         {% endif %}
  25.     {% endif %}    
  26. {% endblock %}