{% sw_extends '@Storefront/storefront/page/account/sidebar.html.twig' %}
{% block page_account_sidebar_header %}
{% if not headerWidget %}
<div class="card-header account-aside-header">
{{ "account.greetings"|trans|sw_sanitize }}
{{ context.customer.title }}
{{ context.customer.firstName }}
{{ context.customer.lastName }}
</div>
{% endif %}
{% endblock %}
{% block page_account_sidebar_menu_inner %}
{{ parent() }}
{% block page_account_sidebar_beefclub %}
<a
href="{{ path('frontend.beefclub.membership') }}"
title="{{ "beefClub.account.side-bar.title"|trans|striptags }}"
class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('AccountBeefClubController') and controllerAction is same as('listAction') %} is-active{% endif %}"
>
{{ "beefClub.account.side-bar.title"|trans|sw_sanitize }}
</a>
{% endblock %}
{% endblock %}
{% block page_account_sidebar_logout %}
<a href="{{ path('frontend.account.logout.page') }}"
class="btn btn-block btn-sm btn-primary account-aside-btn"
id="logoutButton">
{{ "account.logout"|trans|sw_sanitize }}
</a>
{% endblock %}
{% block page_account_sidebar_guest_abort %}
<a href="{{ path('frontend.account.logout.page') }}"
data-account-guest-abort-button="true"
class="btn btn-link account-aside-btn"
id="logoutButton">
{% sw_icon 'log-out' %}
{{ "account.guestAbort"|trans|sw_sanitize }}
</a>
{% endblock %}