[Fix #1016] display notifications for new messages

This commit is contained in:
Mathieu Magnin 2017-12-05 17:20:10 +01:00
parent 5474ff8bb4
commit 8e67e5c057
7 changed files with 79 additions and 7 deletions

View file

@ -6,6 +6,6 @@
%ul.messages-list
- @dossier.commentaires.each do |commentaire|
%li
= render partial: "new_gestionnaire/shared/commentaires/commentaire", locals: { commentaire: commentaire }
= render partial: "new_gestionnaire/shared/commentaires/commentaire", locals: { commentaire: commentaire, messagerie_seen_at: nil }
= render partial: "new_gestionnaire/shared/commentaires/form", locals: { commentaire: @commentaire, form_url: commentaire_avis_path(@avis) }