Fix to only show speaker email if it's public

This commit is contained in:
Adriano Vieira 2017-11-12 01:55:03 -02:00
parent 81831d7df9
commit 6fa709a4de

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