Skip to content

Commit

Permalink
Merge pull request #3373 from alphagov/add-inset-text-for-browse-page
Browse files Browse the repository at this point in the history
Adds action link for browse benefits page
  • Loading branch information
1pretz1 committed Sep 22, 2023
2 parents 56d092c + 5071be9 commit 98c4050
Show file tree
Hide file tree
Showing 67 changed files with 82 additions and 1 deletion.
17 changes: 16 additions & 1 deletion app/views/browse/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
} %>
<% end %>
<%= render "shared/browse_header", { margin_bottom: 9 } do %>
<%= render "shared/browse_header", { margin_bottom: page.slug == "benefits" ? 7 : 9 } do %>
<h1 class="browse__heading govuk-heading-xl">
<%= page.title %>
</h1>
Expand All @@ -31,6 +31,21 @@
} %>
<% end %>
<% if page.slug == "benefits" %>
<div class="govuk-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/action_link", {
text: t("browse.check_benefits_and_financial_support"),
href: "/check-benefits-financial-support",
dark_large_icon: true,
margin_bottom: 7,
} %>
</div>
</div>
</div>
<% end %>
<% total_links = page.second_level_browse_pages.count.to_s %>
<%= render "shared/browse_cards_container" do %>
<%= render "govuk_publishing_components/components/cards", {
Expand Down
1 change: 1 addition & 0 deletions config/locales/ar/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ar:
browse:
all_categories: جميع الفئات
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/az/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
az:
browse:
all_categories: Bütün kateqoriyalar
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/be/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
be:
browse:
all_categories: Усе катэгорыі
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/bg/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
bg:
browse:
all_categories: Всички категории
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/bn/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
bn:
browse:
all_categories: সকল শ্রেণিবিভাগ
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/cs/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
cs:
browse:
all_categories: Všechny kategorie
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/cy/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
cy:
browse:
all_categories: Pob categori
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/da/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
da:
browse:
all_categories: Alle kategorier
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/de/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
de:
browse:
all_categories: Alle Kategorien
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/dr/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
dr:
browse:
all_categories: تمام کتگوری ها
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/el/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
el:
browse:
all_categories: Όλες οι κατηγορίες
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/en/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
en:
browse:
all_categories: All categories
check_benefits_and_financial_support: Check benefits and financial support you can get
description: Find the government services, forms and accounts you need to use
title: Services and information
1 change: 1 addition & 0 deletions config/locales/es-419/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
es-419:
browse:
all_categories: Todas las categorías
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/es/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
es:
browse:
all_categories: Todas las categorías
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/et/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
et:
browse:
all_categories: Kõik kategooriad
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/fa/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
fa:
browse:
all_categories: تمام دسته‌بندی‌ها
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/fi/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
fi:
browse:
all_categories: Kaikki kategoriat
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/fr/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
fr:
browse:
all_categories: Toutes catégories
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/gd/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
gd:
browse:
all_categories: Gach cineál táirgí
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/gu/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
gu:
browse:
all_categories: તમામ શ્રેણીઓ
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/he/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
he:
browse:
all_categories: כל הקטגוריות
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/hi/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
hi:
browse:
all_categories: सभी वर्ग
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/hr/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
hr:
browse:
all_categories: Sve kategorije
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/hu/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
hu:
browse:
all_categories: Minden kategória
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/hy/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
hy:
browse:
all_categories: Բոլոր կատեգորիաները
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/id/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
id:
browse:
all_categories: Semua kategori
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/is/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
is:
browse:
all_categories: Allir flokkar
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/it/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
it:
browse:
all_categories: Tutte le categorie
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ja/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ja:
browse:
all_categories: すべてのカテゴリ
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ka/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ka:
browse:
all_categories: ყველა კატეგორია
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/kk/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
kk:
browse:
all_categories: Барлық санаттар
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ko/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ko:
browse:
all_categories: 모든 범주
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/lt/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
lt:
browse:
all_categories: Visos kategorijos
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/lv/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
lv:
browse:
all_categories: Visas kategorijas
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ms/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ms:
browse:
all_categories: Semua kategori
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/mt/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
mt:
browse:
all_categories: Kategoriji kollha
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ne/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ne:
browse:
all_categories:
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/nl/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
nl:
browse:
all_categories: Alle categorieën
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/no/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
'no':
browse:
all_categories: Alle kategorier
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/pa-pk/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
pa-pk:
browse:
all_categories: سارے گروہ
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/pa/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
pa:
browse:
all_categories: ਸਾਰੀਆਂ ਸ਼੍ਰੇਣੀਆਂ
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/pl/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
pl:
browse:
all_categories: Wszystkie kategorie
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ps/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ps:
browse:
all_categories: ټولې کټګورۍ
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/pt/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
pt:
browse:
all_categories: Todas as categorias
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ro/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ro:
browse:
all_categories: Toate categoriile
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/ru/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
ru:
browse:
all_categories: Все категории
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/si/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
si:
browse:
all_categories: සියලු ප්රවර්ග
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/sk/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
sk:
browse:
all_categories: Všetky kategórie
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/sl/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
sl:
browse:
all_categories: Vse kategorije
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/so/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
so:
browse:
all_categories: Dhamaan qeybaha
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/sq/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
sq:
browse:
all_categories: Të gjitha kategoritë
check_benefits_and_financial_support:
description:
title:
1 change: 1 addition & 0 deletions config/locales/sr/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
sr:
browse:
all_categories: Sve kategorije
check_benefits_and_financial_support:
description:
title:
Loading

0 comments on commit 98c4050

Please sign in to comment.