mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 05:04:03 +00:00
* Cleanup the CSS * Fix more views then you have fingers and toes * Introduce position(weight) for sponsor levels * Fix bootstrap/datatable integration
19 lines
758 B
Text
19 lines
758 B
Text
.container
|
|
.row
|
|
.col-md-12.text-center
|
|
%h2 Accommodation Deals
|
|
%p.lead
|
|
We have prepared affordable accommodation deals for your visit.
|
|
.row
|
|
- @conference.venue.lodgings.each do |r|
|
|
%div{ class: (@conference.venue.lodgings.count.to_i <= 2 ? "col-md-#{12/@conference.venue.lodgings.count.to_i}" : "col-md-4") }
|
|
.div.thumbnail
|
|
-unless r.photo.blank?
|
|
= image_tag r.photo(:large), class: 'img-responsive'
|
|
-unless r.name.blank?
|
|
%h4.text-center #{ r.name }
|
|
-unless r.description.blank?
|
|
.lead.text-left #{ markdown(r.description) }
|
|
- unless r.website_link.blank?
|
|
.text-center
|
|
= link_to 'Go to Website', r.website_link
|