demarches-normaliennes/app/views/experts/avis/_header.html.haml

23 lines
1.1 KiB
Text
Raw Normal View History

2021-02-09 10:24:13 +01:00
.sub-header
.container
.flex.justify-between
%ul.breadcrumbs
%li= link_to('Avis', expert_all_avis_path)
%li
= link_to(dossier.procedure.libelle.truncate_words(10), procedure_expert_avis_index_path(avis.procedure), class: "fr-link")
= procedure_badge(dossier.procedure)
%li= link_to("Dossier nº #{dossier.id}", expert_avis_path(avis.procedure, avis))
2021-02-09 10:24:13 +01:00
.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
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))
= dynamic_tab_item('Avis', [instruction_expert_avis_path(avis.procedure, avis), avis_list_expert_avis_path(avis.procedure, avis), avis_new_expert_avis_path(avis.procedure, avis)], notification: avis.answer.blank?)
2021-12-24 18:10:50 +01:00
= dynamic_tab_item('Messagerie', messagerie_expert_avis_path(avis.procedure, avis))