effective_cpd 1.6.1 → 1.6.2

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: 89acef6977a76e2072c93505be5f2e140df846d7a4c811cf9c6ae6f71b8f7cf5
4
- data.tar.gz: a3bd58305e0e7ae3667ce9039944dbeba4f4c7a4f4299e48caaf723debc97db3
3
+ metadata.gz: 56ed7e39d7742dca209a95b979ff325d244858b0681b1a34d58b931d44de6942
4
+ data.tar.gz: fde90b077fd981dfb0b636e2de6b69c45e321f87cdc5e8d211aa4df3fe908f5c
5
5
  SHA512:
6
- metadata.gz: da56f6fa2fe0699f60f071abf0b694621398efaa71979d8d9efdc07974010497d95d20529222609446b0a79f02aebd0527af3b321706a787471e439f98c06693
7
- data.tar.gz: 297d83fdad2dbf217a16148fd624ce0411db56a937555ec1afb4efa043aeccdcfbb88f0acb713c8f8b46bf98698d21a358d6a9525d4d1c50f88dc5a95ba50c79
6
+ metadata.gz: d44fdab7e582d2935971edb3eb8668d8b605cfa26ce0f06a8e24bd4c745397bf73378194e25da2aff9963e827c7bc3fa0a8ec2b98e67ca42634c13dccd5678bc
7
+ data.tar.gz: 04a6850eb162f83507b9e014ab6c2d5b16855a74c985999fb591a1d3d5fad5b2a31ca9f85b3bd77a0f7ffae9004466236c40dfde36323d55e78b685f7df0518f
@@ -1,26 +1,19 @@
1
- %h2 #{cpd_statements_label}
2
- - datatable = Admin::EffectiveCpdStatementsDatatable.new(user: user)
3
- = render_datatable(datatable, inline: true)
1
+ = card(EffectiveCpd.CpdStatement) do
2
+ - datatable = Admin::EffectiveCpdStatementsDatatable.new(user: user)
3
+ = render_datatable(datatable, inline: true)
4
4
 
5
- %hr
5
+ = card(Effective::CpdTarget) do
6
+ = render 'admin/users/form_cpd_targets', user: user
6
7
 
7
- %h2 #{cpd_targets_label}
8
- = render 'admin/users/form_cpd_targets', user: user
9
- %hr
8
+ = card(Effective::CpdStatementActivity) do
9
+ - datatable = Admin::EffectiveCpdStatementActivitiesDatatable.new(user: user)
10
+ = render_datatable(datatable, inline: true)
10
11
 
11
- %h2 Activities
12
- - datatable = Admin::EffectiveCpdStatementActivitiesDatatable.new(user: user)
13
- = render_datatable(datatable, inline: true)
14
-
15
- %hr
16
-
17
- %h2 #{cpd_audits_label}
18
- - datatable = Admin::EffectiveCpdAuditsDatatable.new(user: user)
19
- = render_datatable(datatable)
12
+ = card(EffectiveCpd.CpdAudit) do
13
+ - datatable = Admin::EffectiveCpdAuditsDatatable.new(user: user)
14
+ = render_datatable(datatable)
20
15
 
21
16
  - if user.try(:cpd_audit_reviewer?)
22
- %hr
23
-
24
- %h2 #{cpd_audit_reviews_label}
25
- - datatable = Admin::EffectiveCpdAuditReviewsDatatable.new(user: user)
26
- = render_datatable(datatable)
17
+ = card(EffectiveCpd.CpdAuditReview) do
18
+ - datatable = Admin::EffectiveCpdAuditReviewsDatatable.new(user: user)
19
+ = render_datatable(datatable)
@@ -1,3 +1,3 @@
1
1
  module EffectiveCpd
2
- VERSION = '1.6.1'
2
+ VERSION = '1.6.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_cpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect