effective_events 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/helpers/effective_events_helper.rb +0 -4
- data/app/models/concerns/effective_events_event_registration.rb +0 -8
- data/app/views/effective/event_registrations/_addons.html.haml +1 -1
- data/app/views/effective/event_registrations/_event_registration.html.haml +1 -6
- data/app/views/effective/event_registrations/{_tickets.haml → _tickets.html.haml} +1 -1
- data/app/views/effective/event_registrations/submitted.html.haml +1 -0
- data/app/views/effective/event_registrations/{tickets.haml → tickets.html.haml} +0 -0
- data/app/views/effective/events/index.html.haml +1 -1
- data/lib/effective_events/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ea64c06c41ade5e1e33fbf376c292bc873a9e14960637b916694145edc1f93b
|
|
4
|
+
data.tar.gz: 3e8b73e38f316bc14c34552900cf9b61edb44740858c5128c37dd1a17120f95e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9193fcdadc110aaf86ef94d5286e93fca1f3390b8920756a0c07ed303d462c0a2f763a91455b8a116744c164cae294b18e9b493b53ca486b2aef7c9121ac1b0c
|
|
7
|
+
data.tar.gz: a491da471bac6ecf669b05c024baa2036c351bb3277adb38f6b05c88cd2200b1bc9ff745be575e0caad67615e88fd6f060f628056a94a05327ef8dbd88385336
|
|
@@ -15,14 +15,6 @@ module EffectiveEventsEventRegistration
|
|
|
15
15
|
|
|
16
16
|
module ClassMethods
|
|
17
17
|
def effective_events_event_registration?; true; end
|
|
18
|
-
|
|
19
|
-
def all_wizard_steps
|
|
20
|
-
const_get(:WIZARD_STEPS).keys
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def required_wizard_steps
|
|
24
|
-
[:start, :summary, :billing, :checkout, :submitted]
|
|
25
|
-
end
|
|
26
18
|
end
|
|
27
19
|
|
|
28
20
|
included do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.col-sm
|
|
4
4
|
%h5.card-title= event_registration.wizard_step_title(:addons)
|
|
5
5
|
.col-sm-auto.text-right
|
|
6
|
-
= link_to('Edit', wizard_path(:addons)) if
|
|
6
|
+
= link_to('Edit', wizard_path(:addons)) if edit_effective_wizard?
|
|
7
7
|
|
|
8
8
|
- datatable = EffectiveEventAddonsDatatable.new(event_registration: event_registration)
|
|
9
9
|
.mb-4= render_simple_datatable(datatable)
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
.effective-event-registration
|
|
2
|
-
-
|
|
3
|
-
- steps = event_registration.required_steps - blacklist
|
|
4
|
-
|
|
5
|
-
= render "effective/event_registrations/summary", event_registration: event_registration
|
|
6
|
-
|
|
7
|
-
- steps.select { |step| event_registration.has_completed_step?(step) }.each do |partial|
|
|
2
|
+
- event_registration.render_steps.each do |partial|
|
|
8
3
|
= render "effective/event_registrations/#{partial}", event_registration: event_registration, step: partial
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.col-sm
|
|
4
4
|
%h5.card-title= event_registration.wizard_step_title(:tickets)
|
|
5
5
|
.col-sm-auto.text-right
|
|
6
|
-
= link_to('Edit', wizard_path(:tickets)) if
|
|
6
|
+
= link_to('Edit', wizard_path(:tickets)) if edit_effective_wizard?
|
|
7
7
|
|
|
8
8
|
- datatable = EffectiveEventRegistrantsDatatable.new(event_registration: event_registration)
|
|
9
9
|
.mb-4= render_simple_datatable(datatable)
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
= link_to "Return to Dashboard", root_path, class: 'btn btn-lg btn-primary mb-4'
|
|
11
11
|
|
|
12
|
+
= render 'effective/event_registrations/summary', event_registration: resource
|
|
12
13
|
= render 'effective/event_registrations/event_registration', event_registration: resource
|
|
13
14
|
= render 'effective/event_registrations/orders', event_registration: resource
|
|
14
15
|
|
|
File without changes
|
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: 0.2.
|
|
4
|
+
version: 0.2.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: 2022-01-
|
|
11
|
+
date: 2022-01-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -243,14 +243,14 @@ files:
|
|
|
243
243
|
- app/views/effective/event_registrations/_layout.html.haml
|
|
244
244
|
- app/views/effective/event_registrations/_orders.html.haml
|
|
245
245
|
- app/views/effective/event_registrations/_summary.html.haml
|
|
246
|
-
- app/views/effective/event_registrations/_tickets.haml
|
|
246
|
+
- app/views/effective/event_registrations/_tickets.html.haml
|
|
247
247
|
- app/views/effective/event_registrations/addons.html.haml
|
|
248
248
|
- app/views/effective/event_registrations/billing.html.haml
|
|
249
249
|
- app/views/effective/event_registrations/checkout.html.haml
|
|
250
250
|
- app/views/effective/event_registrations/start.html.haml
|
|
251
251
|
- app/views/effective/event_registrations/submitted.html.haml
|
|
252
252
|
- app/views/effective/event_registrations/summary.html.haml
|
|
253
|
-
- app/views/effective/event_registrations/tickets.haml
|
|
253
|
+
- app/views/effective/event_registrations/tickets.html.haml
|
|
254
254
|
- app/views/effective/events/_dashboard.html.haml
|
|
255
255
|
- app/views/effective/events/_event.html.haml
|
|
256
256
|
- app/views/effective/events/index.html.haml
|