mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
= content_for :splash_nav do
|
|
%li
|
|
%a.smoothscroll{ href: '#venue' } Venue
|
|
|
|
%section#venue
|
|
- if venue.location?
|
|
= render '/conferences/venue_map', venue: venue
|
|
- else
|
|
- cache [venue, commercial, '#splash#venue'] do
|
|
.container
|
|
.row
|
|
.col-md-6
|
|
.thumbnail#venue-pic
|
|
- if commercial
|
|
.flexvideo{ id: "resource-content-#{commercial.id}" }
|
|
= render 'shared/media_item',
|
|
commercial: commercial
|
|
- elsif venue.picture?
|
|
= image_tag venue.picture.url,
|
|
title: venue.name, class: "img-responsive"
|
|
- else
|
|
%p.text-center
|
|
%span.fa-solid.fa-building-columns.fa-5x
|
|
.caption
|
|
%h3.text-center
|
|
= venue.name
|
|
- unless venue.description.blank?
|
|
= markdown(venue.description)
|
|
.col-md-6
|
|
%h2
|
|
%span>= venue.city
|
|
- if conference.city and conference.country_name
|
|
\/
|
|
%span>= venue.country_name
|
|
%address
|
|
= venue.street
|
|
%br
|
|
= venue.postalcode + ','
|
|
= venue.city
|
|
%br
|
|
= venue.country_name
|
|
- if venue.website
|
|
%br
|
|
= sanitize link_to(h(venue.website), h(venue.website))
|