changes to the feature

This commit is contained in:
rajavi-mishra 2021-04-30 01:04:05 -07:00 committed by CactusPuppy
parent e2245001d4
commit 87901960ca
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -1,10 +1,11 @@
- cache [conference, venue, '#splash#header'] do - cache [conference, venue, '#splash#header'] do
#banner{ style: ("background-image: url(#{conference.picture_url})" if conference.picture_url) } #banner{ style: ("background-image: url(#{conference.picture_url})" if conference.picture_url) }
.container .container
- if current_user.ticket_purchases.by_conference(@conference).empty? - if user_signed_in?
.alert.bg-info{:role => "alert", :style => "margin-bottom: 100px"} - if current_user.ticket_purchases.by_conference(@conference).empty?
You have not registered for any event yet. .alert.bg-info{:role => "alert", :style => "margin-bottom: 100px"}
= link_to "Register now!", "#tickets" You have not purchased any tickets for this conference yet.
= link_to "Book you tickets now!", "#tickets"
.row .row
.col-md-6.col-md-offset-3{ id: (conference.picture? ? "header-image" : "header-no-image") } .col-md-6.col-md-offset-3{ id: (conference.picture? ? "header-image" : "header-no-image") }
.row .row