effective_events 2.28.1 → 2.28.3

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: 49c704a7c670fde5b6cf18f335c419c306601caf0dfc8c69febaa44ad650c4df
4
+ data.tar.gz: 69824c9e0cb8b1715f89477e61a281f497d1f43276a8e29d423000d9fe43654b
5
5
  SHA512:
6
- metadata.gz: 69dc5d4580c987c69198815e019180baedcec93657462f989574d9b9461bb8b08954e78e5936c65ed77e24be770c6575d2039ab54f78d5f6d5bdc583012dace5
7
- data.tar.gz: 658199605d4c9926620ab684556f073ae6730fe25a582bfdcf2cb66efd6856718ded8940028602245be1c306fc688f02567b97b68db29aa42ee3d0b85a7aff92
6
+ metadata.gz: a0139e96ea89846365f8bc3c31efd12eec1c15d8510e4f320fcb32227003ac10a4c2b359b9702783d2d26da3da2730c4ba265d72a59aefe5715078a6e29f3eef
7
+ data.tar.gz: e0f3120777ef52c0cc5943a1a363998f794cc7df9e39a04f2189d8bd2b7fe342f69e7dcd3eab96aa4d3863e9bee2c794811345cc581d903d7b2bd1718c7ffc68
@@ -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|
@@ -6,7 +6,8 @@ en:
6
6
  activerecord:
7
7
  models:
8
8
  effective/event: 'Event'
9
- effective/event_registrant: 'Event registrant'
9
+ effective/event_registrant: 'Event Registrant'
10
+ effective/event_addon: 'Event Addon'
10
11
 
11
12
  attributes:
12
13
  effective/event_registrant:
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '2.28.1'.freeze
2
+ VERSION = '2.28.3'.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.3
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: 2025-01-13 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