govuk_navigation_helpers 7.5.1 → 8.0.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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a8d53a0b9816b50497c8313afd80b4364b7ea16
|
|
4
|
+
data.tar.gz: 33886df66629debdb34052d67e1808401952c89b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f890e275991e6ccc0e3b0958f9e486c271fa1e184fdd8b9df851fc6d6f479e9b60c3c905e6b34e62dcdc040444bc44acb338013dd7958037f3c841b2e4f85be
|
|
7
|
+
data.tar.gz: f4e4b5b6b2c0b3656f73dfed959e89e2489a4d0a9a47c726cafc40f53277aee82eb644ed8b20a0955ca1f97244ebd7f8f4fd83b23dd696ebc23c04a9d7615b12
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 8.0.0
|
|
2
|
+
* Remove special handling of publication formats as the default layouts in government-frontend are sufficient
|
|
3
|
+
* Fix a link in tasklist content for /end-a-civil-partnership
|
|
4
|
+
|
|
1
5
|
## 7.5.1
|
|
2
6
|
* Change context for the Get Divorce & End Civil Partnership tasklists
|
|
3
7
|
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"context": "£50"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
|
-
"href": "/
|
|
223
|
+
"href": "/end-civil-partnership/if-your-partner-lacks-mental-capacity",
|
|
224
224
|
"text": "Get help if your civil partner can’t make decisions for themselves"
|
|
225
225
|
},
|
|
226
226
|
{
|
|
@@ -2,7 +2,6 @@ module GovukNavigationHelpers
|
|
|
2
2
|
class CurrentTasklistAbTest
|
|
3
3
|
TASKLIST_HEADER_DIMENSION = 44
|
|
4
4
|
TASKLIST_SIDEBAR_DIMENSION = 66
|
|
5
|
-
PUBLICATION_PAGE = "/government/publications/car-show-me-tell-me-vehicle-safety-questions".freeze
|
|
6
5
|
|
|
7
6
|
def initialize(current_tasklist:, request:)
|
|
8
7
|
@current_tasklist = current_tasklist
|
|
@@ -55,14 +54,6 @@ module GovukNavigationHelpers
|
|
|
55
54
|
header_variant.configure_response(response) if is_tested_page?
|
|
56
55
|
end
|
|
57
56
|
|
|
58
|
-
def publication_with_sidebar?
|
|
59
|
-
show_tasklist_sidebar? && request.path == PUBLICATION_PAGE
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
def publication_with_sidebar_template_name
|
|
63
|
-
"publication_with_tasklist_sidebar"
|
|
64
|
-
end
|
|
65
|
-
|
|
66
57
|
private
|
|
67
58
|
|
|
68
59
|
attr_reader :current_tasklist, :ab_test_prefix, :request
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_navigation_helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 8.0.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: 2017-12-
|
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gds-api-adapters
|