2018-08-08 17:09:02 +02:00
|
|
|
|
.sub-header
|
|
|
|
|
.container
|
2018-09-05 11:58:34 +02:00
|
|
|
|
= render partial: 'shared/dossiers/status_badge', locals: { dossier: dossier }
|
2018-08-08 17:09:02 +02:00
|
|
|
|
|
2018-08-10 15:32:39 +02:00
|
|
|
|
.title-container
|
|
|
|
|
%span.icon.folder
|
|
|
|
|
%h1= dossier.procedure.libelle
|
|
|
|
|
%h2 Dossier nº #{dossier.id}
|
2018-08-08 17:09:02 +02:00
|
|
|
|
|
2018-09-20 14:05:18 +02:00
|
|
|
|
- if current_user.owns?(dossier)
|
|
|
|
|
.header-actions
|
|
|
|
|
= render partial: 'invites/dropdown', locals: { dossier: dossier }
|
|
|
|
|
|
2018-08-08 17:09:02 +02:00
|
|
|
|
%ul.tabs
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Résumé', dossier_path(dossier))
|
2018-09-06 15:26:14 +02:00
|
|
|
|
= dynamic_tab_item('Demande', [demande_dossier_path(dossier), modifier_dossier_path(dossier)])
|
2018-09-06 14:02:02 +02:00
|
|
|
|
= dynamic_tab_item('Messagerie', messagerie_dossier_path(dossier))
|