change rails initialisation.
repair abilities. add ticket purchasing check.
This commit is contained in:
parent
72ef33cbe6
commit
a9ab1186f8
9 changed files with 14 additions and 14 deletions
|
|
@ -109,7 +109,7 @@
|
|||
You haven't bought any tickets.
|
||||
= link_to 'Please buy some tickets to support us!', conference_tickets_path(@conference.short_title)
|
||||
%p
|
||||
(Your registration won't be complete without buying a ticket)
|
||||
(Your participation won't be valid without buying a ticket)
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
= humanized_money_with_symbol @total_amount_to_pay
|
||||
%script.stripe-button{ src: "https://checkout.stripe.com/checkout.js",
|
||||
data: { amount: @total_amount_to_pay.cents,
|
||||
email: current_user.email,
|
||||
currency: @total_amount_to_pay.currency,
|
||||
image: image_url('OSEM_ICON.jpg'),
|
||||
name: ENV['OSEM_NAME'] || 'OSEM',
|
||||
description: "book your tickets",
|
||||
key: Rails.application.secrets.stripe_publishable_key,
|
||||
|
|
|
|||
|
|
@ -42,4 +42,4 @@
|
|||
.col-md-13
|
||||
%p.text-muted.text-center
|
||||
%small
|
||||
* Buying a ticket is mandatory. Your registration will not complete until you buy a ticket.
|
||||
* Buying a ticket is mandatory. Your participation will not be valid until you buy a ticket.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue