redesigned view of splashpage
This commit is contained in:
parent
0ca19ea67a
commit
f6b5cb03e8
1 changed files with 1 additions and 5 deletions
|
|
@ -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}"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue