themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Menu/_security.html.twig line 1

Open in your IDE?
  1. {% if is_granted('ROLE_USER') %}
  2.     <li class="">
  3.         {% if true == app.user.customer.isPro %}
  4.             <a class="compte-link link-other pro-icon" href="{{ path('sylius_shop_account_dashboard') }}" title="{{ app.user.customer.fullName }}" data-toggle="tooltip"></a>
  5.         {% else %}
  6.         <a class="compte-link link-other" href="{{ path('sylius_shop_account_dashboard') }}" title="{{ app.user.customer.fullName }}" data-toggle="tooltip"></a>
  7.         {% endif %}
  8.     </li>
  9.     
  10. {% else %}
  11.     <li>
  12.         <a class="compte-link link-other" href="{{ path('sylius_shop_login') }}" title="{{ 'sylius.ui.my_account'|trans }}"  data-toggle="tooltip"></a>
  13.     </li>
  14. {% endif %}