effective_cpd 0.3.0 → 0.3.1

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: 9940c548d939b8c1a285db0e19877bd4ed2147001fbebc947aaf6e02d548def6
4
- data.tar.gz: 0547a9982f49587cbe07f2d3b65b6ab0da31be1728d7a55541cebd48cb560dde
3
+ metadata.gz: 86cc744bca079efc7c8980e61f35d8200c4b01efbc309481ad50bf9ffa8d885c
4
+ data.tar.gz: bd79c194bc5b49fa01777fd43e7cd6a9efd029b17ca70793ce54059a26656ac1
5
5
  SHA512:
6
- metadata.gz: bc621cc69009ae0a6629d11f07b8fcabcbf9aafe011649b441d096e90754938104b24c5633b0b7374f298b005d4e558a2f6ebcdca1c19b2b442883d4a7e3e018
7
- data.tar.gz: dca45ea584ab120514a7fb2d4231d2d19bcd373f84066e16ad57af2d05b46e605e7692d22e6e18c46913a3af233022dbac597672cacf337d7d350e80ae0b9030
6
+ metadata.gz: b014a09d8642a8e61c82887ffd511883203b2c5bc06db5eaefd60765c17b2275b944e1d591dce8d0db2197c568f7f9ee4f276bcc7f175c99a0ced075542b07d7
7
+ data.tar.gz: bfd0c5a9a54df1b62de4c9345da508a9126ca2271480677bb8304b32b5d79085eca22a0c0502d8d56e496b7c88b845c00b59f287a378a2940c1208a1cc6cdc05
@@ -1,22 +1,23 @@
1
1
  = render('layout') do
2
- - raise('expected a submitted cpd_audit') unless resource.was_submitted?
2
+ - raise('expected a submitted cpd_audit') unless resource.was_submitted? || resource.closed?
3
3
 
4
- .text-center
5
- .row
6
- .col-2
7
- .col-8
8
- .alert.alert-success Audit Submitted!
4
+ - if resource.was_submitted?
5
+ .text-center
6
+ .row
7
+ .col-2
8
+ .col-8
9
+ .alert.alert-success Audit Submitted!
9
10
 
10
- %p
11
- The following audit was successfully submitted at
12
- = succeed('.') do
13
- = resource.submitted_at.strftime('%F')
11
+ %p
12
+ The following audit was successfully submitted at
13
+ = succeed('.') do
14
+ = resource.submitted_at.strftime('%F')
14
15
 
15
- - unless resource.determination.present?
16
- Your audit must be reviewed and a final determination made.
17
- We will send
18
- %strong= resource.user.email
19
- an email notifying you of the determination.
16
+ - unless resource.determination.present?
17
+ Your audit must be reviewed and a final determination made.
18
+ We will send
19
+ %strong= resource.user.email
20
+ an email notifying you of the determination.
20
21
 
21
22
  .mb-4= render(resource)
22
23
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveCpd
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
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: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect