mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 05:04:03 +00:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
= content_for :splash_nav do
|
|
%li
|
|
%a{ href: '#location' } Location
|
|
|
|
|
|
%div.container.text-center
|
|
.div.row.col-md-12
|
|
- unless @conference.venue.name.blank?
|
|
%h1
|
|
%strong #{ @conference.venue.name }
|
|
- unless @conference.venue.address.blank?
|
|
%h2
|
|
%strong #{ @conference.venue.address }
|
|
- unless @conference.venue.description.blank?
|
|
%p
|
|
%strong #{ @conference.venue.description }
|
|
%ul
|
|
- unless @conference.venue.address.blank?
|
|
%li
|
|
%b
|
|
= link_to 'View in Google Maps', "http://maps.google.com/maps?q=#{@conference.venue.address}", target: '_blank'
|
|
- unless @conference.venue.website.blank?
|
|
%li
|
|
%b
|
|
= link_to 'Visit Venue Website', @conference.venue.website, target: '_blank'
|
|
|
|
|
|
- unless @conference.venue.photo.blank?
|
|
:javascript
|
|
$(document).ready(function(){
|
|
var photo = "#{@conference.venue.photo}";
|
|
if(photo)
|
|
{
|
|
$('#location').css('background-image', 'url('+photo+')');
|
|
}
|
|
});
|