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