added views for public view on splashpage,venue_edit,venue
This commit is contained in:
parent
3bcdbe7469
commit
0ca19ea67a
3 changed files with 26 additions and 11 deletions
|
|
@ -9,10 +9,16 @@
|
|||
.col-md-6
|
||||
- if @conference.venue.location?
|
||||
= render 'conference/venue_map'
|
||||
- elsif @conference.venue.photo.blank?
|
||||
%img{ "data-src" => "holder.js/300x200?text=No Image Set", class: 'img-responsive img-rounded' }
|
||||
- elsif !@conference.venue.photo.blank?
|
||||
=image_tag(@conference.venue.photo, class: 'img-responsive img-rounded')
|
||||
-else
|
||||
- if @venue.commercial.nil?
|
||||
.row
|
||||
%img{ "data-src" => "holder.js/500x300?text=No Commercial Set", class: 'img-responsive img-rounded' }
|
||||
- else
|
||||
- if @venue.commercial.persisted?
|
||||
.thumbnail
|
||||
.flexvideo{ id: "resource-content-#{@venue.commercial.id}"}
|
||||
= render partial: 'shared/media_item', locals: { commercial: @venue.commercial }
|
||||
|
||||
.col-md-6
|
||||
%address
|
||||
%strong
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue