diff --git a/app/views/new_gestionnaire/avis/_header.html.haml b/app/views/new_gestionnaire/avis/_header.html.haml index 1933d5a71..c8ffedf7e 100644 --- a/app/views/new_gestionnaire/avis/_header.html.haml +++ b/app/views/new_gestionnaire/avis/_header.html.haml @@ -8,6 +8,6 @@ %li{ class: current_page?(avis_path(avis)) ? 'active' : nil } = link_to 'Demande', avis_path(avis) %li{ class: current_page?(instruction_avis_path(avis)) ? 'active' : nil } - = link_to 'Instruction', instruction_avis_path(avis) + = link_to 'Avis', instruction_avis_path(avis) %li{ class: current_page?(messagerie_avis_path(avis)) ? 'active' : nil } = link_to 'Messagerie', messagerie_avis_path(avis) diff --git a/app/views/new_gestionnaire/dossiers/_header.html.haml b/app/views/new_gestionnaire/dossiers/_header.html.haml index 2321f44aa..c25a332b6 100644 --- a/app/views/new_gestionnaire/dossiers/_header.html.haml +++ b/app/views/new_gestionnaire/dossiers/_header.html.haml @@ -18,11 +18,11 @@ %li{ class: current_page?(annotations_privees_dossier_path(dossier.procedure, dossier)) ? 'active' : nil } - if notifications_summary[:annotations_privees] %span.notifications{ 'aria-label': 'notifications' } - = link_to "Annotations Privées", annotations_privees_dossier_path(dossier.procedure, dossier) + = link_to "Annotations privées", annotations_privees_dossier_path(dossier.procedure, dossier) %li{ class: current_page?(avis_dossier_path(dossier.procedure, dossier)) ? 'active' : nil } - if notifications_summary[:avis] %span.notifications{ 'aria-label': 'notifications' } - = link_to "Avis Externes", avis_dossier_path(dossier.procedure, dossier) + = link_to "Avis externes", avis_dossier_path(dossier.procedure, dossier) %li{ class: current_page?(messagerie_dossier_path(dossier.procedure, dossier)) ? 'active' : nil } - if notifications_summary[:messagerie] %span.notifications{ 'aria-label': 'notifications' } diff --git a/spec/features/new_gestionnaire/gestionnaire_spec.rb b/spec/features/new_gestionnaire/gestionnaire_spec.rb index eef94239e..85f8ceff3 100644 --- a/spec/features/new_gestionnaire/gestionnaire_spec.rb +++ b/spec/features/new_gestionnaire/gestionnaire_spec.rb @@ -64,7 +64,7 @@ feature 'The gestionnaire part' do click_on procedure.libelle click_on dossier.user.email - click_on 'Avis Externes' + click_on 'Avis externes' expect(page).to have_current_path(avis_dossier_path(procedure, dossier)) expert_email = 'expert@tps.com'