metadata_presenter 3.2.8 → 3.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/views/metadata_presenter/component/_email.html.erb +1 -1
- data/lib/metadata_presenter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897373db9fc9e22cdd101785b6906d6a0cc657bba1ed4bab5eb81e5834eac598
|
4
|
+
data.tar.gz: c295de4f671132adc78f8cff9ce26594996c64c4f91eaff46ae1bacaeb114b5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c82446ff868a0ec684a4a5f239189a0abaa05983cb752209f9f7739bc7d144d0300a9314e005f251478c6ce7486a9571be47c7ccdc139bd13fa9c333b010fa4
|
7
|
+
data.tar.gz: d88712f097b7ba9ef105bc15a5b4c18c909f72c998c820ff8b4113f1769c7e971670a24f9ec6a65d82981fc0f51b05927b664790df51395dc2e475ec1fa8c119
|
data/README.md
CHANGED
@@ -104,7 +104,7 @@ If it does not exist, we use the current method of parameterizing the `service_n
|
|
104
104
|
|
105
105
|
`confirmation_email` method provides the confirmation email in the Runner or Editor app. For the Runner app confirmation email is being stored in the user data. In the Editor, confirmation email is only stored in session and called during preview.
|
106
106
|
|
107
|
-
`is_confirmation_email_question
|
107
|
+
`is_confirmation_email_question?(component_id)` method checks whether the question shown has the same component_id used for confirmation email in the Runner or Editor app. For the Editor app the component ID used for confirmation email will be found in `ServiceConfiguration` table, while from the Runner it is stored in the `ENV['CONFIRMATION_EMAIL_COMPONENT_ID']` variable.
|
108
108
|
## Generate documentation
|
109
109
|
|
110
110
|
Run `rake doc` and open the doc/index.html
|
@@ -10,7 +10,7 @@
|
|
10
10
|
autocomplete: "email"
|
11
11
|
%>
|
12
12
|
|
13
|
-
<% if is_confirmation_email_question? %>
|
13
|
+
<% if is_confirmation_email_question?(component._id) %>
|
14
14
|
<div class ="govuk-warning-text">
|
15
15
|
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
|
16
16
|
<strong class="govuk-warning-text__text">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metadata_presenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MoJ Forms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_design_system_formbuilder
|