Merge pull request #1001 from sgmap/fix-print-crasher

Fix print page crasher
This commit is contained in:
gregoirenovel 2017-11-29 11:43:01 +01:00 committed by GitHub
commit a5cf9cd6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@
- @dossier.commentaires.each do |commentaire| - @dossier.commentaires.each do |commentaire|
%tr %tr
%th %th
= render partial: 'commentaire_issuer', locals: { commentaire: commentaire, current_gestionnaire: current_gestionnaire } = render partial: 'new_gestionnaire/shared/commentaires/commentaire_issuer', locals: { commentaire: commentaire, current_gestionnaire: current_gestionnaire }
- if ![current_gestionnaire.email, @dossier.user.email, 'contact@tps.apientreprise.fr'].include?(commentaire.email) - if ![current_gestionnaire.email, @dossier.user.email, 'contact@tps.apientreprise.fr'].include?(commentaire.email)
(invité) (invité)
%br %br