Merge pull request #1460 from nikhilgupta1211/imageschedule

Removed the extra condition for displaying the first speaker image
This commit is contained in:
Ana María Martínez Gómez 2017-04-18 15:20:43 +02:00 committed by GitHub
commit dc190b5339

View file

@ -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, |