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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78588b2f14bf4b5e898e11a9eef5ded7c5a45ba60204cc1952f6e110ebb9e48f
4
- data.tar.gz: 8f16a10cdc57a7e0552477df1337e5f3b1b6977c4087af3d8d84cdb63d4c5606
3
+ metadata.gz: 22705caa733bb869a4d26a0fb32ac95d5c7d0ea4350c5b500f91cf0d9120a6a9
4
+ data.tar.gz: 937e0baaaeef193b825a83590a94558059e3687879da05437e33b56befd3c322
5
5
  SHA512:
6
- metadata.gz: 983c6175d79a5174125e3cf9b1416f40eb813d312944d5c8dc989bb6e82d35e25cc4f22e57fa5dc393d5929675824e2fb64fdd0bc7eea6f93174b324101bacd6
7
- data.tar.gz: 4b393b6555e8eca1a80b738f3b88c15f4891ec4bc5a23e04c2ae2b1f3afbb728c228cbf7419cffea127a97e96741b5ad7e2e40b9b2290665c70328342b957052
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
- 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,
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
- 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,
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
- <div class="govuk-!-margin-top-4">
4
- <%= render "govuk_publishing_components/components/intervention", {
5
- new_tab: true,
6
- suggestion_text: recruitment_banner.suggestion_text,
7
- suggestion_link_text: recruitment_banner.suggestion_link_text,
8
- suggestion_link_url: recruitment_banner.survey_url,
9
- image: recruitment_banner.image,
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
- <div class="govuk-!-margin-top-4">
4
- <%= render "govuk_publishing_components/components/notice", {
5
- title: uprating_banner.text,
6
- show_banner_title: true
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
@@ -1,3 +1,3 @@
1
1
  module GovukWebBanners
2
- VERSION = "1.36.0".freeze
2
+ VERSION = "1.37.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_web_banners
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev