diff --git a/app/views/conferences/_header.haml b/app/views/conferences/_header.haml index 5b051f16..817345d9 100644 --- a/app/views/conferences/_header.haml +++ b/app/views/conferences/_header.haml @@ -1,10 +1,10 @@ - cache [conference, venue, '#splash#header'] do #banner{ style: ("background-image: url(#{conference.picture_url})" if conference.picture_url) } .container - - if user_signed_in? + - if user_signed_in? - if current_user.ticket_purchases.by_conference(@conference).empty? - .alert.bg-info{:role => "alert", :style => "margin-bottom: 100px"} - You have not purchased any tickets for this conference yet. + .alert.bg-info{ :role => "alert", :style => "margin-bottom: 100px" } + You have not purchased any tickets for this conference yet. = link_to "Book you tickets now!", "#tickets" .row .col-md-6.col-md-offset-3{ id: (conference.picture? ? "header-image" : "header-no-image") }