Merge pull request #1790 from adrianovieira/fix_speaker.email_public

Fix to only show speaker email if it's public
This commit is contained in:
James Mason 2017-11-12 17:46:39 -08:00 committed by GitHub
commit 0e16b5d0ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,8 @@
.col-md-8
%h4
= link_to speaker.name, user_path(speaker.id)
= "(#{speaker.email})"
- if speaker.email_public?
= "(#{speaker.email})"
- if speaker.affiliation?
.text-muted
from