Splash view for banner component

This commit is contained in:
Gopesh Tulsyan 2014-06-20 20:16:22 +05:30
parent 524f22835d
commit cc8299294d
4 changed files with 33 additions and 11 deletions

View file

@ -3,7 +3,7 @@
%a{ href: '#location' } Location
%div#venue-banner-disp{ style: ("background-image: url(#{@conference.venue.photo})" unless @conference.venue.photo.blank?), class:('with-background' unless @conference.venue.photo.blank?) }
%div.banner-disp{ style: ("background-image: url(#{@conference.venue.photo})" unless @conference.venue.photo.blank?), class:('with-location-background' unless @conference.venue.photo.blank?) }
%div.container.text-center
.div.row.col-md-12
- unless @conference.venue.name.blank?
@ -15,7 +15,7 @@
- unless @conference.venue.description.blank?
%p
%strong #{ @conference.venue.description }
%ul
%ul.location-links
- unless @conference.venue.address.blank?
%li
%b