govuk_publishing_components 25.7.0 → 26.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-feedback-footer.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb +3 -3
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/lib/govuk_publishing_components.rb +1 -0
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c3fd9e474526fc795f4e36972c920118b87ea55a36296a4b5ed63e5e6fdc116
|
4
|
+
data.tar.gz: 84373dc03aa19d36852a9d7766924a42c2a1e97704f23f0829b1723d1bf46e33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e997a780198073f264b340747df742bf7b9540e2f8106f9f29afb16028ea95533a22d4bf1403aa2b027785a9298585ac7700865ede41d7ab42dd1c00c6fcee70
|
7
|
+
data.tar.gz: 1d38aaaff509242556aebea94b66fe42001345f93f15513ee42c27f1f71d105e8a2f49e7b2e110f1ca317f5ffbf769e4cc4bc3fb00113a9ca88a00eb1fb28cad
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
<p class="govuk-body govuk-!-margin-bottom-0">
|
11
11
|
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_intro") %>
|
12
|
-
<a href="<%=
|
12
|
+
<a href="<%= GovukPersonalisation::Urls.feedback %>" class="govuk-link">
|
13
13
|
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_link") %>
|
14
14
|
</a>
|
15
15
|
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_outro") %>
|
data/app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="govuk-width-container">
|
2
2
|
<% message = capture do %>
|
3
3
|
<%= t("components.layout_for_public.account_layout.feedback.banners.phase_intro") %>
|
4
|
-
<a class="govuk-link" href=<%=
|
4
|
+
<a class="govuk-link" href=<%= GovukPersonalisation::Urls.feedback %>>
|
5
5
|
<%= t("components.layout_for_public.account_layout.feedback.banners.phase_link") %>
|
6
6
|
</a>
|
7
7
|
<%= t("components.layout_for_public.account_layout.feedback.banners.phase_outro") %>
|
data/app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "your-account" %>">
|
6
6
|
<%= link_to(
|
7
7
|
t("components.layout_for_public.account_layout.navigation.menu_bar.account.link_text"),
|
8
|
-
|
8
|
+
GovukPersonalisation::Urls.your_account,
|
9
9
|
class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
|
10
10
|
'aria-current': page_is == "your-account" ? "page" : nil,
|
11
11
|
) %>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "manage" %>">
|
14
14
|
<%= link_to(
|
15
15
|
t("components.layout_for_public.account_layout.navigation.menu_bar.manage.link_text"),
|
16
|
-
|
16
|
+
GovukPersonalisation::Urls.manage,
|
17
17
|
class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
|
18
18
|
'aria-current': page_is == "manage" ? "page" : nil,
|
19
19
|
) %>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "security" %>">
|
22
22
|
<%= link_to(
|
23
23
|
t("components.layout_for_public.account_layout.navigation.menu_bar.security.link_text"),
|
24
|
-
|
24
|
+
GovukPersonalisation::Urls.security,
|
25
25
|
class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
|
26
26
|
'aria-current': page_is == "security" ? "page" : nil,
|
27
27
|
) %>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require "active_support"
|
2
2
|
require "action_controller"
|
3
3
|
require "action_view"
|
4
|
+
require "govuk_personalisation"
|
4
5
|
require "govuk_publishing_components/config"
|
5
6
|
require "govuk_publishing_components/engine"
|
6
7
|
require "govuk_publishing_components/presenters/shared_helper"
|
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:
|
4
|
+
version: 26.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: 2021-
|
11
|
+
date: 2021-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: govuk_personalisation
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.7.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.7.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: kramdown
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +72,14 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: '6'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: '6'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rouge
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|