Merge branch 'venue-splash-page' of https://github.com/arun1595/osem into arun1595-venue-splash-page
This commit is contained in:
commit
5a0328842e
2 changed files with 29 additions and 6 deletions
|
|
@ -171,3 +171,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Venue icon styles */
|
||||
.icon-container {
|
||||
position: relative;
|
||||
height: 60%;
|
||||
.icon-inner {
|
||||
position:absolute;
|
||||
top:50%;
|
||||
left: 50%;
|
||||
transform:translate(-50%,-50%);
|
||||
.fa-university {
|
||||
font-size: 10em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,15 @@
|
|||
.thumbnail
|
||||
.flexvideo{ id: "resource-content-#{@conference.venue.commercial.id}"}
|
||||
= render partial: 'shared/media_item', locals: { commercial: @conference.venue.commercial }
|
||||
|
||||
- elsif @conference.venue.picture.present?
|
||||
.col-md-5
|
||||
.thumbnail
|
||||
= image_tag @conference.venue.picture.url, alt: @conference.venue.name, class:"img-responsive"
|
||||
- else
|
||||
.col-md-5
|
||||
.thumbnail.icon-container
|
||||
.icon-inner
|
||||
= fa_icon "university"
|
||||
.col-md-6
|
||||
%h2.text-center
|
||||
= "#{@conference.venue.city} / #{@conference.venue.country_name}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue