govuk_web_banners 1.36.0 → 1.37.1
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/views/govuk_web_banners/_emergency_banner.html.erb +6 -6
- data/app/views/govuk_web_banners/_global_banner.html.erb +5 -5
- data/app/views/govuk_web_banners/_recruitment_banner.html.erb +7 -9
- data/app/views/govuk_web_banners/_uprating_banner.html.erb +4 -6
- data/config/govuk_web_banners/recruitment_banners.yml +32 -0
- data/lib/govuk_web_banners/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22705caa733bb869a4d26a0fb32ac95d5c7d0ea4350c5b500f91cf0d9120a6a9
|
|
4
|
+
data.tar.gz: 937e0baaaeef193b825a83590a94558059e3687879da05437e33b56befd3c322
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ec24a87c28dcff21ad78cc0e94aa5f97513b68fa163129062e1b29a7bd10b80b3136ed34fcb57912188f70ff62c45009373f4784bd1a2050d15ab676e8d97d7
|
|
7
|
+
data.tar.gz: 65abfae0cd16f4694834f634f15e738af7d3a0eb9560876b31918cccbb317c00927ec4e6655c8bf298dddaec0bba72cd4d08a4c823971f60b4ef246143f63da9
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<% emergency_banner = GovukWebBanners::EmergencyBanner.new %>
|
|
2
2
|
<% if emergency_banner.active? %>
|
|
3
3
|
<%= render "govuk_publishing_components/components/emergency_banner", {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
campaign_class: emergency_banner.campaign_class,
|
|
5
|
+
heading: emergency_banner.heading,
|
|
6
|
+
link: emergency_banner.link,
|
|
7
|
+
link_text: emergency_banner.link_text,
|
|
8
|
+
short_description: emergency_banner.short_description,
|
|
9
|
+
homepage: local_assigns[:homepage] || false,
|
|
10
10
|
} %>
|
|
11
11
|
<% end %>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<% global_banners = GovukWebBanners::GlobalBanner.for_path(request.path) %>
|
|
2
2
|
<% if global_banners.any? %>
|
|
3
3
|
<%= render "govuk_publishing_components/components/global_banner", {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
title: global_banners.first.title,
|
|
5
|
+
title_href: global_banners.first.title_href,
|
|
6
|
+
text: global_banners.first.text,
|
|
7
|
+
always_visible: global_banners.first.always_visible,
|
|
8
|
+
banner_version: global_banners.first.version,
|
|
9
9
|
} %>
|
|
10
10
|
<% end %>
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
<% recruitment_banner = GovukWebBanners::RecruitmentBanner.for_path(request.path) %>
|
|
2
2
|
<% if recruitment_banner.present? %>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} %>
|
|
11
|
-
</div>
|
|
3
|
+
<%= render "govuk_publishing_components/components/intervention", {
|
|
4
|
+
new_tab: true,
|
|
5
|
+
suggestion_text: recruitment_banner.suggestion_text,
|
|
6
|
+
suggestion_link_text: recruitment_banner.suggestion_link_text,
|
|
7
|
+
suggestion_link_url: recruitment_banner.survey_url,
|
|
8
|
+
image: recruitment_banner.image,
|
|
9
|
+
} %>
|
|
12
10
|
<% end %>
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<% uprating_banner = GovukWebBanners::UpratingBanner.for_path(request.path) %>
|
|
2
2
|
<% if uprating_banner.present? %>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} %>
|
|
8
|
-
</div>
|
|
3
|
+
<%= render "govuk_publishing_components/components/notice", {
|
|
4
|
+
title: uprating_banner.text,
|
|
5
|
+
show_banner_title: true
|
|
6
|
+
} %>
|
|
9
7
|
<% end %>
|
|
@@ -105,3 +105,35 @@ banners:
|
|
|
105
105
|
- /government/organisations
|
|
106
106
|
start_date: 2026/07/01
|
|
107
107
|
end_date: 2026/08/03
|
|
108
|
+
- name: (URB-43) Annual Charity account prep 2026/07/03
|
|
109
|
+
suggestion_text: "Help improve GOV.UK"
|
|
110
|
+
suggestion_link_text: "Sign up to take part in user research (opens in a new tab)"
|
|
111
|
+
survey_url: https://surveys.publishing.service.gov.uk/s/HUQK87/
|
|
112
|
+
page_paths:
|
|
113
|
+
# frontend
|
|
114
|
+
- /prepare-charitys-annual-accounts
|
|
115
|
+
- /government/collections/charity-accounts-financial-reporting-and-tax
|
|
116
|
+
- /guidance/prepare-a-charity-annual-return
|
|
117
|
+
- /prepare-charitys-annual-accounts/y
|
|
118
|
+
- /prepare-charitys-annual-accounts/y/yes
|
|
119
|
+
- /prepare-charitys-annual-accounts/y/yes/up-to-25-000
|
|
120
|
+
- /prepare-charitys-annual-accounts/y/yes/over-25-000-to-250-000
|
|
121
|
+
- /prepare-charitys-annual-accounts/y/yes/over-250-000-to-500-000
|
|
122
|
+
- /prepare-charitys-annual-accounts/y/yes/over-250-000-to-500-000/yes
|
|
123
|
+
- /prepare-charitys-annual-accounts/y/yes/over-250-000-to-500-000/no
|
|
124
|
+
- /prepare-charitys-annual-accounts/y/yes/over-500-000-to-1-million
|
|
125
|
+
- /prepare-charitys-annual-accounts/y/yes/over-500-000-to-1-million/yes
|
|
126
|
+
- /prepare-charitys-annual-accounts/y/yes/over-500-000-to-1-million/no
|
|
127
|
+
- /prepare-charitys-annual-accounts/y/yes/over-1-million
|
|
128
|
+
- /prepare-charitys-annual-accounts/y/no
|
|
129
|
+
- /prepare-charitys-annual-accounts/y/no/up-to-25-000
|
|
130
|
+
- /prepare-charitys-annual-accounts/y/no/over-25-000-to-250-000
|
|
131
|
+
- /prepare-charitys-annual-accounts/y/no/over-250-000-to-500-000
|
|
132
|
+
- /prepare-charitys-annual-accounts/y/no/over-250-000-to-500-000/yes
|
|
133
|
+
- /prepare-charitys-annual-accounts/y/no/over-250-000-to-500-000/no
|
|
134
|
+
- /prepare-charitys-annual-accounts/y/no/over-500-000-to-1-million
|
|
135
|
+
- /prepare-charitys-annual-accounts/y/no/over-500-000-to-1-million/yes
|
|
136
|
+
- /prepare-charitys-annual-accounts/y/no/over-500-000-to-1-million/no
|
|
137
|
+
- /prepare-charitys-annual-accounts/y/no/over-1-million
|
|
138
|
+
start_date: 2026/07/03
|
|
139
|
+
end_date: 2026/07/24
|