Merge pull request #1460 from nikhilgupta1211/imageschedule
Removed the extra condition for displaying the first speaker image
This commit is contained in:
commit
dc190b5339
1 changed files with 0 additions and 5 deletions
|
|
@ -9,11 +9,6 @@
|
|||
|
||||
= event.title
|
||||
|
||||
- if speaker = event.speakers.first
|
||||
= image_tag speaker.gravatar_url, class: "img-circle pull-right speaker-pic", |
|
||||
alt: speaker.name, |
|
||||
title: speaker.name, |
|
||||
style: "height: #{ speaker_height(@rooms) }px; width: #{ speaker_width(@rooms) }px;"
|
||||
- event.speakers_ordered.each do |speaker|
|
||||
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
|
||||
:alt => speaker.name, |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue