2023-10-30 15:37:04 +01:00
|
|
|
%nav#header-navigation.fr-nav{ role: 'navigation', 'aria-label': 'Menu principal administrateur' }
|
|
|
|
%ul.fr-nav__list
|
2023-11-16 18:07:26 +01:00
|
|
|
%li.fr-nav__item= link_to 'Mes démarches', admin_procedures_path, class:'fr-nav__link', 'aria-current': current_page?(controller: 'administrateurs/procedures', action: :index) ? 'page' : nil
|
2023-10-30 15:37:04 +01:00
|
|
|
- if Rails.application.config.ds_zonage_enabled
|
|
|
|
%li.fr-nav__item= link_to 'Toutes les démarches', all_admin_procedures_path(zone_ids: current_administrateur.zones), class:'fr-nav__link', 'aria-current': current_page?(all_admin_procedures_path) ? 'page' : nil
|
2023-12-21 18:34:31 +01:00
|
|
|
- if current_administrateur.groupe_gestionnaire_id
|
|
|
|
%li.fr-nav__item= link_to 'Mon groupe gestionnaire', admin_groupe_gestionnaire_path, class:'fr-nav__link', 'aria-current': current_page?(admin_groupe_gestionnaire_path) ? 'page' : nil
|
2023-10-31 10:50:28 +01:00
|
|
|
|
|
|
|
= render MainNavigation::AnnouncesLinkComponent.new
|