Fix banner view
This commit is contained in:
parent
ee4208fa1e
commit
1e9b416e2b
1 changed files with 7 additions and 5 deletions
|
|
@ -5,16 +5,18 @@
|
||||||
%section{ id: 'splash-banner' }
|
%section{ id: 'splash-banner' }
|
||||||
%div.banner-disp{ style: ("background-image: url(#{@conference.banner_photo})" unless @conference.banner_photo.blank?), class:('with-background' unless @conference.banner_photo.blank?) }
|
%div.banner-disp{ style: ("background-image: url(#{@conference.banner_photo})" unless @conference.banner_photo.blank?), class:('with-background' unless @conference.banner_photo.blank?) }
|
||||||
%div.container.text-center.banner-text
|
%div.container.text-center.banner-text
|
||||||
.row.col-md-12
|
.row
|
||||||
%h1
|
%h1
|
||||||
= @conference.title
|
= @conference.title
|
||||||
- if @conference.start_date && @conference.end_date
|
- if @conference.start_date && @conference.end_date
|
||||||
%h3
|
.row
|
||||||
= conference_date_string(@conference)
|
%h3
|
||||||
|
= conference_date_string(@conference)
|
||||||
|
|
||||||
- unless @conference.description.blank?
|
- unless @conference.description.blank?
|
||||||
.row-fluid.col-md-12.lead
|
.row-fluid
|
||||||
%p= @conference.description
|
.col-md-12.lead
|
||||||
|
%p= @conference.description
|
||||||
|
|
||||||
- if @conference.include_program_in_splash?
|
- if @conference.include_program_in_splash?
|
||||||
%section{ id: 'program' }
|
%section{ id: 'program' }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue