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

9 lines
285 B
Text
Raw Normal View History

2017-07-20 14:23:16 +02:00
- case commentaire.email
- when connected_user.email
2017-07-20 14:23:16 +02:00
= image_tag('icons/account-circle.svg', class: 'person-icon')
2018-05-31 15:43:57 +02:00
- when OLD_CONTACT_EMAIL
- when CONTACT_EMAIL
2017-07-20 14:23:16 +02:00
= image_tag('icons/mail.svg', class: 'person-icon')
- else
= image_tag('icons/blue-person.svg', class: 'person-icon')