2017-12-21 19:06:36 -08:00
|
|
|
- cache [conference, venue, '#splash#header'] do
|
2019-12-17 02:18:44 -08:00
|
|
|
#banner{ style: ("background-image: url(#{conference.picture_url})" if conference.picture_url) }
|
2017-11-21 10:06:58 -08:00
|
|
|
.container
|
|
|
|
|
.row
|
2020-01-08 01:47:27 -08:00
|
|
|
.col-md-6.col-md-offset-3{id: (conference.picture? ? "header-image" : "header-no-image")}
|
2017-11-21 10:06:58 -08:00
|
|
|
.row
|
2019-12-17 03:15:05 -08:00
|
|
|
-# - if conference.picture?
|
|
|
|
|
-# .col-md-4
|
|
|
|
|
-# = image_tag(conference.picture_url,
|
|
|
|
|
-# class: 'img-responsive img-center',
|
|
|
|
|
-# id: 'splash-logo')
|
2020-01-07 16:06:51 -08:00
|
|
|
.col-md-8
|
2017-11-21 10:06:58 -08:00
|
|
|
%h1
|
2019-12-19 02:00:32 -08:00
|
|
|
= conference.title.html_safe
|
2017-11-21 10:06:58 -08:00
|
|
|
%h3
|
2017-11-27 20:04:54 -08:00
|
|
|
- if conference.start_date && conference.end_date
|
2017-11-21 10:06:58 -08:00
|
|
|
%span.date.text-nowrap
|
2017-11-27 20:04:54 -08:00
|
|
|
= date_string(conference.start_date, conference.end_date)
|
|
|
|
|
- if conference.venue
|
2017-11-21 10:06:58 -08:00
|
|
|
%span.venue.text-nowrap
|
2017-12-21 19:06:36 -08:00
|
|
|
- if venue.website
|
|
|
|
|
= sanitize link_to(venue.name, venue.website)
|
2017-11-21 10:06:58 -08:00
|
|
|
- else
|
2017-12-21 19:06:36 -08:00
|
|
|
= venue.city
|
|
|
|
|
- if venue.country_name != 'US'
|
2017-11-21 10:06:58 -08:00
|
|
|
•
|
2017-12-21 19:06:36 -08:00
|
|
|
= venue.country_name
|
2017-11-21 10:06:58 -08:00
|
|
|
|
2017-11-27 20:04:54 -08:00
|
|
|
- unless conference.description.blank?
|
2017-11-21 10:06:58 -08:00
|
|
|
%section#about
|
|
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-8.col-md-offset-2
|
2017-11-29 17:08:15 -08:00
|
|
|
= markdown(conference.description)
|