2021-11-22 14:51:52 +01:00
|
|
|
= status_badge(dossier.state)
|
|
|
|
.title-container
|
|
|
|
%span.icon.folder
|
|
|
|
%h1= procedure_libelle(dossier.procedure)
|
|
|
|
%h2
|
|
|
|
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
|
|
|
|
= t('views.users.dossiers.show.header.created_date', date_du_dossier: I18n.l(dossier.created_at))
|
|
|
|
|
2021-12-02 15:54:18 +01:00
|
|
|
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
|
2021-11-22 14:51:52 +01:00
|
|
|
|
2022-04-14 11:08:17 +02:00
|
|
|
- if dossier.show_procedure_state_warning?
|
|
|
|
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })
|
|
|
|
- elsif current_user.owns?(dossier)
|
2022-03-22 15:00:26 +01:00
|
|
|
.header-actions
|
2021-11-22 14:51:52 +01:00
|
|
|
= render partial: 'invites/dropdown', locals: { dossier: dossier }
|