messagerie: generalize the current user email

This commit is contained in:
Pierre de La Morinerie 2018-08-16 17:22:08 +02:00
parent 4e2a5f0b9b
commit 63472f00e6
8 changed files with 11 additions and 12 deletions

View file

@ -1,5 +1,5 @@
- case commentaire.email
- when current_gestionnaire.email
- when user_email
= image_tag('icons/account-circle.svg', class: 'person-icon')
- when OLD_CONTACT_EMAIL
- when CONTACT_EMAIL