govuk_publishing_components 27.8.2 → 27.9.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 +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +0 -12
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -4
- data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +0 -8
- 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 +0 -9
- data/config/locales/en.yml +1 -7
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -3
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-feedback-footer.html.erb +0 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 716757ceb3c2638a8c67e577bd15a1b62f9b65127ba98252084695f65ae961e9
|
|
4
|
+
data.tar.gz: 50c813732192c2f8a95a65f29cee6ad2ee9fceaa43f766f46d27c5b132db2fbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c7293c79a3baf87072f3994cb5b8eaee52838bf94b539681bc8cf3719e4e2df1a0fe22c3683c1da9df0d0abb88cad4c57a7aa75e267274db3f2bad90b3606a3
|
|
7
|
+
data.tar.gz: 4bcca70d40ad1f482bcc1b1bc7497ec43e1561262125f9009f6d5b119104c1684fe47f527a67ee56f49452e0861c60a6a8db083f8ad66333dde9f5b57c2d4847
|
|
@@ -52,15 +52,3 @@ $current-indicator-width: 4px;
|
|
|
52
52
|
color: $govuk-link-colour;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
.gem-c-layout-for-public-account-feedback-footer {
|
|
57
|
-
margin-bottom: govuk-spacing(4);
|
|
58
|
-
padding: govuk-spacing(3);
|
|
59
|
-
background: govuk-colour("light-grey");
|
|
60
|
-
|
|
61
|
-
@include govuk-media-query($from: tablet) {
|
|
62
|
-
padding: govuk-spacing(6);
|
|
63
|
-
margin-top: govuk-spacing(2);
|
|
64
|
-
margin-bottom: govuk-spacing(8);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
show_account_layout ||= false
|
|
19
19
|
account_nav_location ||= nil
|
|
20
|
-
omit_account_feedback_footer ||= false
|
|
21
20
|
omit_account_navigation ||= false
|
|
22
21
|
omit_account_phase_banner ||= false
|
|
23
22
|
|
|
@@ -136,9 +135,7 @@
|
|
|
136
135
|
</div>
|
|
137
136
|
<% end %>
|
|
138
137
|
|
|
139
|
-
<%
|
|
140
|
-
<%= render "govuk_publishing_components/components/layout_for_public/account-feedback-footer" %>
|
|
141
|
-
<% elsif !omit_feedback_form %>
|
|
138
|
+
<% unless omit_feedback_form %>
|
|
142
139
|
<div class="govuk-width-container">
|
|
143
140
|
<%= render "govuk_publishing_components/components/feedback" %>
|
|
144
141
|
</div>
|
|
@@ -68,14 +68,6 @@ examples:
|
|
|
68
68
|
block: |
|
|
69
69
|
<h2 class="govuk-heading-l">This is a title</h2>
|
|
70
70
|
<p class="govuk-body">This is some body text with <a href="https://example.com">a link</a>.
|
|
71
|
-
with_account_layout_but_without_account_feedback_footer:
|
|
72
|
-
description: The account layout renders with an account-specific feedback banner by default. This flag allows this banner to be omitted.
|
|
73
|
-
data:
|
|
74
|
-
show_account_layout: true
|
|
75
|
-
omit_account_feedback_footer: true
|
|
76
|
-
block: |
|
|
77
|
-
<h2 class="govuk-heading-l">This is a title</h2>
|
|
78
|
-
<p class="govuk-body">This is some body text with <a href="https://example.com">a link</a>.</p>
|
|
79
71
|
with_current_account_navigation:
|
|
80
72
|
description: "The account layout renders with an account-specific nav to help users navigate different areas of their account. This flag is here to allow control over which option in the nav is highlighted as `current`. Valid options are currently `your-account`, `manage`, and `security`."
|
|
81
73
|
data:
|
data/app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
CHANGED
|
@@ -19,14 +19,5 @@
|
|
|
19
19
|
data: { module: "explicit-cross-domain-links" },
|
|
20
20
|
) %>
|
|
21
21
|
</li>
|
|
22
|
-
<li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "security" %>">
|
|
23
|
-
<%= link_to(
|
|
24
|
-
t("components.layout_for_public.account_layout.navigation.menu_bar.security.link_text"),
|
|
25
|
-
GovukPersonalisation::Urls.security,
|
|
26
|
-
class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
|
|
27
|
-
'aria-current': page_is == "security" ? "page" : nil,
|
|
28
|
-
data: { module: "explicit-cross-domain-links" },
|
|
29
|
-
) %>
|
|
30
|
-
</li>
|
|
31
22
|
</ul>
|
|
32
23
|
</nav>
|
data/config/locales/en.yml
CHANGED
|
@@ -53,7 +53,7 @@ en:
|
|
|
53
53
|
two_words: " and "
|
|
54
54
|
type:
|
|
55
55
|
consultation: Consultation for %{nation}
|
|
56
|
-
detailed_guide: Guidance for %{nation}
|
|
56
|
+
detailed_guide: Guidance for %{nation}
|
|
57
57
|
guidance: Guidance for %{nation}
|
|
58
58
|
publication: Publication for %{nation}
|
|
59
59
|
england: England
|
|
@@ -94,13 +94,9 @@ en:
|
|
|
94
94
|
account_layout:
|
|
95
95
|
feedback:
|
|
96
96
|
banners:
|
|
97
|
-
footer_intro: We’re trialling GOV.UK accounts.
|
|
98
|
-
footer_link: Give feedback
|
|
99
|
-
footer_outro: on your experience so we can make them better.
|
|
100
97
|
phase_intro: We’re trialling GOV.UK accounts - your
|
|
101
98
|
phase_link: feedback
|
|
102
99
|
phase_outro: will help us improve them.
|
|
103
|
-
title: Help improve GOV.UK accounts
|
|
104
100
|
navigation:
|
|
105
101
|
destroy_user_session: Sign out
|
|
106
102
|
menu_bar:
|
|
@@ -108,8 +104,6 @@ en:
|
|
|
108
104
|
link_text: Your account
|
|
109
105
|
manage:
|
|
110
106
|
link_text: Manage your account
|
|
111
|
-
security:
|
|
112
|
-
link_text: Security and privacy
|
|
113
107
|
user_root_path: Account
|
|
114
108
|
layout_header:
|
|
115
109
|
hide_button: Hide search
|
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.
|
|
4
|
+
version: 27.9.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-10-
|
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|
|
@@ -836,7 +836,6 @@ files:
|
|
|
836
836
|
- app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
|
|
837
837
|
- app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
|
|
838
838
|
- app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb
|
|
839
|
-
- app/views/govuk_publishing_components/components/layout_for_public/_account-feedback-footer.html.erb
|
|
840
839
|
- app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb
|
|
841
840
|
- app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
|
|
842
841
|
- app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<%= tag.div(class: "govuk-width-container") do %>
|
|
2
|
-
<%= tag.div(class: "gem-c-layout-for-public-account-feedback-footer") do %>
|
|
3
|
-
<%= render "govuk_publishing_components/components/heading", {
|
|
4
|
-
text: t("components.layout_for_public.account_layout.feedback.banners.title"),
|
|
5
|
-
heading_level: 2,
|
|
6
|
-
font_size: "m",
|
|
7
|
-
margin_bottom: 4,
|
|
8
|
-
} %>
|
|
9
|
-
|
|
10
|
-
<p class="govuk-body govuk-!-margin-bottom-0">
|
|
11
|
-
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_intro") %>
|
|
12
|
-
<a href="<%= GovukPersonalisation::Urls.feedback %>" class="govuk-link">
|
|
13
|
-
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_link") %>
|
|
14
|
-
</a>
|
|
15
|
-
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_outro") %>
|
|
16
|
-
</p>
|
|
17
|
-
<% end %>
|
|
18
|
-
<% end %>
|