2023-06-29 15:03:22 +02:00
|
|
|
|
#header-top.fr-container
|
2023-02-27 16:06:11 +01:00
|
|
|
|
.flex.fr-mb-3w
|
|
|
|
|
%div
|
2023-06-29 15:03:22 +02:00
|
|
|
|
%h1.fr-h3.fr-mb-1w
|
2023-02-27 16:06:11 +01:00
|
|
|
|
= "Dossier nº #{dossier.id}"
|
|
|
|
|
|
2023-06-08 15:07:43 +02:00
|
|
|
|
= link_to dossier.procedure.libelle.truncate_words(10), instructeur_procedure_path(dossier.procedure), title: dossier.procedure.libelle, class: "fr-link"
|
|
|
|
|
.fr-mt-2w.badge-group
|
|
|
|
|
= procedure_badge(dossier.procedure)
|
|
|
|
|
|
|
|
|
|
= status_badge(dossier.state)
|
2023-04-03 17:05:54 +02:00
|
|
|
|
= pending_correction_badge(:for_instructeur) if dossier.pending_correction?
|
2023-06-08 15:26:51 +02:00
|
|
|
|
= render Instructeurs::SVASVRDecisionBadgeComponent.new(projection_or_dossier: dossier, procedure: dossier.procedure, with_label: true)
|
2023-06-08 15:07:43 +02:00
|
|
|
|
|
2023-03-23 12:47:45 +01:00
|
|
|
|
|
2023-02-27 16:06:11 +01:00
|
|
|
|
|
|
|
|
|
.header-actions.fr-ml-auto
|
|
|
|
|
= render partial: 'instructeurs/dossiers/header_actions', locals: { dossier: }
|
|
|
|
|
= render partial: 'instructeurs/dossiers/print_and_export_actions', locals: { dossier: }
|
|
|
|
|
|
|
|
|
|
= render partial: 'instructeurs/dossiers/expiration_banner', locals: { dossier: }
|
|
|
|
|
|
|
|
|
|
- if dossier.user_deleted?
|
|
|
|
|
%p.fr-mb-1w
|
|
|
|
|
%small L’usager a supprimé son compte. Vous pouvez archiver puis supprimer le dossier.
|