2023-03-14 11:04:19 +01:00
|
|
|
%h1
|
|
|
|
= procedure_libelle(dossier.procedure)
|
2024-03-27 11:44:35 +01:00
|
|
|
= status_badge_user(dossier, 'super')
|
2023-03-14 11:04:19 +01:00
|
|
|
%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-11-22 14:51:52 +01:00
|
|
|
|
2023-03-14 11:04:19 +01:00
|
|
|
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
|
2021-11-22 14:51:52 +01:00
|
|
|
|
2023-03-14 11:04:19 +01:00
|
|
|
- if dossier.show_procedure_state_warning?
|
|
|
|
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })
|
|
|
|
- elsif current_user.owns?(dossier)
|
|
|
|
.header-actions
|
|
|
|
= render partial: 'invites/dropdown', locals: { dossier: dossier, morphing: false }
|
2022-07-13 12:58:42 +02:00
|
|
|
|
2023-03-14 11:04:19 +01:00
|
|
|
- unless dossier.read_only?
|
|
|
|
= render partial: 'users/dossiers/identity_dropdown', locals: { dossier: dossier }
|