feat(message): replace message partial with MessageComponent
This commit is contained in:
parent
91879b89ce
commit
d2ab8b5593
22 changed files with 182 additions and 131 deletions
|
@ -49,7 +49,7 @@
|
|||
%ul.messages-list
|
||||
- @dossier.commentaires.with_attached_piece_jointe.each do |commentaire|
|
||||
%li
|
||||
= render partial: "shared/dossiers/messages/message", locals: { commentaire: commentaire, connected_user: current_instructeur, messagerie_seen_at: nil, show_reply_button: false }
|
||||
= render Dossiers::MessageComponent.new(commentaire: commentaire, connected_user: current_instructeur)
|
||||
|
||||
%script{ type: "text/javascript" }
|
||||
window.print();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue