metadata_presenter 2.17.43 → 2.17.45

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: c4074167f68122d70397e5cb77986392aa8bdcb69691cc83ed2c9464df47ef4a
4
- data.tar.gz: 62c30b9329c349778cc6c42b68ca4f2fd4a9868d938fe5cb838d1e2e5521afc5
3
+ metadata.gz: 137fd7dcc8b75147ce2319e686a313bc0a9e5fb40c142c375adb2e720d65f0bc
4
+ data.tar.gz: 60b64240fb4bec99141bfab754765d149ae53d1ee4b1fa8dc557f0e1f10d16d4
5
5
  SHA512:
6
- metadata.gz: dcfbaa935f3628552670d1e0734cec91f14d28a528bd2c68956186326c38857359955e141ddbfc9e9e6a0ac3e989cf32cecd726a7f4312ec02f9c8508622fdfd
7
- data.tar.gz: 84a2dbe8d458cf66461df61e3f4197c775b16b9b8f7361718d79d2c1604cb9fde67bce9582fa536d534837102ef4663090cc8db60a8373defed44d5312993043
6
+ metadata.gz: 247abe18e1a6686f8033dac7f206d0df1efe4f286d7416f6bfa95385ce360bd55fb0d3da359146567bf280c765b7894bd32ac3f3c673b413f7538c35a72b2f58
7
+ data.tar.gz: baf4e5b9b8020f2ed454fa6dc4b434f49667b97703ddfb6b289d71cba3fc2980589b5e0bdc53750c7dc337d1dadcba29cc009b63d62874fa42951d800ef8f826
@@ -28,6 +28,7 @@
28
28
  document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
29
29
  </script>
30
30
 
31
+
31
32
  <div class="govuk-modal-dialogue-inert-container">
32
33
  <% if show_cookie_request? %>
33
34
  <%= render partial: 'metadata_presenter/analytics/cookie_banner_request' %>
@@ -43,7 +44,7 @@
43
44
  <% if back_link.present? %>
44
45
  <a class="govuk-back-link" href="<%= back_link %>">Back</a>
45
46
  <% end %>
46
- <% if !in_progress? %>
47
+ <% if !allowed_page? %>
47
48
  <%= render partial: 'metadata_presenter/session/timeout_fallback' %>
48
49
  <% end %>
49
50
  <%= yield %>
@@ -53,7 +54,7 @@
53
54
  <%= render template: 'metadata_presenter/footer/footer' %>
54
55
  </div>
55
56
 
56
- <% if !in_progress? %>
57
+ <% if !allowed_page? %>
57
58
  <%= render partial: 'metadata_presenter/session/timeout_warning_modal' %>
58
59
  <% end %>
59
60
  </body>
@@ -86,7 +86,7 @@
86
86
 
87
87
  <button <%= 'disabled' if editable? %> data-prevent-double-click="true" class="fb-block fb-block-actions govuk-button" data-module="govuk-button" data-block-id="actions" data-block-type="actions">
88
88
  <%= t('presenter.actions.submit') -%>
89
- </button> <% if ENV['SAVE_AND_RETURN'] == 'enabled' %><a href="<%= save_path %>" class="govuk-button" data-module="govuk-button" data-component="save-button"><%= t('presenter.save_and_return.save') %></a><% end %>
89
+ </button>
90
90
  <% end %>
91
91
 
92
92
  </div>
@@ -25,7 +25,7 @@
25
25
  content_components: @page.supported_content_components
26
26
  } %>
27
27
 
28
- <%= f.govuk_submit(disabled: editable?) %> <% if ENV['SAVE_AND_RETURN'] == 'enabled' %><a href="<%= save_path %>" class="govuk-button" data-module="govuk-button" data-component="save-button"><%= t('presenter.save_and_return.save') %></a><% end %>
28
+ <%= f.govuk_submit(disabled: editable?) %>
29
29
  <% end %>
30
30
  </div>
31
31
  </div>
@@ -18,7 +18,7 @@
18
18
  }
19
19
  %>
20
20
 
21
- <%= f.govuk_submit(disabled: editable?) %> <% if ENV['SAVE_AND_RETURN'] == 'enabled' %><a href="<%= save_path %>" class="govuk-button" data-module="govuk-button" data-component="save-button"><%= t('presenter.save_and_return.save') %></a><% end %>
21
+ <%= f.govuk_submit(disabled: editable?) %>
22
22
  <% end %>
23
23
  </div>
24
24
  </div>
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  <% end %>
22
22
 
23
- <%= f.govuk_submit(disabled: editable?) %> <% if ENV['SAVE_AND_RETURN'] == 'enabled' %><a href="<%= save_path %>" class="govuk-button" data-module="govuk-button" data-component="save-button"><%= t('presenter.save_and_return.save') %></a><% end %>
23
+ <%= f.govuk_submit(disabled: editable?) %>
24
24
  <% end %>
25
25
  </div>
26
26
  </div>
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '2.17.43'.freeze
2
+ VERSION = '2.17.45'.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.43
4
+ version: 2.17.45
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-29 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_design_system_formbuilder