vendor/shopware/platform/src/Storefront/Resources/views/storefront/layout/header/actions/account-widget.html.twig line 1

Open in your IDE?
  1. {% block layout_header_actions_account_widget %}
  2.     <div class="dropdown">
  3.         {% block layout_header_actions_account_widget_dropdown_button %}
  4.             <button class="btn account-menu-btn header-actions-btn"
  5.                     type="button"
  6.                     id="accountWidget"
  7.                     data-offcanvas-account-menu="true"
  8.                     data-toggle="dropdown"
  9.                     aria-haspopup="true"
  10.                     aria-expanded="false"
  11.                     aria-label="{{ "account.myAccount"|trans|striptags }}"
  12.                     title="{{ "account.myAccount"|trans|striptags }}">
  13.                 {% sw_icon 'avatar' %}
  14.             </button>
  15.         {% endblock %}
  16.         {% block layout_header_actions_account_widget_dropdown_menu %}
  17.             <div class="dropdown-menu dropdown-menu-right account-menu-dropdown js-account-menu-dropdown"
  18.                  aria-labelledby="accountWidget">
  19.                 {% sw_include '@Storefront/storefront/layout/header/account-menu.html.twig' %}
  20.             </div>
  21.         {% endblock %}
  22.     </div>
  23. {% endblock %}