Merge pull request #2982 from hellcp/patch-1
Don't include speaker information if it's nil
This commit is contained in:
commit
f17fab82d2
1 changed files with 6 additions and 4 deletions
|
|
@ -11,9 +11,11 @@
|
||||||
= link_to(conference_program_proposal_path(conference_id,
|
= link_to(conference_program_proposal_path(conference_id,
|
||||||
event),
|
event),
|
||||||
class: 'thumbnail') do
|
class: 'thumbnail') do
|
||||||
= image_tag speaker.gravatar_url(size: 300),
|
- if speaker
|
||||||
class: ['img-responsive', 'img-circle'],
|
= image_tag speaker.gravatar_url(size: 300),
|
||||||
title: speaker.name
|
class: ['img-responsive', 'img-circle'],
|
||||||
|
title: speaker.name
|
||||||
.caption
|
.caption
|
||||||
%h3.text-center= speaker.name
|
- if speaker
|
||||||
|
%h3.text-center= speaker.name
|
||||||
%h4.text-center= event.title
|
%h4.text-center= event.title
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue