metadata_presenter 2.17.38 → 2.17.40

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: 2278284abaeddddf0198d89cc2d321364f9dc52bcd29331c10d4b4620e3b35dd
4
- data.tar.gz: f972fe2b27acf875f5243729526f6a33d582e13990eb836c82859646259bc87f
3
+ metadata.gz: df4841d770916f29d6e715bb0f183b1fffeae2631d5b25634c0a8dcc11bec693
4
+ data.tar.gz: de0236515c2de4fbd0afd30dad64ee85f038229f4a7c86f4b92f0b463cb895e8
5
5
  SHA512:
6
- metadata.gz: de15354cd7f862738fc7bf03fb1649380ac783cdc00c267d2835f8329933b4a30ee0a9c80de340cda314df8008ca6c1e44cd59e47ea983728d97f305f4c8a955
7
- data.tar.gz: f542d580d738432af1771d435280c3e340fd47623e0bf3cdb65d8e11799b5b590a53d2877887eae892f8b7502b35f7c34f0ee0936bad35777c0074afc171714d
6
+ metadata.gz: fbfa3d5c87351fa9bf59f1b6ec630a3c441718a7632d55289d7cd9a99f11b3fe5a830bc49597847f7cbde725a6fd34acec749d788c1a9006e049e61406de21f5
7
+ data.tar.gz: 65aefa06629b7a63ff6beced03a227f70724b92a110bfa8a2c71a2eebb754f08e0bc03a54b8c1f7d7a331ce76794c8652fe798e71ca30bf6b32cd19d8808bd83
@@ -1,18 +1,19 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <meta charset="utf-8">
4
5
  <title><%= service.service_name %></title>
5
6
  <%= csrf_meta_tags %>
6
7
  <%= csp_meta_tag %>
7
8
 
8
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
9
- <meta name="robots" content="noindex">
10
- <link rel="shortcut icon" sizes="16x16 32x32 48x48" href="<%= asset_pack_url('media/images/favicon.ico') %>" type="image/x-icon" />
11
- <link rel="mask-icon" href="<%= asset_pack_url('media/images/govuk-mask-icon.svg') %>" color="blue">
12
- <link rel="apple-touch-icon" sizes="180x180" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon-180x180.png') %>">
13
- <link rel="apple-touch-icon" sizes="167x167" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon-167x167.png') %>">
14
- <link rel="apple-touch-icon" sizes="152x152" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon-152x152.png') %>">
15
- <link rel="apple-touch-icon" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon.png') %>">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
10
+ <meta name="robots" content="noindex">
11
+ <link rel="shortcut icon" sizes="16x16 32x32 48x48" href="<%= asset_pack_url('media/images/favicon.ico') %>" type="image/x-icon" />
12
+ <link rel="mask-icon" href="<%= asset_pack_url('media/images/govuk-mask-icon.svg') %>" color="blue">
13
+ <link rel="apple-touch-icon" sizes="180x180" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon-180x180.png') %>">
14
+ <link rel="apple-touch-icon" sizes="167x167" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon-167x167.png') %>">
15
+ <link rel="apple-touch-icon" sizes="152x152" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon-152x152.png') %>">
16
+ <link rel="apple-touch-icon" href="<%= asset_pack_url('media/images/govuk-apple-touch-icon.png') %>">
16
17
 
17
18
  <%= javascript_pack_tag 'runner_application', 'govuk', defer: true %>
18
19
  <%= stylesheet_pack_tag 'govuk', 'runner_application', media: 'all' %>
@@ -23,19 +24,34 @@
23
24
  </head>
24
25
 
25
26
  <body class="govuk-template__body">
26
- <% if show_cookie_banner? %>
27
- <%= render partial: 'metadata_presenter/analytics/cookie_banner' %>
28
- <% end %>
27
+ <script>
28
+ document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
29
+ </script>
30
+
31
+ <div class="govuk-modal-dialogue-inert-container">
32
+ <% if show_cookie_banner? %>
33
+ <%= render partial: 'metadata_presenter/analytics/cookie_banner' %>
34
+ <% end %>
35
+
36
+ <%= render template: 'metadata_presenter/header/show' %>
29
37
 
30
- <%= render template: 'metadata_presenter/header/show' %>
31
- <div class="govuk-width-container govuk-body-m">
32
- <main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing" id="main-content" role="main">
33
- <% if back_link.present? %>
34
- <a class="govuk-back-link" href="<%= back_link %>">Back</a>
35
- <% end %>
36
- <%= yield %>
37
- </main>
38
+ <div class="govuk-width-container govuk-body-m">
39
+ <main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing" id="main-content" role="main">
40
+ <% if back_link.present? %>
41
+ <a class="govuk-back-link" href="<%= back_link %>">Back</a>
42
+ <% end %>
43
+ <% if !in_progress? %>
44
+ <%= render partial: 'metadata_presenter/session/timeout_fallback' %>
45
+ <% end %>
46
+ <%= yield %>
47
+ </main>
48
+ </div>
49
+
50
+ <%= render template: 'metadata_presenter/footer/footer' %>
38
51
  </div>
39
- <%= render template: 'metadata_presenter/footer/footer' %>
52
+
53
+ <% if !in_progress? %>
54
+ <%= render partial: 'metadata_presenter/session/timeout_warning_modal' %>
55
+ <% end %>
40
56
  </body>
41
57
  </html>
@@ -0,0 +1,8 @@
1
+ <div class="govuk-warning-text govuk-timeout-warning-fallback">
2
+ <span class="govuk-warning-text__icon" aria-hidden="true">!</span>
3
+ <strong class="govuk-warning-text__text">
4
+ <span class="govuk-warning-text__assistive">Warning</span>
5
+ <%= t('presenter.session_timeout_warning.timer_fallback') %> <%= session_expiry_time&.strftime('%l:%M %p') %>.
6
+ <%= t('presenter.session_timeout_warning.timer_extra') %>
7
+ </strong>
8
+ </div>
@@ -0,0 +1,33 @@
1
+ <div class="govuk-timeout-warning"
2
+ data-module="govuk-timeout-warning"
3
+ id="js-timeout-warning"
4
+ data-minutes-idle-timeout="25"
5
+ data-minutes-modal-visible="5"
6
+ data-url-redirect="/session/reset"
7
+ data-timer-text="<%= t('presenter.session_timeout_warning.timer') %>"
8
+ data-timer-extra-text="<%= t('presenter.session_timeout_warning.timer_extra') %>"
9
+ data-timer-redirect-text="<%= t('presenter.session_timeout_warning.redirect') %>">
10
+
11
+ <div id="timeout-warning-modal"
12
+ class="govuk-modal-dialogue govuk-timeout-warning__dialog"
13
+ data-inert-container=".govuk-modal-dialogue-inert-container">
14
+ <div class="govuk-modal-dialogue__wrapper" >
15
+ <dialog class="govuk-modal-dialogue__box " aria-labelledby="timeout-warning-modal-title" aria-modal="true" role="modal" tabindex="-1">
16
+ <div class="govuk-modal-dialogue__header">
17
+ <button type="button" class="govuk-button govuk-modal-dialogue__close" aria-label="<%= t('presenter.session_timeout_warning.close_button') %>" data-element="govuk-modal-dialogue-close">x</button>
18
+ </div>
19
+ <div class="govuk-modal-dialogue__content">
20
+ <h2 class="govuk-modal-dialogue__heading govuk-heading-l" id="timeout-warning-modal-title">
21
+ <%= t('presenter.session_timeout_warning.heading') %>
22
+ </h2>
23
+ <div class="govuk-modal-dialogue__description govuk-body" id="timeout-warning-modal-description">
24
+ <div class="govuk-timeout-warning__timer" aria-hidden="true"></div>
25
+ <div class="govuk-timeout-warning__at-timer govuk-visually-hidden" role="status" id="at-timer"></div>
26
+ </div>
27
+ <button class="govuk-button dialog-button govuk" data-module="govuk-button" data-element="govuk-modal-dialogue-close"><%= t('presenter.session_timeout_warning.button') %></button>
28
+ </div>
29
+ </dialog>
30
+ </div>
31
+ <div class="govuk-modal-dialogue__backdrop"></div>
32
+ </div>
33
+ </div>
@@ -19,9 +19,17 @@ en:
19
19
  maintenance:
20
20
  maintenance_page_heading: 'Sorry, this form is unavailable'
21
21
  maintenance_page_content: "If you were in the middle of completing the form, your data has not been saved.\r\n\r\nThe form will be available again from 9am on Monday 19 November 2018.\r\n\r\n\r\n\r\n### Other ways to apply\r\n\r\nContact us if your application is urgent \r\n\r\nEmail: \r\nTelephone: \r\nMonday to Friday, 9am to 5pm \r\n[Find out about call charges](https://www.gov.uk/call-charges)"
22
+ session_timeout_warning:
23
+ heading: Your form will reset soon
24
+ timer: We will reset your form if you do not continue in
25
+ timer_fallback: We will reset your form if you do not complete the page and press continue by
26
+ timer_extra: Any answers you have entered so far will be cleared to protect your information.
27
+ redirect: You are about to be redirected
28
+ close_button: Close
29
+ button: Continue
22
30
  session_expired:
23
31
  title: Your form has been reset
24
- content: "To protect your personal information, we have reset the form and cleared your answers.\r\n\r\nThis is because you were inactive for 20 minutes."
32
+ content: "To protect your personal information, we have reset the form and cleared your answers.\r\n\r\nThis is because you were inactive for 30 minutes."
25
33
  restart_link: Start again
26
34
  confirmation:
27
35
  reference_number: 'Your reference number is:'
@@ -0,0 +1,355 @@
1
+ {
2
+ "_id": "service.base",
3
+ "flow": {
4
+ "085263f8-0722-47bb-a853-3664a27e52eb": {
5
+ "next": {
6
+ "default": "74a38f1e-f408-4787-a988-8e5bcf4498e5"
7
+ },
8
+ "_type": "flow.page"
9
+ },
10
+ "5afcfd29-75b9-4ce0-8e74-5000cd175154": {
11
+ "next": {
12
+ "default": "e184ce91-0b0e-4fb0-b05b-f2113281ea94"
13
+ },
14
+ "_type": "flow.page"
15
+ },
16
+ "74a38f1e-f408-4787-a988-8e5bcf4498e5": {
17
+ "next": {
18
+ "default": "5afcfd29-75b9-4ce0-8e74-5000cd175154"
19
+ },
20
+ "_type": "flow.page"
21
+ },
22
+ "aeadcc61-a7c8-48c3-80e1-aff49d7ee34b": {
23
+ "next": {
24
+ "default": "74a38f1e-f408-4787-a988-8e5bcf4498e5"
25
+ },
26
+ "_type": "flow.page"
27
+ },
28
+ "b942bb3b-c39c-4fcc-b466-0b3cdb497b3e": {
29
+ "next": {
30
+ "default": "085263f8-0722-47bb-a853-3664a27e52eb"
31
+ },
32
+ "_type": "flow.page"
33
+ },
34
+ "bc368e2f-a311-426c-9ea8-5f53aa30215e": {
35
+ "next": {
36
+ "default": "e1cf7bf5-5a8a-43fc-b02d-96f2e799c9c0"
37
+ },
38
+ "_type": "flow.page"
39
+ },
40
+ "e184ce91-0b0e-4fb0-b05b-f2113281ea94": {
41
+ "next": {
42
+ "default": ""
43
+ },
44
+ "_type": "flow.page"
45
+ },
46
+ "e1cf7bf5-5a8a-43fc-b02d-96f2e799c9c0": {
47
+ "next": {
48
+ "default": "e227bea4-93c4-492e-9c96-80b0dc7b0ab3"
49
+ },
50
+ "_type": "flow.page"
51
+ },
52
+ "e227bea4-93c4-492e-9c96-80b0dc7b0ab3": {
53
+ "next": {
54
+ "default": "74a38f1e-f408-4787-a988-8e5bcf4498e5"
55
+ },
56
+ "_type": "flow.page"
57
+ },
58
+ "f2fa08e2-6a97-4db5-9278-60174a437f3f": {
59
+ "next": {
60
+ "default": "b942bb3b-c39c-4fcc-b466-0b3cdb497b3e"
61
+ },
62
+ "_type": "flow.page"
63
+ }
64
+ },
65
+ "_type": "service.base",
66
+ "pages": [
67
+ {
68
+ "_id": "page.start",
69
+ "url": "/",
70
+ "body": "Use this service to:\r\n\r\n* do something\r\n* update your name, address or other details\r\n* do something else\r\n\r\nRegistering takes around 5 minutes.",
71
+ "_type": "page.start",
72
+ "_uuid": "aeadcc61-a7c8-48c3-80e1-aff49d7ee34b",
73
+ "heading": "Service name goes here",
74
+ "before_you_start": "###Before you start\r\nYou can also register by post.\r\n\r\nThe online service is also available in Welsh (Cymraeg).\r\n\r\nYou cannot register for this service if you’re in the UK illegally."
75
+ },
76
+ {
77
+ "_id": "page.paint",
78
+ "url": "paint",
79
+ "body": "Body section",
80
+ "lede": "",
81
+ "_type": "page.singlequestion",
82
+ "_uuid": "f2fa08e2-6a97-4db5-9278-60174a437f3f",
83
+ "heading": "",
84
+ "components": [
85
+ {
86
+ "_id": "paint_text_1",
87
+ "hint": "",
88
+ "name": "paint_text_1",
89
+ "_type": "text",
90
+ "_uuid": "5fb80886-62eb-44cf-8ee2-c82f159b5070",
91
+ "label": "paint",
92
+ "errors": {
93
+ },
94
+ "collection": "components",
95
+ "validation": {
96
+ "required": true
97
+ }
98
+ }
99
+ ],
100
+ "section_heading": ""
101
+ },
102
+ {
103
+ "_id": "page.it",
104
+ "url": "it",
105
+ "body": "Body section",
106
+ "lede": "",
107
+ "_type": "page.singlequestion",
108
+ "_uuid": "b942bb3b-c39c-4fcc-b466-0b3cdb497b3e",
109
+ "heading": "",
110
+ "components": [
111
+ {
112
+ "_id": "it_text_1",
113
+ "hint": "",
114
+ "name": "it_text_1",
115
+ "_type": "text",
116
+ "_uuid": "0459b5a7-16e7-4bb3-9e52-8268e3267918",
117
+ "label": "it",
118
+ "errors": {
119
+ },
120
+ "collection": "components",
121
+ "validation": {
122
+ "required": true
123
+ }
124
+ }
125
+ ],
126
+ "section_heading": ""
127
+ },
128
+ {
129
+ "_id": "page.black",
130
+ "url": "black",
131
+ "body": "Body section",
132
+ "lede": "",
133
+ "_type": "page.singlequestion",
134
+ "_uuid": "085263f8-0722-47bb-a853-3664a27e52eb",
135
+ "heading": "",
136
+ "components": [
137
+ {
138
+ "_id": "black_text_1",
139
+ "hint": "",
140
+ "name": "black_text_1",
141
+ "_type": "text",
142
+ "_uuid": "f4a798ab-9ebc-40d3-b1e5-86bbf463f188",
143
+ "label": "black",
144
+ "errors": {
145
+ },
146
+ "collection": "components",
147
+ "validation": {
148
+ "required": true
149
+ }
150
+ }
151
+ ],
152
+ "section_heading": ""
153
+ },
154
+ {
155
+ "_id": "page.the",
156
+ "url": "the",
157
+ "body": "Body section",
158
+ "lede": "",
159
+ "_type": "page.singlequestion",
160
+ "_uuid": "e1cf7bf5-5a8a-43fc-b02d-96f2e799c9c0",
161
+ "heading": "",
162
+ "components": [
163
+ {
164
+ "_id": "the_text_1",
165
+ "hint": "",
166
+ "name": "the_text_1",
167
+ "_type": "text",
168
+ "_uuid": "316c8087-3ef7-4e5b-ba56-f39518e5f442",
169
+ "label": "the",
170
+ "errors": {
171
+ },
172
+ "collection": "components",
173
+ "validation": {
174
+ "required": true
175
+ }
176
+ }
177
+ ],
178
+ "section_heading": ""
179
+ },
180
+ {
181
+ "_id": "page.brakes",
182
+ "url": "brakes",
183
+ "body": "Body section",
184
+ "lede": "",
185
+ "_type": "page.singlequestion",
186
+ "_uuid": "e227bea4-93c4-492e-9c96-80b0dc7b0ab3",
187
+ "heading": "",
188
+ "components": [
189
+ {
190
+ "_id": "brakes_text_1",
191
+ "hint": "",
192
+ "name": "brakes_text_1",
193
+ "_type": "text",
194
+ "_uuid": "f5439942-facc-4c87-bd4f-ac9d0521f7bb",
195
+ "label": "brakes",
196
+ "errors": {
197
+ },
198
+ "collection": "components",
199
+ "validation": {
200
+ "required": true
201
+ }
202
+ }
203
+ ],
204
+ "section_heading": ""
205
+ },
206
+ {
207
+ "_id": "page.pump",
208
+ "url": "pump",
209
+ "body": "Body section",
210
+ "lede": "",
211
+ "_type": "page.singlequestion",
212
+ "_uuid": "bc368e2f-a311-426c-9ea8-5f53aa30215e",
213
+ "heading": "",
214
+ "components": [
215
+ {
216
+ "_id": "pump_text_1",
217
+ "hint": "",
218
+ "name": "pump_text_1",
219
+ "_type": "text",
220
+ "_uuid": "3c80af27-5b45-4a63-9468-41ba0809ab41",
221
+ "label": "pump",
222
+ "errors": {
223
+ },
224
+ "collection": "components",
225
+ "validation": {
226
+ "required": true
227
+ }
228
+ }
229
+ ],
230
+ "section_heading": ""
231
+ },
232
+ {
233
+ "_id": "page.hello",
234
+ "url": "hello",
235
+ "body": "Body section",
236
+ "lede": "",
237
+ "_type": "page.singlequestion",
238
+ "_uuid": "74a38f1e-f408-4787-a988-8e5bcf4498e5",
239
+ "heading": "",
240
+ "components": [
241
+ {
242
+ "_id": "hello_text_1",
243
+ "hint": "",
244
+ "name": "hello_text_1",
245
+ "_type": "text",
246
+ "_uuid": "94538b52-40a5-4e43-a793-6928722e17c5",
247
+ "label": "Question",
248
+ "errors": {
249
+ },
250
+ "validation": {
251
+ "required": true
252
+ }
253
+ }
254
+ ],
255
+ "section_heading": ""
256
+ },
257
+ {
258
+ "_id": "page.checkanswers",
259
+ "url": "check-answers",
260
+ "_type": "page.checkanswers",
261
+ "_uuid": "5afcfd29-75b9-4ce0-8e74-5000cd175154",
262
+ "heading": "Check your answers",
263
+ "send_body": "By submitting this application you confirm that, to the best of your knowledge, the details you are providing are correct.\r\n\r\n",
264
+ "components": [
265
+
266
+ ],
267
+ "send_heading": "Now send your application",
268
+ "extra_components": [
269
+
270
+ ]
271
+ },
272
+ {
273
+ "_id": "page.confirmation",
274
+ "url": "form-sent",
275
+ "_type": "page.confirmation",
276
+ "_uuid": "e184ce91-0b0e-4fb0-b05b-f2113281ea94",
277
+ "heading": "Application complete",
278
+ "components": [
279
+
280
+ ]
281
+ }
282
+ ],
283
+ "locale": "en",
284
+ "created_at": "2023-03-13T14:07:23Z",
285
+ "created_by": "03c40c4c-5915-4365-9ce7-7d575c611633",
286
+ "service_id": "c30189cb-b1a6-45c5-93bc-a7ca2efd6db5",
287
+ "version_id": "c445c353-45e4-4f36-a7f7-343844574882",
288
+ "service_name": "aform",
289
+ "configuration": {
290
+ "meta": {
291
+ "_id": "config.meta",
292
+ "_type": "config.meta",
293
+ "items": [
294
+ {
295
+ "_id": "config.meta--link",
296
+ "href": "/cookies",
297
+ "text": "Cookies",
298
+ "_type": "link"
299
+ },
300
+ {
301
+ "_id": "config.meta--link--2",
302
+ "href": "/privacy",
303
+ "text": "Privacy",
304
+ "_type": "link"
305
+ },
306
+ {
307
+ "_id": "config.meta--link--3",
308
+ "href": "/accessibility",
309
+ "text": "Accessibility",
310
+ "_type": "link"
311
+ }
312
+ ]
313
+ },
314
+ "service": {
315
+ "_id": "config.service",
316
+ "_type": "config.service"
317
+ }
318
+ },
319
+ "standalone_pages": [
320
+ {
321
+ "_id": "page.cookies",
322
+ "url": "cookies",
323
+ "body": "This form saves small files (known as 'cookies') onto your device.\r\n \r\nCookies are used to:\r\n \r\n* remember your progress\r\n* measure how you use the form so it can be updated and improved based on your needs\r\n \r\nThese cookies are not used to identify you personally.\r\n \r\nYou will normally see a message on the form before we store a cookie on your computer. Essential cookies are necessary for the form to work but you can still complete the form if you choose not to accept analytics cookies.\r\n \r\nFind out more about [how to manage cookies](https://www.aboutcookies.org/).\r\n \r\n## Essential cookies\r\n \r\nEssential cookies are required to make this form work and keep your information secure while you use it.\r\n \r\nWe use the following essential cookies: \r\n \r\n| Name | Purpose | Expires |\r\n|---|---|---|\r\n| \\_fb\\_runner\\_session | Saves your current progress on this computer and tracks inactivity periods | After 60 minutes from starting the form or when you close your browser |\r\n| analytics | Remembers whether you accept or reject analytics cookies on this form | After 1 year |\r\n \r\n## Analytics cookies\r\n \r\nAnalytics cookies collect information about how you use this form. This helps us make sure the form is meeting the needs of its users and to help us make improvements.\r\n \r\nWe use Google Analytics to learn about:\r\n \r\n* the pages you visit\r\n* how long you spend on each page\r\n* how you got to the form\r\n* what you click on while you are using the form\r\n \r\nWe do not collect or store your personal information (for example your name or address) so this information can't be used to identify who you are. We do not allow third parties to use or share our analytics data.\r\n \r\nThis form may use different versions of Google Analytics and could save some or all of the following cookies:\r\n \r\n| Name | Purpose | Expires |\r\n|---|---|---|\r\n| \\_ga | Helps us count how many people visit this form | 2 years |\r\n| \\_gid | Helps us count how many people visit this form | 1 day |\r\n| \\_ga\\_\\<container-id> | Used to persist session state | 2 years |\r\n| \\_gac\\_gb\\_\\<container-id> | Contains campaign-related information | 90 days |\r\n| \\_gat | Used to throttle request rate | 1 minute |\r\n| \\_dc\\_gtm\\_\\<property- id>| Used to throttle request rate | 1 minute |\r\n| AMP\\_TOKEN | Contains a token that can be used to retrieve a Client ID from AMP Client ID service | 30 seconds to 1 year |\r\n| \\_gac\\_\\<property-id> | Contains campaign related information | 90 days |\r\n \r\nYou can use a browser addon to [opt out of Google Analytics cookies](https://tools.google.com/dlpage/gaoptout) on all websites.",
324
+ "_type": "page.standalone",
325
+ "_uuid": "7030ec6a-e630-4c3c-bce5-bc87f03e16d2",
326
+ "heading": "Cookies",
327
+ "components": [
328
+
329
+ ]
330
+ },
331
+ {
332
+ "_id": "page.privacy",
333
+ "url": "privacy",
334
+ "body": "[[Guidance notes on completing this notice](https://intranet.justice.gov.uk/documents/2018/03/privacy-notice-guidance.pdf) - delete before publishing]\r\n\r\n##[Name of your form or service]\r\n\r\nThe Ministry of Justice (MoJ) is committed to the protection and security of your personal information.\r\n\r\nIt is important that you read this notice so that you are aware of how and why we are using such information. This privacy notice describes how we collect and use personal information during and after your relationship with us, in accordance with data protection law. \r\n\r\n[Insert name – delete if not an EA or ALB] is an Executive Agency/Arm’s Length Body of the MoJ. MoJ is the data controller for the personal data used for the purposes of [Insert overarching purpose].\r\n\r\n###The type of personal data we process\r\n\r\nWe currently collect and use the following information:\r\n\r\n[list the type of personal data used e.g. name, address, contact details etc]\r\n\r\nWe also collect special categories of information, such as [delete this section if not applicable]:\r\n\r\n* race or ethnicity \r\n* political opinions\r\n* religious or philosophical beliefs\r\n* trade union membership\r\n* health, sex life or sexual orientation \r\n* genetics or biometrics\r\n* criminal convictions\r\n\r\n\r\n###How we get your personal data and why we have it\r\n\r\nMost of the personal information we process is provided to us directly by you for one of the following reasons: [List reasons e.g. providing an online service]\r\n\r\nWe also receive personal information indirectly, from the following sources in the following scenarios: [Include details of the source of the personal data unless the data is collected directly from the data subject]\r\n\r\nWe use the personal data we receive in order to: [list how you use the personal data] \r\n\r\nWe may share this information with: [enter organisations or individuals]\r\n\r\nUnder the UK General Data Protection Regulation (UK GDPR), the lawful bases we rely on for processing this information are: [delete as appropriate]\r\n\r\n* Your consent. You may withdraw your consent at any time by contacting [enter contact details].\r\n* We have a contractual obligation.\r\n* We have a legal obligation.\r\n* We have a vital interest.\r\n* We need it to perform a public task.\r\n* We have a legitimate interest.\r\n\r\n[Explain the purpose and lawful basis for processing the personal data you collect. If lawful basis is a legal obligation or public task, explain what this is e.g. refer to legislation or policy.] \r\n\r\nThe legal bases on which the MoJ processes special categories of information you have provided, is on the basis of: [delete this section if not applicable]\r\n\r\n* Your explicit consent. You may withdraw your consent at any time by contacting [insert contact details].\r\n* The processing being necessary for the MoJ in the field of employment, social security and social protection law.\r\n* The information being manifestly made public by you.\r\n* The processing being necessary for the establishment, exercise or defence of legal claims.\r\n* The substantial public interest in the MoJ [tailor as required and choose relevant [substantial public interest condition](https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/special-category-data/what-are-the-substantial-public-interest-conditions/)]. \r\n* The processing is necessary for historical research purposes/statistical purposes.\r\n\r\n###International data transfers\r\n\r\n[Delete one of the following paragraphs as appropriate]\r\n\r\nPersonal data is transferred to [insert name of country] for the purpose of [insert purpose]. This international transfer complies with UK data protection law [delete as appropriate].\r\n\r\n\r\nThere are no international transfers.\r\n\r\n###How we store your personal data\r\n\r\n[set out how long the information is retained, or the criteria used to determine how long the information is retained]\r\n\r\nPersonal data is stored securely and in accordance with our data retention schedule [insert link to the schedule or details of retention periods]. At the end of this period your data is [insert with it is retained as a public record or whether it is disposed of].\r\n\r\n###Your rights\r\n\r\n[This section lists all data subject rights found in the UKGDPR and the Data Protection Act 2018. You should only include those relevant to your lawful basis for processing. [Find out more about which rights apply and when](https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/)]\r\n\r\n* Your right of access - You have the right to ask us for copies of your personal information. \r\n* Your right to rectification - You have the right to ask us to rectify personal information you think is inaccurate. You also have the right to ask us to complete information you think is incomplete. \r\n* Your right to erasure - You have the right to ask us to erase your personal information in certain circumstances. \r\n* Your right to restriction of processing - You have the right to ask us to restrict the processing of your personal information in certain circumstances. \r\n* Your right to object to processing - You have the right to object to the processing of your personal information in certain circumstances. \r\n* Your right to data portability - You have the right to ask that we transfer the personal information you gave us to another organisation, or to you, in certain circumstances. \r\n\r\nDepending on the lawful basis on which your personal data is being processed, not all rights will apply.\r\n\r\nYou are not required to pay any charge for exercising your rights. If you make a request, we have one month to respond to you. If you wish to exercise your data protection rights please contact one of these teams.\r\n\r\nIf you have ever been convicted of a criminal offence, contact:\r\n\r\n\r\nBranston Registry<br> \r\nBuilding 16, S & T Store<br> \r\nBurton Road<br>\r\nBranston<br>\r\nBurton-on-Trent<br> \r\nStaffordshire<br>\r\nDE14 3EG\r\nEmail: <data.access1@justice.gov.uk>\r\n\r\nOtherwise, contact:\r\n\r\n\r\nDisclosure Team<br>\r\nPost point 10.38<br>\r\n102 petty France<br>\r\nLondon<br>\r\nSW1H 9AJ\r\nEmail: <data.access@justice.gov.uk> \r\n\r\n###How to complain\r\n\r\nIf you have any concerns about our use of your personal data, you can contact the MoJ data protection officer:\r\n\r\nData Protection Officer<br>\r\nMinistry of Justice<br>\r\n3rd Floor, Post Point 3.20<br>\r\n10 South Colonnades<br>\r\nCanary Wharf<br>\r\nLondon<br>\r\nE14 4PU\r\n\r\nEmail: <dpo@justice.gov.uk> \r\n\r\n\r\nYou can also complain to the Information Commissioner’s Office (ICO) if you are unhappy with how we have used your data:\r\n\r\n\r\nInformation Commissioner’s Office<br>\r\nWycliffe House<br>\r\nWater Lane<br>\r\nWilmslow<br>\r\nCheshire<br>\r\nSK9 5AF\r\n\r\nTelephone: 0303 123 1113<br>\r\n[ICO website](https://www.ico.org.uk)\r\n\r\nDate of last review: [Insert publication or update date]",
335
+ "_type": "page.standalone",
336
+ "_uuid": "5ba29dbe-b0cc-40a7-b2ae-027283607ea5",
337
+ "heading": "Privacy notice",
338
+ "components": [
339
+
340
+ ]
341
+ },
342
+ {
343
+ "_id": "page.accessibility",
344
+ "url": "accessibility",
345
+ "body": "This accessibility statement applies to [describe your form here - for example, the general enquiries form for the CICA]. There is a separate [accessibility statement for the main GOV.UK website](https://www.gov.uk/help/accessibility-statement).\r\n\r\n###Using this online form\r\n\r\nThis form was built using MoJ Forms, a tool developed by the Ministry of Justice, and uses components from the [GOV.UK Design System](https://design-system.service.gov.uk/).\r\n\r\n[insert your organisation here] is responsible for the content of this online form. The Ministry of Justice is responsible for its technical aspects.\r\n\r\nWe want as many people as possible to be able to use this online form. For example, that means you should be able to:\r\n\r\n- change colours, contrast levels and fonts\r\n- zoom in up to 300% without the text spilling off the screen\r\n- navigate the form using just a keyboard\r\n- navigate the form using speech recognition software\r\n- listen to the form using a screen reader (including recent versions of JAWS, NVDA and VoiceOver)\r\n\r\nWe’ve also made the text as simple as possible to understand.\r\n\r\n[AbilityNet](https://mcmw.abilitynet.org.uk/) has advice on making your device easier to use if you have a disability.\r\n\r\n###Feedback and contact information\r\n\r\nIf you need information on this website in a different format:\r\n\r\n[insert your contact details for user requests here - add other channels, such as text phones or Relay UK, as required]\r\n\r\n- email: [your email address]\r\n- call: [your telephone number]\r\n- [Hours - e.g. Monday to Friday, 9am to 5pm]\r\n\r\nWe'll consider your request and get back to you in [add your SLA - e.g. a week or 5 working days].\r\n\r\n###Reporting accessibility problems with this form\r\n\r\nWe’re always looking to improve the accessibility of this form. If you find any problems not listed on this page or think we’re not meeting accessibility requirements, contact:\r\n\r\n[insert your contact details for user feedback here - add other channels, such as text phones or Relay UK, as required]\r\n\r\n- email: [your email address]\r\n- call: [your telephone number]\r\n- [Hours - e.g. Monday to Friday, 9am to 5pm]\r\n\r\n###Enforcement procedure\r\n\r\nThe Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the ‘accessibility regulations’). If you’re not happy with how we respond to your complaint, contact the [Equality Advisory and Support Service (EASS)](https://www.equalityadvisoryservice.com/).\r\n\r\n###Technical information about this online form’s accessibility\r\n\r\nWe are committed to making our online forms and services accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.\r\n\r\n####Compliance status\r\n\r\nThis online form is fully compliant with the [Web Content Accessibility Guidelines version 2.1 AA standard](https://www.w3.org/TR/WCAG21/)\r\n\r\n###Preparation of this accessibility statement\r\n\r\nThis statement was prepared on [date when it was first published]. It was last reviewed on [date when it was last reviewed].\r\n\r\nThis form was last tested on [date when you performed your basic accessibility check].\r\n\r\nIn order to test the compliance of all forms built using the MoJ Forms tool, the Ministry of Justice commissioned The Digital Accessibility Centre (DAC) to carry out a WCAG 2.1 AA level audit of a sample form. This included extensive testing by users with a wide range of disabilities. The audit was performed on 8 April 2021. The audit highlighted a number of non-compliance issues which were fixed on 11 May 2021.\r\n\r\nIn addition, this form was tested by [insert team or organisation here]. It was tested using the [WAVE Web Accessibility Evaluation Tool](https://wave.webaim.org/) following guidance from the Ministry of Justice and the Government Digital Service (GDS).\r\n\r\n###What we’re doing to improve accessibility\r\n\r\nWe will monitor the accessibility of this website on an ongoing basis and fix any accessibility issues reported to us.",
346
+ "_type": "page.standalone",
347
+ "_uuid": "d8639746-4a2d-452d-85be-7cb65eb0ba13",
348
+ "heading": "Accessibility statement",
349
+ "components": [
350
+
351
+ ]
352
+ }
353
+ ]
354
+ }
355
+
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '2.17.38'.freeze
2
+ VERSION = '2.17.40'.freeze
3
3
  end
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: 2.17.38
4
+ version: 2.17.40
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-03-14 00:00:00.000000000 Z
11
+ date: 2023-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_design_system_formbuilder
@@ -357,6 +357,8 @@ files:
357
357
  - app/views/metadata_presenter/page/singlequestion.html.erb
358
358
  - app/views/metadata_presenter/page/standalone.html.erb
359
359
  - app/views/metadata_presenter/page/start.html.erb
360
+ - app/views/metadata_presenter/session/_timeout_fallback.html.erb
361
+ - app/views/metadata_presenter/session/_timeout_warning_modal.html.erb
360
362
  - app/views/metadata_presenter/session/expired.html.erb
361
363
  - config/initializers/default_metadata.rb
362
364
  - config/initializers/default_text.rb
@@ -443,6 +445,7 @@ files:
443
445
  - fixtures/countries.json
444
446
  - fixtures/exit_only_service.json
445
447
  - fixtures/invalid_content_page.json
448
+ - fixtures/multiple_cya_confirmation.json
446
449
  - fixtures/no_component_page.json
447
450
  - fixtures/non_finished_service.json
448
451
  - fixtures/service.json