2023-06-29 15:03:22 +02:00
|
|
|
#header-bottom.fr-container
|
2023-11-09 15:02:43 +01:00
|
|
|
%nav.fr-tabs
|
2023-11-14 12:05:17 +01:00
|
|
|
%ul.fr-tabs__list{ role: 'tablist' }
|
2023-02-27 16:06:11 +01:00
|
|
|
- notifications_summary = current_instructeur.notifications_for_dossier(dossier)
|
|
|
|
|
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.request'),
|
|
|
|
instructeur_dossier_path(dossier.procedure, dossier),
|
|
|
|
notification: notifications_summary[:demande])
|
|
|
|
|
2024-10-11 11:52:30 +02:00
|
|
|
- if gallery_attachments.present?
|
2024-04-08 10:23:07 +02:00
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.attachments'),
|
2024-09-10 16:09:43 +02:00
|
|
|
pieces_jointes_instructeur_dossier_path(dossier.procedure, dossier),
|
|
|
|
notification: notifications_summary[:pieces_jointes])
|
2024-04-08 10:23:07 +02:00
|
|
|
|
2023-02-27 16:06:11 +01:00
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.private_annotations'),
|
|
|
|
annotations_privees_instructeur_dossier_path(dossier.procedure, dossier),
|
|
|
|
notification: notifications_summary[:annotations_privees])
|
|
|
|
|
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.external_opinion'),
|
2023-03-10 18:39:26 +01:00
|
|
|
[avis_instructeur_dossier_path(dossier.procedure, dossier),
|
|
|
|
avis_new_instructeur_dossier_path(dossier.procedure, dossier)],
|
2023-02-27 16:06:11 +01:00
|
|
|
notification: notifications_summary[:avis])
|
|
|
|
|
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.messaging'),
|
|
|
|
messagerie_instructeur_dossier_path(dossier.procedure, dossier),
|
|
|
|
notification: notifications_summary[:messagerie])
|
|
|
|
|
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.involved_persons'),
|
|
|
|
personnes_impliquees_instructeur_dossier_path(dossier.procedure, dossier))
|
2023-06-14 12:30:02 +02:00
|
|
|
|
2023-11-14 17:04:35 +01:00
|
|
|
- if dossier.procedure.routing_enabled?
|
2023-06-14 12:35:43 +02:00
|
|
|
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.reaffectation'),
|
|
|
|
reaffectation_instructeur_dossier_path(dossier.procedure, dossier))
|