redesigned view of splashpage

This commit is contained in:
Shriyansh 2016-04-21 20:21:23 +05:30
parent 0ca19ea67a
commit f6b5cb03e8

View file

@ -6,11 +6,7 @@
-else -else
.container .container
.row .row
- if @conference.venue.commercial.nil? - if @conference.venue.commercial.present? and @conference.venue.commercial.persisted?
.col-md-6
%img{ "data-src" => "holder.js/500x300?text=No Commercial Set", class: 'img-responsive img-rounded' }
-else @conference.venue.commercial.persisted?
.col-md-5 .col-md-5
.thumbnail .thumbnail
.flexvideo{ id: "resource-content-#{@conference.venue.commercial.id}"} .flexvideo{ id: "resource-content-#{@conference.venue.commercial.id}"}