effective_mentorships 0.3.4 → 0.3.5
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/datatables/admin/effective_mentorship_bulk_group_mentees_datatable.rb +2 -2
- data/app/datatables/admin/effective_mentorship_bulk_group_mentors_datatable.rb +2 -2
- data/app/datatables/admin/effective_mentorship_bulk_groups_datatable.rb +2 -2
- data/app/datatables/admin/effective_mentorship_group_users_datatable.rb +1 -1
- data/app/datatables/admin/effective_mentorship_groups_datatable.rb +1 -1
- data/app/datatables/admin/effective_mentorship_registrations_datatable.rb +2 -2
- data/app/datatables/effective_mentorships_groups_datatable.rb +1 -1
- data/app/models/effective/mentorship_group_user.rb +2 -0
- data/lib/effective_mentorships/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: daf88eccf64adbd6f9aed6c91a541659eb618e31e8ed705ba598d9709423b9cb
|
4
|
+
data.tar.gz: 822762c46281f00aae727442ad8110c5f54e0f626a123d8c571cf0ffca32b57f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31ceaea33ba4c1c0384ced66025089f0575747bab9fb917d0fdd6c9006b1b0182d2253e16a08baf88a6a6e57848ca7b9b0c11f941a0ea227e76aeac38efbd612
|
7
|
+
data.tar.gz: d70dc8510ba436a7a7adc28880817132f9e3474d0a337d48efb444b6c1a9396b32023514f7f2dfabee64f05d0e3b39985ea626a6383b7e397664bc8786192e65
|
@@ -21,7 +21,7 @@ module Admin
|
|
21
21
|
collection.where(user_id: memberships.select('owner_id'))
|
22
22
|
end
|
23
23
|
|
24
|
-
col(:membership_categories, label: 'Member Category', sort: false, visible: false, search:
|
24
|
+
col(:membership_categories, label: 'Member Category', sort: false, visible: false, search: effective_memberships_categories) do |registration|
|
25
25
|
Array(registration.user.try(:membership).try(:membership_categories)).each do |membership_category|
|
26
26
|
content_tag(:div, membership_category, class: 'col-resource')
|
27
27
|
end.join.html_safe
|
@@ -30,7 +30,7 @@ module Admin
|
|
30
30
|
collection.where(user_id: memberships.select('owner_id'))
|
31
31
|
end
|
32
32
|
|
33
|
-
col(:membership_statuses, label: 'Member Status', sort: false, visible: false, search:
|
33
|
+
col(:membership_statuses, label: 'Member Status', sort: false, visible: false, search: effective_memberships_statuses) do |registration|
|
34
34
|
Array(registration.user.try(:membership).try(:statuses)).each do |status|
|
35
35
|
content_tag(:div, status, class: 'col-resource')
|
36
36
|
end.join.html_safe
|
@@ -21,7 +21,7 @@ module Admin
|
|
21
21
|
collection.where(user_id: memberships.select('owner_id'))
|
22
22
|
end
|
23
23
|
|
24
|
-
col(:membership_categories, label: 'Member Category', sort: false, visible: false, search:
|
24
|
+
col(:membership_categories, label: 'Member Category', sort: false, visible: false, search: effective_memberships_categories) do |registration|
|
25
25
|
Array(registration.user.try(:membership).try(:membership_categories)).each do |membership_category|
|
26
26
|
content_tag(:div, membership_category, class: 'col-resource')
|
27
27
|
end.join.html_safe
|
@@ -30,7 +30,7 @@ module Admin
|
|
30
30
|
collection.where(user_id: memberships.select('owner_id'))
|
31
31
|
end
|
32
32
|
|
33
|
-
col(:membership_statuses, label: 'Member Status', sort: false, visible: false, search:
|
33
|
+
col(:membership_statuses, label: 'Member Status', sort: false, visible: false, search: effective_memberships_statuses) do |registration|
|
34
34
|
Array(registration.user.try(:membership).try(:statuses)).each do |status|
|
35
35
|
content_tag(:div, status, class: 'col-resource')
|
36
36
|
end.join.html_safe
|
@@ -10,11 +10,11 @@ module Admin
|
|
10
10
|
|
11
11
|
col :to_s, label: 'Title'
|
12
12
|
|
13
|
-
col :mentorship_cycle
|
13
|
+
col :mentorship_cycle, search: :select
|
14
14
|
col :last_completed_step
|
15
15
|
|
16
16
|
col :mentorship_groups_count, label: "#{mentorship_groups_label} count"
|
17
|
-
col :mentorship_groups, label: "#{mentorship_groups_label}",
|
17
|
+
col :mentorship_groups, label: "#{mentorship_groups_label}", visible: false
|
18
18
|
col :email_form_skip, label: "Skip email"
|
19
19
|
|
20
20
|
col :job_status, visible: false
|
@@ -37,7 +37,7 @@ module Admin
|
|
37
37
|
col :token, visible: false
|
38
38
|
|
39
39
|
col :mentorship_bulk_group, visible: false
|
40
|
-
col :mentorship_cycle, visible: attributes[:mentorship_bulk_group_id].blank?
|
40
|
+
col :mentorship_cycle, search: :select, visible: attributes[:mentorship_bulk_group_id].blank?
|
41
41
|
|
42
42
|
col :published?, as: :boolean
|
43
43
|
col :published_start_at, label: "Published start", visible: false
|
@@ -15,7 +15,7 @@ module Admin
|
|
15
15
|
col :id, visible: false
|
16
16
|
col :token, visible: false
|
17
17
|
|
18
|
-
col :mentorship_cycle
|
18
|
+
col :mentorship_cycle, search: :select
|
19
19
|
col :user
|
20
20
|
|
21
21
|
col :opt_in, visible: attributes[:opt_in_without_groups].blank?
|
@@ -32,7 +32,7 @@ module Admin
|
|
32
32
|
col :parent, visible: false
|
33
33
|
col :rich_text_comments, label: "Comments", visible: false
|
34
34
|
|
35
|
-
col(:mentorship_groups,
|
35
|
+
col(:mentorship_groups, visible: false) do |registration|
|
36
36
|
registration.mentorship_groups.map do |mentorship_group|
|
37
37
|
content_tag(:div, class: 'col-resource_item') do
|
38
38
|
link_to(mentorship_group, effective_mentorships.edit_admin_mentorship_group_path(mentorship_group), target: '_blank')
|
@@ -6,7 +6,7 @@ class EffectiveMentorshipsGroupsDatatable < Effective::Datatable
|
|
6
6
|
col :mentorship_cycle
|
7
7
|
col :title
|
8
8
|
|
9
|
-
col :mentorship_group_users
|
9
|
+
col :mentorship_group_users do |mentorship_group|
|
10
10
|
mentorship_group.mentorship_group_users.map do |mentorship_group_user|
|
11
11
|
user = mentorship_group_user.user
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_mentorships
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
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: 2025-
|
11
|
+
date: 2025-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|