templates/includes/_sidebar.html.twig line 1

Open in your IDE?
  1. {% block sidebar  %}
  2.     {% if is_granted('ROLE_SUPER_ADMIN') %}{% include 'includes/_sidebar_super_admin.html.twig' %}
  3.     {% elseif is_granted('ROLE_ADMIN') %}{% include 'includes/_sidebar_admin.html.twig' %}
  4.     {% elseif is_granted('ROLE_CUSTOMER') %}{% include 'includes/_sidebar_customer.html.twig' %}
  5.     {% elseif is_granted('ROLE_SUPPLIER') %}{% include 'includes/_sidebar_supplier.html.twig' %}
  6.     {% endif %}
  7. {% endblock %}