changes to the feature
This commit is contained in:
parent
981c798e60
commit
c9721aa4f9
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue