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:
commit
0e16b5d0ae
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@
|
||||||
.col-md-8
|
.col-md-8
|
||||||
%h4
|
%h4
|
||||||
= link_to speaker.name, user_path(speaker.id)
|
= link_to speaker.name, user_path(speaker.id)
|
||||||
= "(#{speaker.email})"
|
- if speaker.email_public?
|
||||||
|
= "(#{speaker.email})"
|
||||||
- if speaker.affiliation?
|
- if speaker.affiliation?
|
||||||
.text-muted
|
.text-muted
|
||||||
from
|
from
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue