govuk_publishing_components 28.1.0 → 28.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/analytics/auto-scroll-tracker.js +2 -1
  4. data/app/assets/javascripts/govuk_publishing_components/analytics/auto-track-event.js +22 -22
  5. data/app/assets/javascripts/govuk_publishing_components/analytics/pii.js +9 -5
  6. data/app/assets/javascripts/govuk_publishing_components/analytics/track-click.js +4 -3
  7. data/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +0 -1
  8. data/app/assets/javascripts/govuk_publishing_components/components/details.js +2 -3
  9. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js +2 -2
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +5 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +0 -5
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +2 -2
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +67 -21
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -2
  15. data/app/views/govuk_publishing_components/components/_accordion.html.erb +1 -1
  16. data/app/views/govuk_publishing_components/components/_action_link.html.erb +1 -1
  17. data/app/views/govuk_publishing_components/components/_big_number.html.erb +19 -9
  18. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +0 -4
  19. data/app/views/govuk_publishing_components/components/_details.html.erb +1 -1
  20. data/app/views/govuk_publishing_components/components/_heading.html.erb +1 -1
  21. data/app/views/govuk_publishing_components/components/_hint.html.erb +1 -1
  22. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +22 -18
  23. data/app/views/govuk_publishing_components/components/_list.html.erb +1 -1
  24. data/app/views/govuk_publishing_components/components/_metadata.html.erb +1 -1
  25. data/app/views/govuk_publishing_components/components/_notice.html.erb +1 -1
  26. data/app/views/govuk_publishing_components/components/_print_link.html.erb +2 -2
  27. data/app/views/govuk_publishing_components/components/_search.html.erb +2 -2
  28. data/app/views/govuk_publishing_components/components/_select.html.erb +19 -1
  29. data/app/views/govuk_publishing_components/components/_share_links.html.erb +25 -22
  30. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +1 -1
  31. data/app/views/govuk_publishing_components/components/_textarea.html.erb +1 -1
  32. data/app/views/govuk_publishing_components/components/_title.html.erb +3 -3
  33. data/app/views/govuk_publishing_components/components/docs/big_number.yml +6 -0
  34. data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +0 -47
  35. data/app/views/govuk_publishing_components/components/docs/select.yml +12 -0
  36. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +26 -0
  37. data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +16 -8
  38. data/config/locales/ar.yml +2 -0
  39. data/config/locales/az.yml +2 -1
  40. data/config/locales/be.yml +2 -0
  41. data/config/locales/bg.yml +2 -0
  42. data/config/locales/bn.yml +2 -0
  43. data/config/locales/cs.yml +2 -0
  44. data/config/locales/cy.yml +2 -0
  45. data/config/locales/da.yml +2 -0
  46. data/config/locales/de.yml +2 -0
  47. data/config/locales/dr.yml +2 -0
  48. data/config/locales/el.yml +2 -0
  49. data/config/locales/en.yml +0 -4
  50. data/config/locales/es-419.yml +2 -0
  51. data/config/locales/es.yml +2 -0
  52. data/config/locales/et.yml +2 -0
  53. data/config/locales/fa.yml +2 -1
  54. data/config/locales/fi.yml +2 -0
  55. data/config/locales/fr.yml +2 -0
  56. data/config/locales/gd.yml +2 -0
  57. data/config/locales/gu.yml +2 -0
  58. data/config/locales/he.yml +2 -0
  59. data/config/locales/hi.yml +2 -0
  60. data/config/locales/hr.yml +2 -0
  61. data/config/locales/hu.yml +2 -0
  62. data/config/locales/hy.yml +2 -0
  63. data/config/locales/id.yml +2 -1
  64. data/config/locales/is.yml +2 -0
  65. data/config/locales/it.yml +2 -0
  66. data/config/locales/ja.yml +2 -1
  67. data/config/locales/ka.yml +2 -0
  68. data/config/locales/kk.yml +2 -0
  69. data/config/locales/ko.yml +2 -1
  70. data/config/locales/lt.yml +2 -0
  71. data/config/locales/lv.yml +2 -0
  72. data/config/locales/ms.yml +2 -1
  73. data/config/locales/mt.yml +2 -0
  74. data/config/locales/nl.yml +2 -0
  75. data/config/locales/no.yml +2 -0
  76. data/config/locales/pa-pk.yml +2 -0
  77. data/config/locales/pa.yml +2 -0
  78. data/config/locales/pl.yml +2 -0
  79. data/config/locales/ps.yml +2 -0
  80. data/config/locales/pt.yml +2 -0
  81. data/config/locales/ro.yml +2 -0
  82. data/config/locales/ru.yml +2 -0
  83. data/config/locales/si.yml +2 -0
  84. data/config/locales/sk.yml +2 -0
  85. data/config/locales/sl.yml +2 -0
  86. data/config/locales/so.yml +2 -0
  87. data/config/locales/sq.yml +2 -0
  88. data/config/locales/sr.yml +2 -1
  89. data/config/locales/sv.yml +2 -0
  90. data/config/locales/sw.yml +2 -0
  91. data/config/locales/ta.yml +2 -0
  92. data/config/locales/th.yml +2 -1
  93. data/config/locales/tk.yml +2 -0
  94. data/config/locales/tr.yml +2 -0
  95. data/config/locales/uk.yml +2 -0
  96. data/config/locales/ur.yml +2 -0
  97. data/config/locales/uz.yml +2 -0
  98. data/config/locales/vi.yml +2 -1
  99. data/config/locales/zh-hk.yml +2 -1
  100. data/config/locales/zh-tw.yml +2 -1
  101. data/config/locales/zh.yml +2 -1
  102. data/lib/govuk_publishing_components/presenters/big_number_helper.rb +30 -0
  103. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +0 -38
  104. data/lib/govuk_publishing_components/version.rb +1 -1
  105. data/lib/govuk_publishing_components.rb +1 -0
  106. metadata +5 -11
  107. data/app/views/govuk_publishing_components/components/contextual_sidebar/_covid_cta.html.erb +0 -27
@@ -83,6 +83,8 @@ hy:
83
83
  what_doing: Ի՞նչ էիք փնտրում։
84
84
  what_wrong: Ի՞նչը խնդիր առաջացավ։
85
85
  'yes': Այո
86
+ intervention:
87
+ accessible_link_text_suffix:
86
88
  layout_footer:
87
89
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
88
90
  licence_html: Ողջ բովանդակությունը հասանելի է <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0 հրապարակումների սերվերում</a>, բացառությամբ այլ դեպքերի
@@ -15,7 +15,6 @@ id:
15
15
  opendocument_html: File ini berformat <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a>
16
16
  order_a_copy: Pesan salinan
17
17
  page:
18
- one: 1 halaman
19
18
  other: "%{count} halaman"
20
19
  reference: 'Ref: %{reference}'
21
20
  request_format_cta: Minta format yang dapat diakses.
@@ -80,6 +79,8 @@ id:
80
79
  what_doing: Apa yang Anda lakukan?
81
80
  what_wrong: Apa yang salah?
82
81
  'yes': Ya
82
+ intervention:
83
+ accessible_link_text_suffix:
83
84
  layout_footer:
84
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">Hak Cipta © Crown</a>
85
86
  licence_html: Semu konten tersedia sesuai <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Lisensi Terbuka Pemerintah v3.0</a>, kecuali dinyatakan berbeda
@@ -79,6 +79,8 @@ is:
79
79
  what_doing: Hvað varstu að gera?
80
80
  what_wrong: Hvað fór úrskeiðis?
81
81
  'yes': Já
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© höfunarréttur Krúnunnar</a>
84
86
  licence_html: Allt efni er aðgengilegt samkvæmt <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, nema annað sé tekið fram
@@ -79,6 +79,8 @@ it:
79
79
  what_doing: Cosa stavi facendo?
80
80
  what_wrong: Cosa è andato storto?
81
81
  'yes': Sì
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
84
86
  licence_html: Tutto il contenuto è disponibile sotto la <a class=”govuk-footer__link” href=”https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/” rel=”license”>Open Government Licence v3.0</a>, tranne dove diversamente indicato
@@ -15,7 +15,6 @@ ja:
15
15
  opendocument_html: このファイルは、<a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a> 形式です
16
16
  order_a_copy: コピーを注文する
17
17
  page:
18
- one: 1ページ
19
18
  other: "%{count}ページ"
20
19
  reference: 参照:%{reference}
21
20
  request_format_cta: アクセス可能なフォーマットをリクエストしてください。
@@ -76,6 +75,8 @@ ja:
76
75
  what_doing: 何をしましたか?
77
76
  what_wrong: どのような不具合ですか?
78
77
  'yes': はい
78
+ intervention:
79
+ accessible_link_text_suffix:
79
80
  layout_footer:
80
81
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
81
82
  licence_html: 特に明記されていない限り、すべてのコンテンツは <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>でご利用いただけます。
@@ -82,6 +82,8 @@ ka:
82
82
  what_doing: რას აკეთებდით?
83
83
  what_wrong: რა მოხდა არასწორად?
84
84
  'yes': დიახ
85
+ intervention:
86
+ accessible_link_text_suffix:
85
87
  layout_footer:
86
88
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© გვირგვინის ქოფირაითი</a>
87
89
  licence_html: ყველა მასალა ხელმისაწვდომია <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, გარდა სხვა განცხადებებისა
@@ -79,6 +79,8 @@ kk:
79
79
  what_doing: Сіз не істеп жатыр едіңіз?
80
80
  what_wrong: Не дұрыс болмады?
81
81
  'yes': Иә
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown авторлық құқығы</a>
84
86
  licence_html: Барлық мазмұн <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Ашық мемлекеттік лицензиясы v3.0</a> (басқаша жазылғанды қоспағанда) сайтында қолжетімді
@@ -15,7 +15,6 @@ ko:
15
15
  opendocument_html:
16
16
  order_a_copy:
17
17
  page:
18
- one:
19
18
  other:
20
19
  reference:
21
20
  request_format_cta:
@@ -75,6 +74,8 @@ ko:
75
74
  what_doing:
76
75
  what_wrong:
77
76
  'yes':
77
+ intervention:
78
+ accessible_link_text_suffix:
78
79
  layout_footer:
79
80
  copyright_html:
80
81
  licence_html:
@@ -84,6 +84,8 @@ lt:
84
84
  what_doing: Ką darėte?
85
85
  what_wrong: Kas nutiko?
86
86
  'yes': Taip
87
+ intervention:
88
+ accessible_link_text_suffix:
87
89
  layout_footer:
88
90
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
89
91
  licence_html: Visą turinį rasite <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, nebent nurodyta kitaip
@@ -83,6 +83,8 @@ lv:
83
83
  what_doing: Ko jūs darījāt?
84
84
  what_wrong: Kādas problēmas radās?
85
85
  'yes': Jā
86
+ intervention:
87
+ accessible_link_text_suffix:
86
88
  layout_footer:
87
89
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Britu sadraudzības autortiesības</a>
88
90
  licence_html: Viss saturs, kas ir pieejams saskaņā ar <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">valsts izsniegto atklāto licenci v3.0</a>, izņemot, ja norādīts citādi
@@ -15,7 +15,6 @@ ms:
15
15
  opendocument_html: Fail ini terdapat dalam format <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a>
16
16
  order_a_copy: Pesan satu salinan
17
17
  page:
18
- one: 1 halaman
19
18
  other: "%{count} halaman"
20
19
  reference: 'Ruj: %{reference}'
21
20
  request_format_cta: Minta format yang boleh diakses.
@@ -79,6 +78,8 @@ ms:
79
78
  what_doing: Apa yang anda buat?
80
79
  what_wrong: Apa yang salah?
81
80
  'yes': Ya
81
+ intervention:
82
+ accessible_link_text_suffix:
82
83
  layout_footer:
83
84
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
84
85
  licence_html: Semua kandungan tersedia di bawah <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license"> Lesen Terbuka Kerajaan v3.0 </a>, kecuali jika dinyatakan sebaliknya
@@ -81,6 +81,8 @@ mt:
81
81
  what_doing: X'kont qed tagħmel?
82
82
  what_wrong: X'mar ħażin?
83
83
  'yes': Iva
84
+ intervention:
85
+ accessible_link_text_suffix:
84
86
  layout_footer:
85
87
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
86
88
  licence_html: Il-kontenut huwa kollu disponibbli taħt <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Liċenzja ta' Gvern miftuħ v3.0</a>, except where otherwise stated
@@ -79,6 +79,8 @@ nl:
79
79
  what_doing: Wat was u aan het doen?
80
80
  what_wrong: Wat ging er mis?
81
81
  'yes': Ja
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
84
86
  licence_html: Alle inhoud is beschikbaar onder de <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Overheidslicentie v3.0</a>, behalve waar anders vermeld
@@ -79,6 +79,8 @@
79
79
  what_doing: Hva gjorde du?
80
80
  what_wrong: Hva gikk galt?
81
81
  'yes': Ja
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
84
86
  licence_html: Alt innhold er tilgjengelig under<a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, med mindre annet er angitt
@@ -75,6 +75,8 @@ pa-pk:
75
75
  what_doing: تُسی کیہ کر رئے سو
76
76
  what_wrong: کیہ غلط ہویا اے
77
77
  'yes': جی ہاں
78
+ intervention:
79
+ accessible_link_text_suffix:
78
80
  layout_footer:
79
81
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/ information-management/re-using-public-sector-information/copyright-and-re-use/ /crown-copyright/">© کاپی کراؤن رائٹ</a>
80
82
  licence_html: سارا مواد ایندے تھلے موجود اے <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">اوپن گورنمنٹ لائسنس v3.0</a>, ایہ قبول کر لو جیڑا ایس توں علاوہ اے
@@ -79,6 +79,8 @@ pa:
79
79
  what_doing: ਤੁਸੀਂ ਕੀ ਕਰ ਰਹੇ ਸੀ?
80
80
  what_wrong: ਕੀ ਗਲਤ ਹੋਇਆ?
81
81
  'yes': ਹਾਂ
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© ਕ੍ਰਾਊਨ ਕਾਪੀਰਾਈਟ</a>
84
86
  licence_html: ਸਾਰੀ ਸਮਗਰੀ <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">ਓਪਨ ਗਵਰਨਮੈਂਟ ਲਾਇਸੈਂਸ v3.0</a>, ਦੇ ਅਧੀਨ ਸਾਰੀ ਸਮਗਰੀ ਉਪਲਬਧ ਹੈ ਸਿਵਾਏ ਇਸਦੇ ਜਿੱਥੇ ਹੋਰ ਨਹੀਂ ਕਿਹਾ ਗਿਆ ਹੈ
@@ -83,6 +83,8 @@ pl:
83
83
  what_doing: Co robiłeś?
84
84
  what_wrong: Co poszło nie tak?
85
85
  'yes': Tak
86
+ intervention:
87
+ accessible_link_text_suffix:
86
88
  layout_footer:
87
89
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Właścicielem praw autorskich jest Korona</a>
88
90
  licence_html: Cała zawartość objęta jest licencją <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, chyba że zaznaczono inaczej
@@ -76,6 +76,8 @@ ps:
76
76
  what_doing: ته څه کوې؟
77
77
  what_wrong: څه غلط شول؟
78
78
  'yes': هو
79
+ intervention:
80
+ accessible_link_text_suffix:
79
81
  layout_footer:
80
82
  copyright_html: <a class = "govuk-footer__link govuk-footer__copyright-logo" href = "http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use /crown-copyright/"> rown د تاج کاپي حق </a>
81
83
  licence_html: ټول مینځپانګه د <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license"> لاندې خلاصې دي د حکومت جواز v3.0 </a> ، پرته لدې چیرې چې بل ډول ویل شوي
@@ -79,6 +79,8 @@ pt:
79
79
  what_doing: O que estava a fazer?
80
80
  what_wrong: O que correu mal?
81
81
  'yes': Sim
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Direitos de autor da Coroa</a>
84
86
  licence_html: Todo o conteúdo está disponível ao abrigo da <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, exceto quando indicado em contrário
@@ -80,6 +80,8 @@ ro:
80
80
  what_doing: Ce făceați?
81
81
  what_wrong: Ce eroare a survenit?
82
82
  'yes': Da
83
+ intervention:
84
+ accessible_link_text_suffix:
83
85
  layout_footer:
84
86
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
85
87
  licence_html: Tot conținutul este disponibil conform <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, cu excepția cazurilor în care s-a specificat altceva
@@ -83,6 +83,8 @@ ru:
83
83
  what_doing: Что вы делали?
84
84
  what_wrong: Что пошло не так?
85
85
  'yes': Да
86
+ intervention:
87
+ accessible_link_text_suffix:
86
88
  layout_footer:
87
89
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Авторское право Британского содружества наций</a>
88
90
  licence_html: Все содержимое доступно на <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license"> Открытой государственной лицензии v3.0</a>, если не указано иное
@@ -79,6 +79,8 @@ si:
79
79
  what_doing: ඔබ කුමක් ද කරමින් සිටියේ?
80
80
  what_wrong: වැරදුණේ කුමක්ද?
81
81
  'yes': ඔව්
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© රාජ්‍ය කතුහිමිකම</a>
84
86
  licence_html: සියලු අන්තගතයන් වෙනත් ආකාරයකින් සඳහන් කර තිබුණොත් මිසක <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">රජයේ විවෘත බලපත්‍ර v3.0</a>, යටතේ ලබා ගත හැකිය
@@ -84,6 +84,8 @@ sk:
84
84
  what_doing: Čo ste robili?
85
85
  what_wrong: Čo sa pokazilo?
86
86
  'yes': Áno
87
+ intervention:
88
+ accessible_link_text_suffix:
87
89
  layout_footer:
88
90
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Korunné autorské práva</a>
89
91
  licence_html: Všetok obsah je k dispozícii pod <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">licenciou Open Government Licence v3.0</a>, okrem prípadov, keď je uvedené inak
@@ -86,6 +86,8 @@ sl:
86
86
  what_doing: Kaj ste počeli?
87
87
  what_wrong: Kaj je šlo narobe?
88
88
  'yes': Da
89
+ intervention:
90
+ accessible_link_text_suffix:
89
91
  layout_footer:
90
92
  copyright_html: <a class="govnu-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Avtorske pravice krone</a>
91
93
  licence_html: Vsa vsebina je na voljo na <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Odprto vladno dovoljenje v3.0</a>, razen kjer je zapisano drugače
@@ -79,6 +79,8 @@ so:
79
79
  what_doing: Maxaad doonaysaa inuu laguu qabto?
80
80
  what_wrong: Maxaa qaldamay?
81
81
  'yes': Haa
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
84
86
  licence_html: Dhamaan qaybaha waxa laga heli karaa <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, except where otherwise stated
@@ -79,6 +79,8 @@ sq:
79
79
  what_doing: Cfare po bënit?
80
80
  what_wrong: Çfarë shkoi keq?
81
81
  'yes': Po
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown e drejta e autorit</a>
84
86
  licence_html: E gjithë përmbajtja është në dispozicion nën <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Licencën e Qeverisë së Hapur v3.0</a>, përveç rasteve kur thuhet ndryshe
@@ -16,7 +16,6 @@ sr:
16
16
  order_a_copy: Zatražite primerak
17
17
  page:
18
18
  few:
19
- many:
20
19
  one: 1 stranica
21
20
  other: "%{count} str."
22
21
  reference: 'Ref: %{reference}'
@@ -81,6 +80,8 @@ sr:
81
80
  what_doing: Šta ste radili?
82
81
  what_wrong: Koji problem se javio?
83
82
  'yes': Da
83
+ intervention:
84
+ accessible_link_text_suffix:
84
85
  layout_footer:
85
86
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
86
87
  licence_html: Sav sadržaj je dostupan pod licencom <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, izuzev ako je drugačije naznačeno
@@ -79,6 +79,8 @@ sv:
79
79
  what_doing: Vad gjorde du?
80
80
  what_wrong: Vad gick fel?
81
81
  'yes': Ja
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
84
86
  licence_html: Allt innehåll är tillgängligt enligt <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, om inget annat anges
@@ -79,6 +79,8 @@ sw:
79
79
  what_doing: Ulikuwa unafanya nini?
80
80
  what_wrong: Tatizo lipi lililotokea?
81
81
  'yes': Ndiyo
82
+ intervention:
83
+ accessible_link_text_suffix:
82
84
  layout_footer:
83
85
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Hakimiliki ya Crown</a>
84
86
  licence_html: Maudhui yote yanapatikana chini ya <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, isipokuwa ibainishwe vinginevyo
@@ -80,6 +80,8 @@ ta:
80
80
  what_doing: நீங்கள் என்ன செய்து கொண்டிருந்தீர்கள்?
81
81
  what_wrong: என்ன தவறு நடந்தது?
82
82
  'yes': ஆம்
83
+ intervention:
84
+ accessible_link_text_suffix:
83
85
  layout_footer:
84
86
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown காப்புரிமை</a>
85
87
  licence_html: வேறுவகையில் குறிப்பிடப்படாதவரை அனைத்து உள்ளடக்கமும் <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>-ன்கீழ் கிடைக்கிறது.
@@ -15,7 +15,6 @@ th:
15
15
  opendocument_html: ไฟล์นี้อยู่ในรูปแบบ <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a>
16
16
  order_a_copy: สั่งซื้อสำเนา
17
17
  page:
18
- one: 1 หน้า
19
18
  other: "%{count} หน้า"
20
19
  reference: 'อ้างอิง: %{reference}'
21
20
  request_format_cta: ขอรูปแบบไฟล์ที่สามารถเข้าถึงได้
@@ -78,6 +77,8 @@ th:
78
77
  what_doing: คุณทำอะไรอยู่ในขณะนั้น
79
78
  what_wrong: มีสิ่งใดผิดปกติ
80
79
  'yes': ใช่
80
+ intervention:
81
+ accessible_link_text_suffix:
81
82
  layout_footer:
82
83
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">ลิขสิทธิ์ © Crown</a>
83
84
  licence_html: เนื้อหาทั้งหมดอยู่ภายใต้สัญญาอนุญาต <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government License v3.0</a> ยกเว้นจะระบุไว้เป็นอย่างอื่น
@@ -80,6 +80,8 @@ tk:
80
80
  what_doing: Näme edýärdiňiz?
81
81
  what_wrong: Näme nädogry boldy?
82
82
  'yes': Hawa
83
+ intervention:
84
+ accessible_link_text_suffix:
83
85
  layout_footer:
84
86
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown awtorlyk hukugy</a>
85
87
  licence_html: Ähli mazmun <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Açyk hökümet ygtyýarnamasy v3.0-da görkezilen</a>, eger başgaça bellenilmedik bolsa
@@ -80,6 +80,8 @@ tr:
80
80
  what_doing: Ne yapmaktaydınız?
81
81
  what_wrong: Nasıl bir sorun oldu?
82
82
  'yes': Evet
83
+ intervention:
84
+ accessible_link_text_suffix:
83
85
  layout_footer:
84
86
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
85
87
  licence_html: Aksi ifade edilmedikçe tüm içeriğe <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a> adresinden erişilebilir
@@ -86,6 +86,8 @@ uk:
86
86
  what_doing: Що ви робили?
87
87
  what_wrong: Що пішло не так?
88
88
  'yes': Так
89
+ intervention:
90
+ accessible_link_text_suffix:
89
91
  layout_footer:
90
92
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
91
93
  licence_html: Весь вміст доступний за <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Відкритою державною ліцензією v3.0</a>, якщо не зазначено інше
@@ -76,6 +76,8 @@ ur:
76
76
  what_doing: آپ کیا کر رہے تھے؟
77
77
  what_wrong: کیا غلط ہوا؟
78
78
  'yes': جی ہاں
79
+ intervention:
80
+ accessible_link_text_suffix:
79
81
  layout_footer:
80
82
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown کاپی رائٹ</a>
81
83
  licence_html: سوائے ان کے جنہیں بصورت دیگر بیان کیا گیا ہے، <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a> کے تحت تمام مواد دستیاب ہے
@@ -81,6 +81,8 @@ uz:
81
81
  what_doing: Сиз нима қилаётган эдингиз?
82
82
  what_wrong: Қандай хатолик бўлди?
83
83
  'yes': Ҳа
84
+ intervention:
85
+ accessible_link_text_suffix:
84
86
  layout_footer:
85
87
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Британия миллатлар ҳамдўстлигининг муаллифлик ҳуқуқи</a>
86
88
  licence_html: Бутун таркиб <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">“Очиқ давлат лицензияси, версия 3.0” дастурида эришимли</a>, агар бошқаси кўрсатилмаган бўлса
@@ -15,7 +15,6 @@ vi:
15
15
  opendocument_html: Tệp này có định dạng <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a>
16
16
  order_a_copy: Đặt hàng một bản sao
17
17
  page:
18
- one: 1 trang
19
18
  other: "%{count} trang"
20
19
  reference: 'Tham khảo: %{reference}'
21
20
  request_format_cta: Yêu cầu một định dạng có thể truy cập.
@@ -79,6 +78,8 @@ vi:
79
78
  what_doing: Bạn đang làm gì?
80
79
  what_wrong: Sự cố gì đã xảy ra?
81
80
  'yes': Có
81
+ intervention:
82
+ accessible_link_text_suffix:
82
83
  layout_footer:
83
84
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Bản quyền Crown</a>
84
85
  licence_html: Tất cả nội dung đều có sẵn theo <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Giấy phép Chính phủ Mở pb3.0</a>, trừ khi có quy định khác
@@ -15,7 +15,6 @@ zh-hk:
15
15
  opendocument_html: 此文檔為 <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a> 格式
16
16
  order_a_copy: 索取副本
17
17
  page:
18
- one: 1 頁
19
18
  other: "%{count} 頁"
20
19
  reference: 'Ref: %{reference}'
21
20
  request_format_cta: 索取可讀取之格式。
@@ -78,6 +77,8 @@ zh-hk:
78
77
  what_doing: 您剛才在做什麼?
79
78
  what_wrong: 出現什麼錯誤?
80
79
  'yes': 是
80
+ intervention:
81
+ accessible_link_text_suffix:
81
82
  layout_footer:
82
83
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown 版權所有</a>
83
84
  licence_html: 除另有說明者外,所有內容均可在 <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>獲取。
@@ -15,7 +15,6 @@ zh-tw:
15
15
  opendocument_html: 本檔案於 <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>開放文件</a> 格式
16
16
  order_a_copy: 預定副本
17
17
  page:
18
- one: 一頁
19
18
  other: "%{count} 頁面"
20
19
  reference: 參考:%{reference}
21
20
  request_format_cta: 請求可參閱格式。
@@ -78,6 +77,8 @@ zh-tw:
78
77
  what_doing: 你做了什麼?
79
78
  what_wrong: 哪出錯了?
80
79
  'yes': 是的
80
+ intervention:
81
+ accessible_link_text_suffix:
81
82
  layout_footer:
82
83
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
83
84
  licence_html: 所有內容都具 <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">英國政府開放授權v3.0</a>,除非另有說明
@@ -15,7 +15,6 @@ zh:
15
15
  opendocument_html: 本文件是 <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>开放式文本</a> 格式
16
16
  order_a_copy: 订购副本
17
17
  page:
18
- one: 1页
19
18
  other: "%{count} 页"
20
19
  reference: 参考号:%{reference}
21
20
  request_format_cta: 申请可访问格式。
@@ -78,6 +77,8 @@ zh:
78
77
  what_doing: 您在干什么?
79
78
  what_wrong: 发生了哪些错误?
80
79
  'yes': 是
80
+ intervention:
81
+ accessible_link_text_suffix:
81
82
  layout_footer:
82
83
  copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown版权所有</a>
83
84
  licence_html: 除另有说明外,所有内容均可在 <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">开放政府许可证第3.0版</a>获取
@@ -0,0 +1,30 @@
1
+ module GovukPublishingComponents
2
+ module Presenters
3
+ class BigNumberHelper
4
+ def initialize(local_assigns)
5
+ @label = local_assigns[:label]
6
+ @href = local_assigns[:href]
7
+ @number = local_assigns[:number] || nil
8
+ end
9
+
10
+ def value_classes
11
+ class_list = ["gem-c-big-number__value"]
12
+
13
+ if @label.nil? && @href
14
+ class_list << "gem-c-big-number__value--decorated"
15
+ end
16
+
17
+ class_list
18
+ end
19
+
20
+ # This function is to check for small symbols which alter how the number is rendered lightly
21
+ # We do this to account for small symbols awkwardly sitting above the baseline in our typeface and adjust them to sit at the baseline for the purpose of visual harmony
22
+ # Currently the only small symbol used with big numbers are pluses so they are specifically targetted in the below code
23
+ def number_has_plus_suffix?
24
+ if @number.is_a? String
25
+ @number.ends_with?("+")
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -153,44 +153,6 @@ module GovukPublishingComponents
153
153
  brexit_cta_taxon_allow_list?
154
154
  end
155
155
 
156
- def show_covid_booster_cta?
157
- !covid_booster_cta_document_type_exempt? &&
158
- !covid_booster_cta_taxon_exception_list?
159
- end
160
-
161
- def covid_booster_cta_document_type_exempt?
162
- covid_booster_cta_document_type_exceptions.include?(content_item["document_type"])
163
- end
164
-
165
- def covid_booster_cta_document_type_exceptions
166
- %w[
167
- simple_smart_answer
168
- smart_answer
169
- step_by_step_nav
170
- ]
171
- end
172
-
173
- def covid_booster_cta_taxon_exception_list?
174
- taxons = content_item.dig("links", "taxons").to_a
175
- taxons.each do |taxon|
176
- if covid_booster_cta_taxon_exception_list.include?(taxon["content_id"]) || parent_taxon_include?(taxon, covid_booster_cta_taxon_exception_list)
177
- return true
178
- end
179
- end
180
- false
181
- end
182
-
183
- def covid_booster_cta_taxon_exception_list
184
- # Welfare > Death and benefits
185
- # Life circumstances > Death and bereavement
186
- # Life circumstances > Death registration disclosure
187
- %w[
188
- ac7b8472-5d09-4679-9551-87847b0ac827
189
- 0fffa994-b76d-4539-8bf9-2a6c6751580d
190
- de978199-11e8-49b9-965e-4fa6a7ae79a8
191
- ]
192
- end
193
-
194
156
  def content_tagged_to_current_step_by_step?
195
157
  # TODO: remove indirection here
196
158
  step_nav_helper.show_header?
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "28.1.0".freeze
2
+ VERSION = "28.5.0".freeze
3
3
  end
@@ -6,6 +6,7 @@ require "govuk_publishing_components/config"
6
6
  require "govuk_publishing_components/engine"
7
7
  require "govuk_publishing_components/presenters/shared_helper"
8
8
  require "govuk_publishing_components/presenters/attachment"
9
+ require "govuk_publishing_components/presenters/big_number_helper"
9
10
  require "govuk_publishing_components/presenters/breadcrumbs"
10
11
  require "govuk_publishing_components/presenters/breadcrumb_selector"
11
12
  require "govuk_publishing_components/presenters/button_helper"