mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Make use of holder.js in venue#show
This commit is contained in:
parent
3dc7aaf4ea
commit
f83e76102f
2 changed files with 7 additions and 1 deletions
|
|
@ -29,6 +29,7 @@
|
|||
//= require markdown
|
||||
//= require momentjs
|
||||
//= require leaflet
|
||||
//= require holderjs
|
||||
//= require bootstrap-datetimepicker
|
||||
//= require osem-datepickers
|
||||
//= require osem-datatables
|
||||
|
|
|
|||
|
|
@ -7,7 +7,12 @@
|
|||
-if @venue
|
||||
.row
|
||||
.col-md-6
|
||||
=image_tag(@conference.venue.photo, class: 'img-responsive img-rounded') unless @conference.venue.photo.blank?
|
||||
- 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')
|
||||
.col-md-6
|
||||
%address
|
||||
%strong
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue