fix(gestionnaires): apply navigation refactor to gestionnaires
This commit is contained in:
parent
99fe4694af
commit
3dd25c1ea6
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
%nav#header-navigation.fr-nav{ role: 'navigation', 'aria-label': 'Menu principal administrateur' }
|
||||
%ul.fr-nav__list
|
||||
%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) ? 'true' : nil
|
||||
%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
|
||||
- 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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.fr-container
|
||||
- content_for(:main_navigation) do
|
||||
%nav#header-navigation.fr-nav{ role: 'navigation', 'aria-label': 'Menu principal gestionnaire' }
|
||||
%ul.fr-nav__list
|
||||
%li.fr-nav__item= link_to 'Mes groupes gestionnaire', gestionnaire_groupe_gestionnaires_path, class:'fr-nav__link', 'aria-current': current_page?(controller: 'groupe_gestionnaires', action: :index) ? 'true' : nil
|
||||
%li.fr-nav__item= link_to 'Mes groupes gestionnaire', gestionnaire_groupe_gestionnaires_path, class:'fr-nav__link', 'aria-current': current_page?(controller: 'groupe_gestionnaires', action: :index) ? 'page' : nil
|
|
@ -1,4 +1,4 @@
|
|||
= render 'main_menu'
|
||||
= render 'main_navigation'
|
||||
|
||||
.sub-header
|
||||
|
||||
|
|
Loading…
Reference in a new issue