2021-02-09 10:24:13 +01:00
|
|
|
|
.sub-header
|
|
|
|
|
.container
|
2022-05-10 12:54:02 +02:00
|
|
|
|
.flex.justify-between
|
2023-03-30 17:41:21 +02:00
|
|
|
|
%nav.fr-breadcrumb{ "aria-label" => "vous êtes ici :", role: "navigation" }
|
|
|
|
|
%button.fr-breadcrumb__button{ "aria-controls" => "breadcrumb-1", "aria-expanded" => "false" } Voir le fil d’Ariane
|
2023-03-30 17:23:42 +02:00
|
|
|
|
#breadcrumb-1.fr-collapse
|
|
|
|
|
%ol.fr-breadcrumb__list
|
|
|
|
|
%li= link_to('Avis', expert_all_avis_path, class: 'fr-breadcrumb__link')
|
|
|
|
|
%li
|
|
|
|
|
= link_to(dossier.procedure.libelle.truncate_words(10), procedure_expert_avis_index_path(avis.procedure), class: "fr-breadcrumb__link")
|
|
|
|
|
= procedure_badge(dossier.procedure)
|
|
|
|
|
%li= content_tag("a","Dossier nº #{dossier.id}", class: 'fr-breadcrumb__link', 'aria-current': 'page')
|
2021-02-09 10:24:13 +01:00
|
|
|
|
|
2022-05-10 12:54:02 +02:00
|
|
|
|
.header-actions
|
2023-01-05 10:52:46 +01:00
|
|
|
|
.fr-download
|
|
|
|
|
= link_to telecharger_pjs_expert_avis_path(avis.procedure, avis), download: :download, class: "menu-item menu-link fr-download__link" do
|
|
|
|
|
Télécharger le dossier et toutes ses pièces jointes
|
|
|
|
|
%span.fr-download__detail
|
|
|
|
|
ZIP
|
2021-09-27 15:07:42 +02:00
|
|
|
|
|
2021-12-24 18:10:50 +01:00
|
|
|
|
%nav.tabs
|
|
|
|
|
%ul
|
|
|
|
|
= dynamic_tab_item('Demande', expert_avis_path(avis.procedure, avis))
|
2023-03-23 17:14:25 +01:00
|
|
|
|
= dynamic_tab_item('Avis', instruction_expert_avis_path(avis.procedure, avis), notification: avis.answer.blank?)
|
|
|
|
|
- if avis.procedure.allow_expert_messaging
|
|
|
|
|
= dynamic_tab_item('Messagerie', messagerie_expert_avis_path(avis.procedure, avis))
|