From 1e9b416e2b08233ba36693d03f398f81b75b78ba Mon Sep 17 00:00:00 2001 From: Gopesh Tulsyan Date: Wed, 25 Jun 2014 15:37:32 +0530 Subject: [PATCH] Fix banner view --- app/views/conference/show.html.haml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/views/conference/show.html.haml b/app/views/conference/show.html.haml index a3b042ab..277b5218 100644 --- a/app/views/conference/show.html.haml +++ b/app/views/conference/show.html.haml @@ -5,16 +5,18 @@ %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.container.text-center.banner-text - .row.col-md-12 + .row %h1 = @conference.title - if @conference.start_date && @conference.end_date - %h3 - = conference_date_string(@conference) + .row + %h3 + = conference_date_string(@conference) - unless @conference.description.blank? - .row-fluid.col-md-12.lead - %p= @conference.description + .row-fluid + .col-md-12.lead + %p= @conference.description - if @conference.include_program_in_splash? %section{ id: 'program' }