2017-07-18 15:12:55 +02:00
|
|
|
|
.backoffice-header
|
|
|
|
|
.container
|
2017-07-18 15:38:31 +02:00
|
|
|
|
%ul.breadcrumbs
|
|
|
|
|
%li
|
|
|
|
|
= link_to dossier.procedure.libelle, procedure_path(dossier.procedure)
|
|
|
|
|
%li
|
|
|
|
|
= "Dossier n° #{dossier.id}"
|
2017-07-18 15:12:55 +02:00
|
|
|
|
%ul.tabs
|
2017-08-30 15:31:36 +02:00
|
|
|
|
- notifications_summary = dossier.notifications_summary
|
2017-08-28 10:54:14 +02:00
|
|
|
|
%li{ class: current_page?(dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
|
2017-08-30 15:31:36 +02:00
|
|
|
|
- if notifications_summary[:demande]
|
|
|
|
|
%span.notifications{ 'aria-label': 'notifications' }
|
2017-08-28 10:50:48 +02:00
|
|
|
|
= link_to "Demande", dossier_path(dossier.procedure, dossier)
|
|
|
|
|
%li{ class: current_page?(instruction_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
|
2017-08-30 15:31:36 +02:00
|
|
|
|
- if notifications_summary[:instruction]
|
|
|
|
|
%span.notifications{ 'aria-label': 'notifications' }
|
2017-08-28 10:50:48 +02:00
|
|
|
|
= link_to "Instruction", instruction_dossier_path(dossier.procedure, dossier)
|
|
|
|
|
%li{ class: current_page?(messagerie_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
|
2017-08-30 15:31:36 +02:00
|
|
|
|
- if notifications_summary[:messagerie]
|
|
|
|
|
%span.notifications{ 'aria-label': 'notifications' }
|
2017-08-28 10:50:48 +02:00
|
|
|
|
= link_to "Messagerie", messagerie_dossier_path(dossier.procedure, dossier)
|
2017-07-18 15:12:55 +02:00
|
|
|
|
%li
|
|
|
|
|
= link_to "Historique", "#"
|