Add a blank state message in the avis tab
This commit is contained in:
parent
25cbd5e7af
commit
b853402ef9
1 changed files with 5 additions and 0 deletions
|
@ -8,3 +8,8 @@
|
|||
|
||||
- if @dossier.avis.present?
|
||||
= render partial: 'new_gestionnaire/shared/avis/list', locals: { avis: @dossier.avis, avis_seen_at: @avis_seen_at }
|
||||
|
||||
- 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.
|
||||
|
|
Loading…
Reference in a new issue