osem-fcy/app/views/conferences/_highlights.haml
James Mason 988803b601 Shuffle splashpage highlights
(cherry picked from commit 1101c3c9497766a498422ce5c5bfe797a52cf840)
2018-10-11 00:51:46 +02:00

19 lines
636 B
Text

.row
.col-md-12
%h3.text-center
Program Highlights
.row
.col-md-12
.row.row-centered.shuffle-deck
- highlights.each do |event|
- speaker = event.speakers_ordered.first
.col-md-3.col-sm-3.col-centered.col-top.highlights
= link_to(conference_program_proposal_path(conference_id,
event),
class: 'thumbnail') do
= image_tag speaker.gravatar_url(size: 300),
class: ['img-responsive', 'img-circle'],
title: speaker.name
.caption
%h3.text-center= speaker.name
%h4.text-center= event.title