metadata_presenter 3.0.12 → 3.0.13

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: a602896f270c54746c390f648afc64ae64a8c785eb96ed7022532237f2697e48
4
- data.tar.gz: 976a920003afc45c31e10930fc915107bfb916c0b7dc2d36355968994d939cab
3
+ metadata.gz: 7e83b233434c6c1326ce48071b053fa340592fa11fdcfbecbc03bd80ef87ce6f
4
+ data.tar.gz: c8d125b7acdaab879c4bb72100ff30888ab0ae6895b574bdb8e4759cd74413cf
5
5
  SHA512:
6
- metadata.gz: 78c23cad76ab1e139c996b760a113f3c398dbc77caa934fec7c42b7a4f45a77a8a688be5a13db52901067c6dd47971dbbd71db3f39f8f7ce1bea932ab280ba4e
7
- data.tar.gz: f16485b0544570b3704d26887dff4e6eb9689b1f34a096f023ca2bafda835182ae1917f13b01864b19d53c42000686c24b117cb8fa0970c822ca89aa370caf3a
6
+ metadata.gz: a0849aeb8a96ee6d8eeadb6c32c70f907f6b9b50641bc56c8bffc7b49cf5ed57a20d5dbf1692f99d83cc373213dc6231cdd57b5a8167e005fe77760f9ef0f7ad
7
+ data.tar.gz: b830e9176d091c6d71b60d9d92dad84db8f977ef83ce8a492b5d800727363dc624fbae62df5b884d3e4ac5c602b49aadb7ba9c5df6b0b0971e27aa96d7f0cf63
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
 
20
20
  <% else %>
21
- <% if editable? %>
21
+ <% if editable? && @page.contains_placeholders? %>
22
22
  <%= govuk_notification_banner(title_text: t('notification_banners.important')) do |nb|
23
23
  nb.with_heading(
24
24
  text: t("notification_banners.#{@page.id.gsub('page.','')}.heading"),
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '3.0.12'.freeze
2
+ VERSION = '3.0.13'.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: 3.0.12
4
+ version: 3.0.13
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-07-06 00:00:00.000000000 Z
11
+ date: 2023-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_design_system_formbuilder