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: 702306099757c4fc797be8baaab6e90a8f122b1b21ee2d45975c0e9e204c77a9
4
- data.tar.gz: 1ddd79323d0835c87d7625be41b3fa17548f617b06223d655dac3fbf978b03b3
3
+ metadata.gz: ef70771a4a2a9d5a9664b76dda457120845bd43ead1b684af0d71a8560331cb6
4
+ data.tar.gz: 585c057a19577bf1f5e4c6abca5e62fe7d55131090dcaa3f0839573b4e3a7bb0
5
5
  SHA512:
6
- metadata.gz: c740293acf21b1f6c31e3c617e0c0a3c76918d7203c29b001b84de562240d1ae2a803bd7743eab552fdedc684626a5841b60e69a5a3e7b8e93d84687a5f08cc1
7
- data.tar.gz: 7dc911eab9b73239a5944bdae2b5ac3593aa069c46e89cee575efc6686e611dfbbee6d4b0b1a175f4362fbd93ae2e1ab7175ad8a6e10c5c6cc923109d0155f50
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
- - next unless membership
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'
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.17.4'
2
+ VERSION = '0.17.5'
3
3
  end
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
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-08 00:00:00.000000000 Z
11
+ date: 2023-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails