effective_memberships 0.3.3 → 0.3.4

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: 32415f21f0400cb757d09cb4779d18e0ba4462059d4c31410cd916ff7dc384eb
4
- data.tar.gz: f5394ac52d43975b6a1b12386029936131ffce521226343d39e5d57267053a40
3
+ metadata.gz: e0a3021cdfb182b004a5469726f7b54a004d6c14dd5ec12ce661804ef4ee93e0
4
+ data.tar.gz: fd1ecbfbd8cd2a4feec8771cabb8054be813dd9e4766742fee6e275ae8bbbbda
5
5
  SHA512:
6
- metadata.gz: 573a3eafaedd539e47fababe8a253075ab3258e6bf8c5275838c80a4f1d96aa8ee9589d41e112415f530d7780b8f532c5a1cca40f3245b1c087ebf6576d80a03
7
- data.tar.gz: aaeb899f86c0c4811729a1619583afc1100d579aacc65ba234b0cf623392359fea274f8f63a7d1805ec8a50d770552322c311eec114e9c72fc0ec282d7c2ecef
6
+ metadata.gz: 4be49c3fbd12014e90a44c892ac05ac5bb28fd99099a648370cc87c8c8b1c98ac9c73171b9dcf7c5f78b6e4791bd9f8fd2cc0aaf1410902b5646a04b67e5c217
7
+ data.tar.gz: 2fd4a5fd54e32661250b688171bddf5d85803ad24b838c82518b1f0b2e40f5cf857f97cb80b5c06052b85296053ff87cd7210dd15f15b4212f023a3a17c820df
@@ -2,7 +2,7 @@
2
2
  %span.badge.badge-secondary= applicant.status_was
3
3
  = applicant.summary
4
4
 
5
- %table.table.table-striped
5
+ %table.table.table-sm.table-striped
6
6
  %thead
7
7
  %tr
8
8
  %th Status
@@ -12,7 +12,7 @@
12
12
 
13
13
  - applicant = EffectiveMemberships.Applicant.new
14
14
 
15
- %table.table
15
+ %table.table.table-sm
16
16
  %tbody
17
17
  %tr
18
18
  %td= applicant.wizard_step_title(:education)
@@ -1,6 +1,6 @@
1
1
  - reference = applicant_reference
2
2
 
3
- %table.table
3
+ %table.table.table-sm
4
4
  %tbody
5
5
  %tr
6
6
  %th Name
@@ -6,7 +6,7 @@
6
6
  .col-sm-auto.text-right
7
7
  = link_to('Edit', wizard_path(:declarations)) if edit_effective_wizard?
8
8
 
9
- %table.table
9
+ %table.table.table-sm
10
10
  %tbody
11
11
  %tr
12
12
  %td= icon('check')
@@ -1,4 +1,4 @@
1
- %table.table
1
+ %table.table.table-sm
2
2
  %tbody
3
3
  %tr
4
4
  %th Name
@@ -6,7 +6,7 @@
6
6
  .col-sm-auto.text-right
7
7
  = link_to('Edit', wizard_path(:files)) if edit_effective_wizard?
8
8
 
9
- %table.table
9
+ %table.table.table-sm
10
10
  %tbody
11
11
  - applicant.applicant_files.each do |file|
12
12
 
@@ -6,7 +6,7 @@
6
6
  .col-sm-auto.text-right
7
7
  = link_to('Edit', wizard_path(:declarations)) if edit_effective_wizard?
8
8
 
9
- %table.table
9
+ %table.table.table-sm
10
10
  %tbody
11
11
  %tr
12
12
  %td= icon('check')
@@ -1,4 +1,4 @@
1
- %table.table
1
+ %table.table.table-sm
2
2
  %tbody
3
3
  %tr
4
4
  %th Name
@@ -1,4 +1,4 @@
1
- %table.table
1
+ %table.table.table-sm
2
2
  %tbody
3
3
  %tr
4
4
  %th Category
@@ -1,14 +1,21 @@
1
- %h2 Membership
2
1
  - current_owner = current_user.effective_memberships_owner
3
2
  - membership = current_owner.membership
4
3
 
4
+ %h2 Membership
5
+
5
6
  - if membership.present?
6
7
  - if membership.categories.length == 0
7
- You are a member.
8
+ %p
9
+ You do not have an assigned membership category.
10
+ To fix this, click the Apply to Join button or the Pay Fees button and then complete the wizard.
11
+ You cannot access member-only pages until this has been completed.
12
+ Please contact us if you believe this is an error with your account.
13
+
8
14
  - elsif membership.categories.length == 1
9
15
  %p You are a #{membership.category} member.
16
+
10
17
  - else
11
- %p You are a member of the following:
18
+ %p You are a member with the following membership categories:
12
19
 
13
20
  %ul
14
21
  - membership.categories.each do |category|
@@ -1,4 +1,4 @@
1
- %table.table
1
+ %table.table.table-sm
2
2
  %tbody
3
3
  %tr
4
4
  %th Joined
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_memberships
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect