{{ component('SidebarTipee', { title: 'Général', id: 'generales', items: [ { 'route': 'annuaire', 'icon': 'annuaire', 'label': 'Annuaire', 'role': 'ROLE_USER' }, { 'route': 'prospections', 'icon': 'prospection', 'label': 'Prospections', 'role': 'ROLE_USER' }, { 'route': 'hotels', 'icon': 'hotel', 'label': 'Hôtels engagés', 'role': 'ROLE_USER' }, { 'route': 'groupes', 'icon': 'layer-group', 'label': 'Groupes d\'hôtels', 'role': 'ROLE_USER' } ], show: is_granted('ROLE_USER') or is_granted('ROLE_ADMIN'), collapsible: true }) }} {{ component('SidebarTipee', { title: 'Mesures EE', id: 'mesures_ee', items: [ { 'route': 'plan_comptages', 'icon': 'gears', 'label': 'Plans de comptage', 'role': ['ROLE_MESURE_EE', 'ROLE_ADMIN'] }, { 'route': 'gantt_test', 'icon': 'gauge', 'label': 'Test Gantt', 'role': ['ROLE_MESURE_EE', 'ROLE_ADMIN'] }, ], show: is_granted('ROLE_MESURE_EE') or is_granted('ROLE_ADMIN'), collapsible: true }) }} {{ component('SidebarTipee', { title: 'Formation', id: 'formation', items: [ { 'route': 'calendar_formateur', 'icon': 'calendrier', 'label': 'Mon calendrier', 'role': ['ROLE_FORMATEUR', 'ROLE_DEV'] }, { 'route': 'docutheque_index', 'icon': 'book', 'label': 'Docuthèque', 'role': ['ROLE_FORMATEUR', 'ROLE_DEV'] }, { 'route': 'formateurs', 'icon': 'users', 'label': 'Formateurs', 'role': ['ROLE_FORMATION', 'ROLE_DEV'] }, { 'route': 'evenements', 'icon': 'calendrier', 'label': 'Evenements', 'role': ['ROLE_FORMATION', 'ROLE_DEV'] }, { 'route': 'referents_hotels', 'icon': 'users', 'label': 'Référents Hotels', 'role': ['ROLE_FORMATION', 'ROLE_DEV'] }, { 'route': 'suivi_evenements', 'icon': 'calendrier', 'label': 'Suivi des événements', 'role': ['ROLE_FORMATION', 'ROLE_DEV'] }, ], show: is_granted('ROLE_FORMATION') or is_granted('ROLE_DEV') or (is_granted('ROLE_USER') and is_granted('ROLE_FORMATEUR')), collapsible: true }) }} {{ component('SidebarTipee', { title: 'Administration', id: 'administration', items: [ { 'route': 'users', 'icon': 'users', 'label': 'Utilisateurs'}, ], show: is_granted('ROLE_ADMIN'), collapsible: true }) }}