2019-07-01 18:14:02 +02:00
|
|
|
- if commentaire.sent_by_system?
|
2019-11-19 14:41:41 +01:00
|
|
|
= image_tag('icons/mail.svg', class: 'person-icon', alt: '')
|
2019-07-01 18:14:02 +02:00
|
|
|
- elsif commentaire.sent_by?(connected_user)
|
2019-11-19 14:41:41 +01:00
|
|
|
= image_tag('icons/account-circle.svg', class: 'person-icon', alt: '')
|
2017-07-20 14:23:16 +02:00
|
|
|
- else
|
2019-11-19 14:41:41 +01:00
|
|
|
= image_tag('icons/blue-person.svg', class: 'person-icon', alt: '')
|
2019-07-01 18:14:02 +02:00
|
|
|
|