2018-04-23 17:22:20 +02:00
|
|
|
|
.sub-header
|
2017-07-18 15:12:55 +02:00
|
|
|
|
.container
|
2017-08-02 16:20:01 +02:00
|
|
|
|
.flex.justify-between
|
|
|
|
|
%ul.breadcrumbs
|
|
|
|
|
%li
|
2018-02-21 14:50:52 +01:00
|
|
|
|
= link_to dossier.procedure.libelle.truncate_words(10), gestionnaire_procedure_path(dossier.procedure), title: dossier.procedure.libelle
|
2017-08-02 16:20:01 +02:00
|
|
|
|
%li
|
|
|
|
|
= "Dossier nº #{dossier.id}"
|
2017-10-23 15:19:48 +02:00
|
|
|
|
.mixed-buttons-bar
|
2018-02-28 16:07:52 +01:00
|
|
|
|
.button.dropdown.icon-only.print-menu-opener{ onclick: "javascript:DS.togglePrintMenu(event);" }
|
2017-12-12 14:51:44 +01:00
|
|
|
|
%span.icon.printer
|
2017-11-23 18:00:13 +01:00
|
|
|
|
%ul.print-menu
|
|
|
|
|
%li
|
2018-02-21 13:42:12 +01:00
|
|
|
|
= link_to "Tout le dossier", print_gestionnaire_dossier_path(dossier.procedure, dossier), target: "_blank", class: "menu-item menu-link"
|
2017-11-23 18:00:13 +01:00
|
|
|
|
%li
|
2018-02-28 16:07:52 +01:00
|
|
|
|
= link_to "Uniquement cet onglet", "#", onclick: "DS.togglePrintMenu; window.print()", class: "menu-item menu-link"
|
2017-11-23 18:00:13 +01:00
|
|
|
|
|
2017-08-31 14:27:25 +02:00
|
|
|
|
= render partial: "new_gestionnaire/procedures/dossier_actions", locals: { procedure: dossier.procedure, dossier: dossier, dossier_is_followed: current_gestionnaire&.follow?(dossier) }
|
2017-10-05 19:12:12 +02:00
|
|
|
|
= render partial: "state_button", locals: { dossier: dossier }
|
2018-08-16 16:30:55 +02:00
|
|
|
|
|
2017-07-18 15:12:55 +02:00
|
|
|
|
%ul.tabs
|
2017-10-23 10:29:46 +02:00
|
|
|
|
- notifications_summary = current_gestionnaire.notifications_for_dossier(dossier)
|
2018-08-16 16:30:55 +02:00
|
|
|
|
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Demande',
|
2018-08-16 16:30:55 +02:00
|
|
|
|
gestionnaire_dossier_path(dossier.procedure, dossier),
|
|
|
|
|
notification: notifications_summary[:demande])
|
|
|
|
|
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Annotations privées',
|
2018-08-16 16:30:55 +02:00
|
|
|
|
annotations_privees_gestionnaire_dossier_path(dossier.procedure, dossier),
|
|
|
|
|
notification: notifications_summary[:annotations_privees])
|
|
|
|
|
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Avis externes',
|
2018-08-16 16:30:55 +02:00
|
|
|
|
avis_gestionnaire_dossier_path(dossier.procedure, dossier),
|
|
|
|
|
notification: notifications_summary[:avis])
|
|
|
|
|
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Messagerie',
|
2018-08-16 16:30:55 +02:00
|
|
|
|
messagerie_gestionnaire_dossier_path(dossier.procedure, dossier),
|
|
|
|
|
notification: notifications_summary[:messagerie])
|
|
|
|
|
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Personnes impliquées',
|
2018-08-16 16:30:55 +02:00
|
|
|
|
personnes_impliquees_gestionnaire_dossier_path(dossier.procedure, dossier))
|
2017-11-23 18:00:13 +01:00
|
|
|
|
|
|
|
|
|
.container
|
|
|
|
|
.print-header
|
|
|
|
|
= dossier.procedure.libelle.truncate_words(10)
|
|
|
|
|
>
|
|
|
|
|
= "Dossier nº #{dossier.id} (#{dossier.statut})"
|