effective_events 0.20.5 → 0.20.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/effective/event_registrations_controller.rb +1 -1
- data/app/helpers/effective_events_helper.rb +1 -1
- data/app/models/effective/event_registrant.rb +1 -1
- data/app/views/effective/event_registrations/_fields_event_ticket_selections.html.haml +1 -1
- data/lib/effective_events/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fac59635c68fc7c14fdf1971a2a7b3cae0d2c5f2469e2c025d827b8d4c03428d
|
4
|
+
data.tar.gz: aa6ef8fa7bca306eedc5b4549c33561f08c384df90f7d57f7570f9d01b9a4919
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3911304d324505f653a369436933f57190427be6555abe84c576dc2ca8adbec7687ae8b923fb68b70b901d147eaa57b40a5265c6d1f52f60331f2e268605d56
|
7
|
+
data.tar.gz: cfddf6a3d9282f1bc8b6380825d00c89c7ee486d24c193b2cefe0891846d3a5f9a821b2a8d11024c42c7a6d9eb94a8492ba8d0e6c694ad8bb31715616ec36dc0
|
@@ -23,7 +23,7 @@ module Effective
|
|
23
23
|
return if resource.event.registerable? && !resource.event.sold_out?(except: resource)
|
24
24
|
|
25
25
|
flash[:danger] = "Your selected event is no longer available for registration. This event registration is no longer available."
|
26
|
-
return redirect_to(
|
26
|
+
return redirect_to(view_context.return_to_dashboard_path)
|
27
27
|
end
|
28
28
|
|
29
29
|
def expire_ticket_selection_window
|
@@ -45,7 +45,7 @@ module EffectiveEventsHelper
|
|
45
45
|
|
46
46
|
# Allow an admin to assign archived tickets
|
47
47
|
authorized = (namespace == :admin)
|
48
|
-
member = current_user.try(:
|
48
|
+
member = current_user.try(:membership_present?)
|
49
49
|
|
50
50
|
tickets = (authorized ? event.event_tickets : event.event_tickets.reject(&:archived?))
|
51
51
|
tickets = tickets.reject { |ticket| ticket.member_only? } unless (authorized || member)
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
- all_member_only_tickets = tickets.all? { |ticket| ticket.member_only? }
|
7
7
|
- any_member_only_tickets = tickets.any? { |ticket| ticket.member_only? }
|
8
|
-
- is_member = current_user.try(:
|
8
|
+
- is_member = current_user.try(:membership_present?)
|
9
9
|
|
10
10
|
- if event.early_bird?
|
11
11
|
.alert.alert-warning.mb-3
|
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.20.
|
4
|
+
version: 0.20.6
|
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-09-
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|