mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
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
|
||||
%h4
|
||||
= link_to speaker.name, user_path(speaker.id)
|
||||
= "(#{speaker.email})"
|
||||
- if speaker.email_public?
|
||||
= "(#{speaker.email})"
|
||||
- if speaker.affiliation?
|
||||
.text-muted
|
||||
from
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue