govuk_publishing_components 27.10.1 → 27.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js +1 -1
- data/app/views/govuk_publishing_components/components/_admin_analytics.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +1 -0
- data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +1 -0
- data/app/views/govuk_publishing_components/components/_taxonomy_list.html.erb +1 -0
- data/lib/govuk_publishing_components/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: 2a92c889f37a998fd33eaa7d63a5023675379057a7b1d6c715faa9eaecfb4b96
|
4
|
+
data.tar.gz: a65094daf71f7c7092994bdcab43be1e0839c563dadd3c7932e8914ab77dd6f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d9b2bf25703c953126dd01b6729d12e08c7d4dc626e7987cdeb7352b2426caf4825c299b3d21d1ddc7be736cb721947bc7baa92615014dabb2fa00732aa1156
|
7
|
+
data.tar.gz: 8770942781c1634da82bd444f57c98493d545ce6f52e776360c669905c9787a8557a78c3b5eb990b2fd7496b3068dfe98f8014e7a3f0a3b5580c9d9b8a2537a1
|
data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
// If engaged and rejected, append only ?cookie-consent=reject
|
15
15
|
// If engaged and accepted usage, append ?_ga=clientid if available and cookie-consent=accept
|
16
16
|
|
17
|
-
if (cookieBannerEngaged
|
17
|
+
if (cookieBannerEngaged !== 'true') {
|
18
18
|
this.decorate(element, 'cookie_consent=not-engaged')
|
19
19
|
return
|
20
20
|
}
|
@@ -1,4 +1,7 @@
|
|
1
|
-
<%
|
1
|
+
<%
|
2
|
+
warn('DEPRECATION WARNING: admin_analytics component is deprecated and will be removed in a future major release of govuk_publishing_components')
|
3
|
+
user_organisation ||= nil
|
4
|
+
%>
|
2
5
|
|
3
6
|
<script class="analytics">
|
4
7
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
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: 27.10.
|
4
|
+
version: 27.10.2
|
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: 2021-11-
|
11
|
+
date: 2021-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|