2023-03-10 18:39:26 +01:00
|
|
|
|
- content_for(:title, "Avis · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
|
|
|
|
|
|
2024-10-11 11:52:30 +02:00
|
|
|
|
= render partial: "header", locals: { dossier: @dossier, gallery_attachments: @gallery_attachments }
|
2023-03-10 18:39:26 +01:00
|
|
|
|
|
|
|
|
|
.container
|
2023-03-16 15:26:40 +01:00
|
|
|
|
.fr-grid-row
|
|
|
|
|
.fr-col.fr-col-12.fr-col-md-3
|
|
|
|
|
= render partial: 'instructeurs/avis/sidemenu'
|
|
|
|
|
.fr-col
|
|
|
|
|
- if !@dossier.termine?
|
|
|
|
|
- if @dossier.procedure.allow_expert_review
|
2023-03-24 16:14:00 +01:00
|
|
|
|
= render partial: "shared/avis/form", locals: { url: avis_instructeur_dossier_path(@dossier.procedure, @dossier), linked_dossiers: @dossier.linked_dossiers_for(current_instructeur), must_be_confidentiel: false, avis: @avis }
|
2023-03-16 15:26:40 +01:00
|
|
|
|
- else
|
2023-03-20 17:50:05 +01:00
|
|
|
|
%h2.empty-text
|
|
|
|
|
= t('helpers.information_text.unauthorized_avis_text')
|
|
|
|
|
%p.empty-text-details
|
|
|
|
|
= t('helpers.information_text.unauthorized_avis_text_detail')
|
|
|
|
|
- else
|
|
|
|
|
%h2.empty-text
|
|
|
|
|
= t('helpers.information_text.no_new_avis_text')
|
|
|
|
|
%p.empty-text-details
|
|
|
|
|
= t('helpers.information_text.no_new_avis_text_detail')
|