demarches-normaliennes/app/views/shared/dossiers/messages/_message_icon.html.haml

8 lines
265 B
Text
Raw Normal View History

- if commentaire.sent_by_system?
2017-07-20 14:23:16 +02:00
= image_tag('icons/mail.svg', class: 'person-icon')
- 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')