govuk_publishing_components 21.17.0 → 21.18.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c480a133414e7813c564f3d73c83eb46c6027dd6df9ddc4dd8bde39970522ef
|
|
4
|
+
data.tar.gz: 39f22123a41b81a5b7361c9fc4a20ceb1c73f3091e203c2e62c8cecfd34bb55b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b9f0c5be55c829492c0246b2d2a075f5825aaa0b6337a32ed137636b043c8c2983e7f8d0654736caac00cb952401345454d7e4e0c3b44a199ae343f4a3002e2
|
|
7
|
+
data.tar.gz: e6267ae6a5b50aafa0173919d1a14cee5fdabd55efead4d96f6e205454c2adf2db961c62aa348c8e5f3f747933e35941acb624daf645c22487c016044b608ec4
|
|
@@ -79,7 +79,10 @@ module GovukPublishingComponents
|
|
|
79
79
|
def show_brexit_cta?
|
|
80
80
|
# If tagged directly to /brexit or /world/brexit
|
|
81
81
|
# Or if tagged to a taxon which has /brexit as a parent
|
|
82
|
-
|
|
82
|
+
# And is not the brexit checker start page
|
|
83
|
+
brexit_start_page_content_id = "58d093a1-787d-4f36-a568-86da23a7b884"
|
|
84
|
+
page_content_id = content_item["content_id"]
|
|
85
|
+
tagged_to_brexit? && (page_content_id != brexit_start_page_content_id)
|
|
83
86
|
end
|
|
84
87
|
|
|
85
88
|
def step_by_step_count
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_publishing_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 21.
|
|
4
|
+
version: 21.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-01-
|
|
11
|
+
date: 2020-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gds-api-adapters
|