26 lines
1.4 KiB
Text
26 lines
1.4 KiB
Text
.sub-header
|
||
.container
|
||
.flex.justify-between
|
||
%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
|
||
#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')
|
||
|
||
.header-actions
|
||
.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
|
||
|
||
%nav.tabs
|
||
%ul
|
||
= dynamic_tab_item('Demande', expert_avis_path(avis.procedure, avis))
|
||
= 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))
|