changes to the feature
This commit is contained in:
parent
e2245001d4
commit
87901960ca
1 changed files with 5 additions and 4 deletions
|
|
@ -1,10 +1,11 @@
|
|||
- cache [conference, venue, '#splash#header'] do
|
||||
#banner{ style: ("background-image: url(#{conference.picture_url})" if conference.picture_url) }
|
||||
.container
|
||||
- if current_user.ticket_purchases.by_conference(@conference).empty?
|
||||
.alert.bg-info{:role => "alert", :style => "margin-bottom: 100px"}
|
||||
You have not registered for any event yet.
|
||||
= link_to "Register now!", "#tickets"
|
||||
- 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.
|
||||
= link_to "Book you tickets now!", "#tickets"
|
||||
.row
|
||||
.col-md-6.col-md-offset-3{ id: (conference.picture? ? "header-image" : "header-no-image") }
|
||||
.row
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue