2017-11-17 23:40:51 +01:00
|
|
|
|
- content_for(:title, "Avis · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
|
|
|
|
|
|
2017-09-26 14:38:16 +02:00
|
|
|
|
= render partial: "header", locals: { dossier: @dossier }
|
|
|
|
|
|
|
|
|
|
.container
|
2018-10-04 15:51:27 +02:00
|
|
|
|
- if !@dossier.termine?
|
|
|
|
|
= render partial: "new_gestionnaire/shared/avis/form", locals: { url: avis_gestionnaire_dossier_path(@dossier.procedure, @dossier), must_be_confidentiel: false, avis: @avis }
|
2017-09-26 14:38:16 +02:00
|
|
|
|
|
2018-10-04 15:50:21 +02:00
|
|
|
|
- if @dossier.avis.present?
|
|
|
|
|
= render partial: 'new_gestionnaire/shared/avis/list', locals: { avis: @dossier.avis, avis_seen_at: @avis_seen_at }
|
2018-10-04 15:52:02 +02:00
|
|
|
|
|
|
|
|
|
- if @dossier.termine? && !@dossier.avis.present?
|
|
|
|
|
.blank-tab
|
|
|
|
|
%h2.empty-text Aucun avis.
|
|
|
|
|
%p.empty-text-details Aucun avis n'a été demandé sur ce dossier.
|