2023-03-16 10:46:10 +01:00
|
|
|
|
- content_for(:title, "Avis · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
|
|
|
|
|
|
|
|
|
|
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
|
|
|
|
|
|
|
|
|
|
.container
|
|
|
|
|
.fr-grid-row
|
|
|
|
|
.fr-col.fr-col-12.fr-col-md-3
|
|
|
|
|
= render partial: 'sidemenu'
|
|
|
|
|
.fr-col
|
|
|
|
|
- if !@dossier.termine?
|
2023-03-24 16:14:00 +01:00
|
|
|
|
- if @dossier.procedure.allow_expert_review
|
|
|
|
|
= render partial: "shared/avis/form", locals: { url: avis_expert_avis_path(@avis.procedure, @avis), linked_dossiers: @dossier.linked_dossiers_for(current_expert), must_be_confidentiel: @avis.confidentiel?, avis: @new_avis }
|
|
|
|
|
- else
|
|
|
|
|
%h2.empty-text
|
|
|
|
|
= t('helpers.information_text.unauthorized_avis_text')
|
|
|
|
|
%p.empty-text-details
|
|
|
|
|
= t('helpers.information_text.unauthorized_avis_text_detail')
|
2023-03-20 17:50:05 +01:00
|
|
|
|
- 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')
|