mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Removed the extra condition for displaying the first speaker image
Removed the if statement in schedule_item.html.haml file which was generating an extra img_tag for the first speaker Fixes #1454
This commit is contained in:
parent
c97a774579
commit
3ead7ef586
1 changed files with 0 additions and 5 deletions
|
|
@ -9,11 +9,6 @@
|
||||||
|
|
||||||
= event.title
|
= 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|
|
- event.speakers_ordered.each do |speaker|
|
||||||
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
|
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
|
||||||
:alt => speaker.name, |
|
:alt => speaker.name, |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue