effective_cpd 0.6.1 → 0.6.3

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: 2a95ee01fbfe7c486fd9ad091133538b2b8403c30783b0cb6a43b46f01c74ada
4
- data.tar.gz: 2906c5e7b24e4cce48178461b8604f022f4a80b13eced676d5780f2ef193859e
3
+ metadata.gz: 78d4f1d10a4677a8923a20ee6963d81008ff5b9c159c780b430cb9d1544f28e6
4
+ data.tar.gz: db03fa1f6b31fad1d5814f02ef6d6f5845d5b0edd9a065c93a1db858379e6f22
5
5
  SHA512:
6
- metadata.gz: 6c9ebe344d70ad88cada7edf2588cf3a1f3da7a180e28acfa3d383974611d117b7cba60ab3511339777736005489cc5c23cd6874455ea0b92a3c8ac6ac4249a0
7
- data.tar.gz: fedf95f5ea68064701da0a05e573608c8547c4ad5d6a13b70ed6ebd7802d5ef8639aeaf538147dade3f281273212479f012e0716dc2d8264b2a72f2a9d55b00a
6
+ metadata.gz: c8edc165c14ee5d5e7608c40d505b871520667b73ab30990d7190b476c53abbc4363e35c5b3513f12c36a8fded06b4f2e94d8866d379b362e2a8a395218d7929
7
+ data.tar.gz: d113818c3c472573a3a5cedfda31d80dc9cdab30de236e5c57611968d898d9868b0abe436b075695219fd2c24b9ff98e29179981f906ba377d8025a74eb15839
@@ -3,6 +3,7 @@
3
3
  - rule = cpd_statement_activity.cpd_statement.cpd_cycle.rule_for(cpd_activity)
4
4
 
5
5
  .float-right= link_to icon('x', class: 'small-1'), '#', 'data-cpd-collapse': true
6
+
6
7
  %p
7
8
  = cpd_statement_activity
8
9
  %br
@@ -56,9 +57,13 @@
56
57
  %p
57
58
  %strong Supporting Documents
58
59
 
59
- %ul
60
60
  - cpd_statement_activity.files.each do |file|
61
- = link_to(file.filename, url_for(file), target: '_blank')
61
+ .mb-4= link_to(file.filename, url_for(file), target: '_blank')
62
+
63
+ %p
64
+ %strong Date
65
+ %br
66
+ = cpd_statement_activity.date&.strftime('%F') || '-'
62
67
 
63
68
  %p
64
69
  %strong Description
@@ -12,9 +12,9 @@
12
12
  - if resource.cpd_cycle.complete_content.present?
13
13
  .mb-2= resource.cpd_cycle.complete_content.to_s
14
14
 
15
- = link_to "Return to Dashboard", root_path, class: 'btn btn-lg btn-primary mb-4'
15
+ = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'
16
16
 
17
17
  = render('effective/cpd_statements/cpd_statement', cpd_statement: resource)
18
18
 
19
19
  %hr
20
- = link_to "Return to Dashboard", root_path, class: 'btn btn-lg btn-primary'
20
+ = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'
@@ -1,3 +1,3 @@
1
1
  module EffectiveCpd
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_cpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.3
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: 2022-11-02 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails