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

Open in your IDE?
  1. {% sw_extends '@CrehlerMojebambinoEngine/storefront/page/account/sidebar.html.twig' %}
  2. {% block page_account_sidebar_link_home %}
  3.                                 <a href="{{ path('frontend.account.home.page') }}" rel="nofollow" 
  4.                                    title="{{ "account.overviewLink"|trans|striptags }}"
  5.                                    class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('AccountProfile') and controllerAction is same as('index') %} is-active{% endif %}">
  6.                                     {{ "account.overviewLink"|trans|sw_sanitize }}
  7.                                 </a>
  8.                             {% endblock %}
  9.                             {% block page_account_sidebar_link_profile %}
  10.                                 <a href="{{ path('frontend.account.profile.page') }}" rel="nofollow" 
  11.                                    title="{{ "account.profileLink"|trans|striptags }}"
  12.                                    class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('AccountProfile') and controllerAction is same as('profileOverview') %} is-active{% endif %}">
  13.                                     {{ "account.profileLink"|trans|sw_sanitize }}
  14.                                 </a>
  15.                             {% endblock %}
  16.                             {% block page_account_sidebar_link_address %}
  17.                                 <a href="{{ path('frontend.account.address.page') }}" rel="nofollow" 
  18.                                    title="{{ "account.addressLink"|trans|striptags }}"
  19.                                    class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('Address') and controllerAction is same as('accountAddressOverview') %} is-active{% endif %}">
  20.                                     {{ "account.addressLink"|trans|sw_sanitize }}
  21.                                 </a>
  22.                             {% endblock %}
  23.                             {% block page_account_sidebar_link_payment %}
  24.                                 <a href="{{ path('frontend.account.payment.page') }}" rel="nofollow" 
  25.                                    title="{{ "account.paymentLink"|trans|striptags }}"
  26.                                    class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('AccountPayment') and controllerAction is same as('paymentOverview') %} is-active{% endif %}">
  27.                                     {{ "account.paymentLink"|trans|sw_sanitize }}
  28.                                 </a>
  29.                             {% endblock %}
  30.                             {% block page_account_sidebar_link_orders %}
  31.                                 <a href="{{ path('frontend.account.order.page') }}" rel="nofollow" 
  32.                                    title="{{ "account.ordersLink"|trans|striptags }}"
  33.                                    class="list-group-item list-group-item-action account-aside-item{% if controllerName is same as('AccountOrder') and controllerAction is same as('orderOverview') %} is-active{% endif %}">
  34.                                     {{ "account.ordersLink"|trans|sw_sanitize }}
  35.                                 </a>
  36.                             {% endblock %}
  37.                             
  38.                             {% block page_account_sidebar_logout %}
  39.                                 <a href="{{ path('frontend.account.logout.page') }}" rel="nofollow" 
  40.                                    class="btn btn-link account-aside-btn">
  41.                                     {% sw_icon 'log-out' %}
  42.                                     {{ "account.logout"|trans|sw_sanitize }}
  43.                                 </a>
  44.                             {% endblock %}
  45.                             
  46.                             {% block page_account_sidebar_guest_abort %}
  47.                                 <a href="{{ path('frontend.account.logout.page') }}" rel="nofollow" 
  48.                                    class="btn btn-link account-aside-btn">
  49.                                     {% sw_icon 'log-out' %}
  50.                                     {{ "account.guestAbort"|trans|sw_sanitize }}
  51.                                 </a>
  52.                             {% endblock %}