effective_events 2.28.1 → 2.28.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65a88e5d6206066769f73981314e721330bf383d56aa44eb47cb0efeb4e4b3c3
4
- data.tar.gz: e2b2e3a956bf3eaaaa1feaa2fdacc1e62ba0e273a2cc2361e11952b0259926c3
3
+ metadata.gz: 6130c240c651d39a73336de7887344539eb6bc88dc7aa6a7f7cd513ce4f64ee5
4
+ data.tar.gz: 62cf88742008ab057676b15ca4b375f90c3be9440533371e0fe7f10bac3a1034
5
5
  SHA512:
6
- metadata.gz: 69dc5d4580c987c69198815e019180baedcec93657462f989574d9b9461bb8b08954e78e5936c65ed77e24be770c6575d2039ab54f78d5f6d5bdc583012dace5
7
- data.tar.gz: 658199605d4c9926620ab684556f073ae6730fe25a582bfdcf2cb66efd6856718ded8940028602245be1c306fc688f02567b97b68db29aa42ee3d0b85a7aff92
6
+ metadata.gz: c286740eef5dab3c8f33fe5ce4c67e485036db315aca7a90a55b1d22ad04ed0007ea07b6db7e35d09f2726b743c893554a0a62000c1329b1021a4c92705cdb3e
7
+ data.tar.gz: d30685a52414d140bc3b15cd42e83d1abf9590b491130c255f9cd72da1f250a299fb36a4b2f1ec0a9648336cd3eca585033c5c64c0fae2f34539856b45db8754
@@ -0,0 +1,2 @@
1
+ - if resource.submitted? && resource.event&.delayed_payment_date_upcoming?
2
+ .alert.alert-warning.mb-4 Please note: you must submit each step and checkout for your ticket changes to be saved. You will receive a new confirmation email.
@@ -1,4 +1,6 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
3
+
2
4
  .card.mb-4
3
5
  .card-body
4
6
  %p
@@ -1,5 +1,6 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/changing', resource: resource)
3
+ = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  - raise('expected owner to respond to billing_address') unless resource.owner.respond_to?(:billing_address)
5
6
 
@@ -1,9 +1,9 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/changing', resource: resource)
3
+ = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  - if resource.submit_order.deferred?
5
- = card do
6
- = render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:complete), deferred_url: wizard_path(:submitted), declined_url: wizard_path(:checkout))
6
+ = render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:complete), deferred_url: wizard_path(:submitted), declined_url: wizard_path(:checkout))
7
7
  - elsif resource.event.registerable? == false
8
8
  .alert.alert-danger Your selected event is no longer available for registration.
9
9
  - elsif resource.unavailable_event_tickets.present?
@@ -1,5 +1,5 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/content', resource: resource)
3
3
 
4
4
  - raise('expected a completed event_registration') unless resource.completed?
5
5
  - raise('expected a purchased event_registration submit_order') unless resource.submit_order&.purchased?
@@ -1,4 +1,5 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
2
3
  = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
@@ -1,5 +1,5 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/content', resource: resource)
3
3
 
4
4
  - # Signed out
5
5
  - if resource.owner.blank?
@@ -1,4 +1,5 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
2
3
  = render('effective/event_registrations/content', resource: resource)
3
4
  = render('effective/event_registrations/event_registration', event_registration: resource)
4
5
 
@@ -1,4 +1,5 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
2
3
  = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '2.28.1'.freeze
2
+ VERSION = '2.28.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.28.1
4
+ version: 2.28.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-19 00:00:00.000000000 Z
11
+ date: 2024-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -269,6 +269,7 @@ files:
269
269
  - app/views/effective/event_addons/_fields.html.haml
270
270
  - app/views/effective/event_registrants/_fields.html.haml
271
271
  - app/views/effective/event_registrations/_addons.html.haml
272
+ - app/views/effective/event_registrations/_changing.html.haml
272
273
  - app/views/effective/event_registrations/_content.html.haml
273
274
  - app/views/effective/event_registrations/_dashboard.html.haml
274
275
  - app/views/effective/event_registrations/_details.html.haml