effective_memberships 0.17.4 → 0.17.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef70771a4a2a9d5a9664b76dda457120845bd43ead1b684af0d71a8560331cb6
|
4
|
+
data.tar.gz: 585c057a19577bf1f5e4c6abca5e62fe7d55131090dcaa3f0839573b4e3a7bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f0e3096d63739c7d5e9e4de4c82c5876e8f2b70bd9ce297c23aa71fc54a302d19c7c31c3ba9e64bd53469d1e7e7f44f4afb8bf0529125bc3d9da58b6092852c
|
7
|
+
data.tar.gz: d1b95965cc3993a43f94273802aa8f7199d5107508be1858217a28644ab0fa3df48c003bd47352eef38be325ab1713398de15b2871de1d72f44ec98b526bbb85
|
@@ -10,8 +10,7 @@
|
|
10
10
|
.row.mt-4
|
11
11
|
- group.each do |membership|
|
12
12
|
.col-md
|
13
|
-
|
14
|
-
= render('effective/membership_directory/membership', membership: membership)
|
13
|
+
= render('effective/membership_directory/membership', membership: membership) if membership
|
15
14
|
|
16
15
|
%nav.d-flex.justify-content-center
|
17
16
|
= bootstrap_paginate(results, per_page: membership_directory.per_page)
|
@@ -1,26 +1,6 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
.effective-membership
|
3
|
-
|
4
|
-
%h6= @membership.owner
|
5
|
-
%p= @membership.categories.map(&:membership_directory_title).to_sentence
|
6
|
-
%p= @membership.statuses.map(&:membership_directory_title).to_sentence
|
7
|
-
%p= @membership.number
|
8
|
-
|
9
|
-
- if @membership.owner.respond_to?(:rich_text_body)
|
10
|
-
.mb-4= @membership.owner.rich_text_body.to_s
|
11
|
-
|
12
|
-
- if @membership.owner.try(:email).present?
|
13
|
-
%p= reveal_mail_to(@membership.owner.email)
|
14
|
-
|
15
|
-
- if (organizations = @membership.owner.try(:membership_organizations)).present?
|
16
|
-
.mb-4.membership-directory-organizations
|
17
|
-
- organizations.each do |organization|
|
18
|
-
%div= organization
|
19
|
-
|
20
|
-
- if (users = @membership.owner.try(:membership_users)).present?
|
21
|
-
.mb-4.membership-directory-users
|
22
|
-
- users.each do |user|
|
23
|
-
%div= user
|
3
|
+
= render('effective/membership_directory/membership', membership: @membership)
|
24
4
|
|
25
5
|
%hr
|
26
6
|
= link_to 'Return to Directory', effective_memberships.membership_directory_index_path, class: 'btn btn-primary'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_memberships
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.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: 2023-05-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|