effective_learndash 0.8.0 → 0.10.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8dd784e14539138729befad06cb0513d0df1254ae841bbc15c83a5403c1f0efe
|
|
4
|
+
data.tar.gz: e60d466a5fe7709b223543a568d3a477df18740b663f25e6a62ad909053f12ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73b8fc378de012704b6108794769de7e08932319558cc69d8547da525825fb1c49a8712f4775a3d41f507883407d43071ee31f39dbe87c157598c1424c376431
|
|
7
|
+
data.tar.gz: 7ca511230d7e42d534c08a408a280bf2c474e0e2e80a27665580eaa8e0e6707dda93e93cffca6c420342c7925c3dc6e1a6f0d8a9713fe347bcbc208064331aa4
|
|
@@ -20,7 +20,7 @@ class EffectiveCourseRegistrationsDatatable < Effective::Datatable
|
|
|
20
20
|
|
|
21
21
|
actions_col(actions: []) do |registration|
|
|
22
22
|
if registration.draft?
|
|
23
|
-
dropdown_link_to('Continue', effective_learndash.learndash_course_course_registration_build_path(registration.learndash_course, registration, registration.next_step), 'data-turbolinks' => false)
|
|
23
|
+
dropdown_link_to('Continue', effective_learndash.learndash_course_course_registration_build_path(registration.learndash_course, registration, registration.next_step), 'data-turbolinks' => false, 'data-turbo' => false)
|
|
24
24
|
dropdown_link_to('Delete', effective_learndash.learndash_course_course_registration_path(registration.learndash_course, registration), 'data-confirm': "Really delete #{registration}?", 'data-method': :delete)
|
|
25
25
|
else
|
|
26
26
|
dropdown_link_to('Show', effective_learndash.learndash_course_course_registration_path(registration.learndash_course, registration))
|
|
@@ -56,7 +56,7 @@ module Effective
|
|
|
56
56
|
scope :published, -> { all }
|
|
57
57
|
|
|
58
58
|
scope :paginate, -> (page: nil, per_page: nil) {
|
|
59
|
-
page = (page || 1
|
|
59
|
+
page = EffectiveResources.normalize_page(page) || 1
|
|
60
60
|
offset = [(page - 1), 0].max * (per_page || EffectiveLearndash.per_page)
|
|
61
61
|
|
|
62
62
|
limit(per_page).offset(offset)
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
%p
|
|
14
14
|
Please
|
|
15
|
-
= link_to("Continue registration for #{wizard.learndash_course}", effective_learndash.learndash_course_course_registration_build_path(wizard.learndash_course, wizard, wizard.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
|
|
15
|
+
= link_to("Continue registration for #{wizard.learndash_course}", effective_learndash.learndash_course_course_registration_build_path(wizard.learndash_course, wizard, wizard.next_step), 'data-turbolinks' => false, 'data-turbo' => false, class: 'btn btn-primary')
|
|
16
16
|
or you can
|
|
17
17
|
= link_to('Abandon course registration', effective_learndash.learndash_course_course_registration_path(wizard.learndash_course, wizard), 'data-confirm': "Really delete #{wizard}?", 'data-method': :delete, class: 'btn btn-danger')
|
|
18
18
|
to register for another course.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_learndash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.0
|
|
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: 2026-08
|
|
11
|
+
date: 2026-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|