govuk_publishing_components 29.5.0 → 29.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js +72 -73
- data/app/assets/javascripts/govuk_publishing_components/analytics/page-content.js +11 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/gtm-click-tracking.js +49 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4.js +1 -0
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +20 -6
- data/app/assets/javascripts/govuk_publishing_components/modules.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-measurer.js +28 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +11 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +1 -1
- data/app/controllers/govuk_publishing_components/audit_controller.rb +1 -4
- data/app/models/govuk_publishing_components/audit_components.rb +61 -24
- data/app/views/govuk_publishing_components/audit/_applications.html.erb +8 -3
- data/app/views/govuk_publishing_components/audit/_component_contents.html.erb +82 -0
- data/app/views/govuk_publishing_components/audit/_components.html.erb +2 -47
- data/app/views/govuk_publishing_components/component_guide/index.html.erb +2 -2
- data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_attachment_link.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_cards.html.erb +13 -11
- data/app/views/govuk_publishing_components/components/docs/contents_list.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/document_list.yml +4 -4
- data/app/views/govuk_publishing_components/components/docs/heading.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/image_card.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/meta_tags.yml +4 -4
- data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/share_links.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/subscription_links.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/translation_nav.yml +1 -2
- data/config/locales/ar.yml +1 -0
- data/config/locales/az.yml +1 -0
- data/config/locales/be.yml +1 -0
- data/config/locales/bg.yml +1 -0
- data/config/locales/bn.yml +1 -0
- data/config/locales/cs.yml +1 -0
- data/config/locales/cy.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/dr.yml +1 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +54 -3
- data/config/locales/es-419.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/fa.yml +1 -0
- data/config/locales/fi.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/gd.yml +1 -0
- data/config/locales/gu.yml +1 -0
- data/config/locales/he.yml +1 -0
- data/config/locales/hi.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -0
- data/config/locales/hy.yml +1 -0
- data/config/locales/id.yml +1 -0
- data/config/locales/is.yml +1 -0
- data/config/locales/it.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/ka.yml +1 -0
- data/config/locales/kk.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +1 -0
- data/config/locales/ms.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +1 -0
- data/config/locales/no.yml +1 -0
- data/config/locales/pa-pk.yml +1 -0
- data/config/locales/pa.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/ps.yml +1 -0
- data/config/locales/pt.yml +1 -0
- data/config/locales/ro.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/config/locales/si.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sl.yml +1 -0
- data/config/locales/so.yml +1 -0
- data/config/locales/sq.yml +1 -0
- data/config/locales/sr.yml +1 -0
- data/config/locales/sv.yml +1 -0
- data/config/locales/sw.yml +1 -0
- data/config/locales/ta.yml +1 -0
- data/config/locales/th.yml +1 -0
- data/config/locales/tk.yml +1 -0
- data/config/locales/tr.yml +1 -0
- data/config/locales/uk.yml +1 -0
- data/config/locales/ur.yml +1 -0
- data/config/locales/uz.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-hk.yml +1 -0
- data/config/locales/zh-tw.yml +1 -0
- data/config/locales/zh.yml +1 -0
- data/lib/generators/govuk_publishing_components/templates/_component.html.erb +1 -1
- data/lib/govuk_publishing_components/app_helpers/brand_helper.rb +1 -1
- data/lib/govuk_publishing_components/presenters/{attachment.rb → attachment_helper.rb} +1 -2
- data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +18 -289
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/lib/govuk_publishing_components.rb +1 -1
- metadata +7 -4
data/config/locales/gu.yml
CHANGED
@@ -84,6 +84,7 @@ gu:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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>હેઠળ ઉપલબ્ધ છે, સિવાય કે અન્યથા જણાવેલ હોય
|
87
|
+
navigation_links:
|
87
88
|
support_links: સપોર્ટ લિંક્સ
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/he.yml
CHANGED
@@ -84,6 +84,7 @@ he:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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>, אלא אם מצוין אחרת
|
87
|
+
navigation_links:
|
87
88
|
support_links: תומך בקישורים
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/hi.yml
CHANGED
@@ -84,6 +84,7 @@ hi:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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> के तहत उपलब्ध है, अन्यथा दर्शाए गए को छोड़कर
|
87
|
+
navigation_links:
|
87
88
|
support_links: सहायता लिंक
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/hr.yml
CHANGED
@@ -86,6 +86,7 @@ hr:
|
|
86
86
|
layout_footer:
|
87
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>
|
88
88
|
licence_html: Sav sadržaj dostupan je pod <a class="govuk-footer__link"href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"rel="license">Otvorena Državna licenca v3.0</a>, osim ako nije drugačije navedeno
|
89
|
+
navigation_links:
|
89
90
|
support_links: Linkovi za podršku
|
90
91
|
layout_for_public:
|
91
92
|
account_layout:
|
data/config/locales/hu.yml
CHANGED
@@ -87,6 +87,7 @@ hu:
|
|
87
87
|
layout_footer:
|
88
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/">© Crown copyright</a>
|
89
89
|
licence_html: Minden tartalom a <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Nyílt Közigazgatási Engedélyek v3.0</a> keretein belül elérhető, kivéve, ha ettől eltérő információ van feltüntetve
|
90
|
+
navigation_links:
|
90
91
|
support_links: Támogató hivatkozások
|
91
92
|
layout_for_public:
|
92
93
|
account_layout:
|
data/config/locales/hy.yml
CHANGED
@@ -88,6 +88,7 @@ hy:
|
|
88
88
|
layout_footer:
|
89
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>
|
90
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>, բացառությամբ այլ դեպքերի
|
91
|
+
navigation_links:
|
91
92
|
support_links: Օգտակար հղումներ
|
92
93
|
layout_for_public:
|
93
94
|
account_layout:
|
data/config/locales/id.yml
CHANGED
@@ -84,6 +84,7 @@ id:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Tautan dukungan
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/is.yml
CHANGED
@@ -84,6 +84,7 @@ is:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Stuðningshlekkir
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/it.yml
CHANGED
@@ -84,6 +84,7 @@ it:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Link di supporto
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/ja.yml
CHANGED
@@ -80,6 +80,7 @@ ja:
|
|
80
80
|
layout_footer:
|
81
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>
|
82
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>でご利用いただけます。
|
83
|
+
navigation_links:
|
83
84
|
support_links: サポートリンク
|
84
85
|
layout_for_public:
|
85
86
|
account_layout:
|
data/config/locales/ka.yml
CHANGED
@@ -87,6 +87,7 @@ ka:
|
|
87
87
|
layout_footer:
|
88
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>
|
89
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>, გარდა სხვა განცხადებებისა
|
90
|
+
navigation_links:
|
90
91
|
support_links: დამხმარე ბმულები
|
91
92
|
layout_for_public:
|
92
93
|
account_layout:
|
data/config/locales/kk.yml
CHANGED
@@ -84,6 +84,7 @@ kk:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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> (басқаша жазылғанды қоспағанда) сайтында қолжетімді
|
87
|
+
navigation_links:
|
87
88
|
support_links: Қолдау сілтемелері
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/ko.yml
CHANGED
data/config/locales/lt.yml
CHANGED
@@ -89,6 +89,7 @@ lt:
|
|
89
89
|
layout_footer:
|
90
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>
|
91
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
|
92
|
+
navigation_links:
|
92
93
|
support_links: Palaikymo nuorodos
|
93
94
|
layout_for_public:
|
94
95
|
account_layout:
|
data/config/locales/lv.yml
CHANGED
@@ -88,6 +88,7 @@ lv:
|
|
88
88
|
layout_footer:
|
89
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>
|
90
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
|
91
|
+
navigation_links:
|
91
92
|
support_links: Atbalsta saites
|
92
93
|
layout_for_public:
|
93
94
|
account_layout:
|
data/config/locales/ms.yml
CHANGED
@@ -83,6 +83,7 @@ ms:
|
|
83
83
|
layout_footer:
|
84
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>
|
85
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
|
86
|
+
navigation_links:
|
86
87
|
support_links: Pautan sokongan
|
87
88
|
layout_for_public:
|
88
89
|
account_layout:
|
data/config/locales/mt.yml
CHANGED
@@ -86,6 +86,7 @@ mt:
|
|
86
86
|
layout_footer:
|
87
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>
|
88
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
|
89
|
+
navigation_links:
|
89
90
|
support_links: Links ta' għajnuna
|
90
91
|
layout_for_public:
|
91
92
|
account_layout:
|
data/config/locales/nl.yml
CHANGED
@@ -84,6 +84,7 @@ nl:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Links ondersteunen
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/no.yml
CHANGED
@@ -84,6 +84,7 @@
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Støttelenker
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/pa-pk.yml
CHANGED
@@ -80,6 +80,7 @@ pa-pk:
|
|
80
80
|
layout_footer:
|
81
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>
|
82
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>, ایہ قبول کر لو جیڑا ایس توں علاوہ اے
|
83
|
+
navigation_links:
|
83
84
|
support_links: مدد کرن والے لنک
|
84
85
|
layout_for_public:
|
85
86
|
account_layout:
|
data/config/locales/pa.yml
CHANGED
@@ -84,6 +84,7 @@ pa:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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>, ਦੇ ਅਧੀਨ ਸਾਰੀ ਸਮਗਰੀ ਉਪਲਬਧ ਹੈ ਸਿਵਾਏ ਇਸਦੇ ਜਿੱਥੇ ਹੋਰ ਨਹੀਂ ਕਿਹਾ ਗਿਆ ਹੈ
|
87
|
+
navigation_links:
|
87
88
|
support_links: ਸਪੋਰਟ ਲਿੰਕ
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/pl.yml
CHANGED
@@ -88,6 +88,7 @@ pl:
|
|
88
88
|
layout_footer:
|
89
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>
|
90
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
|
91
|
+
navigation_links:
|
91
92
|
support_links: Linki pomocnicze
|
92
93
|
layout_for_public:
|
93
94
|
account_layout:
|
data/config/locales/ps.yml
CHANGED
@@ -81,6 +81,7 @@ ps:
|
|
81
81
|
layout_footer:
|
82
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>
|
83
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> ، پرته لدې چیرې چې بل ډول ویل شوي
|
84
|
+
navigation_links:
|
84
85
|
support_links: د ملاتړ لینکونه
|
85
86
|
layout_for_public:
|
86
87
|
account_layout:
|
data/config/locales/pt.yml
CHANGED
@@ -84,6 +84,7 @@ pt:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Links de apoio
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/ro.yml
CHANGED
@@ -85,6 +85,7 @@ ro:
|
|
85
85
|
layout_footer:
|
86
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>
|
87
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
|
88
|
+
navigation_links:
|
88
89
|
support_links: Linkuri către asistență
|
89
90
|
layout_for_public:
|
90
91
|
account_layout:
|
data/config/locales/ru.yml
CHANGED
@@ -88,6 +88,7 @@ ru:
|
|
88
88
|
layout_footer:
|
89
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>
|
90
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>, если не указано иное
|
91
|
+
navigation_links:
|
91
92
|
support_links: Ссылки поддержки
|
92
93
|
layout_for_public:
|
93
94
|
account_layout:
|
data/config/locales/si.yml
CHANGED
@@ -84,6 +84,7 @@ si:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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>, යටතේ ලබා ගත හැකිය
|
87
|
+
navigation_links:
|
87
88
|
support_links: සහාය සබැඳි
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/sk.yml
CHANGED
@@ -89,6 +89,7 @@ sk:
|
|
89
89
|
layout_footer:
|
90
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>
|
91
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
|
92
|
+
navigation_links:
|
92
93
|
support_links: Podporné odkazy
|
93
94
|
layout_for_public:
|
94
95
|
account_layout:
|
data/config/locales/sl.yml
CHANGED
@@ -91,6 +91,7 @@ sl:
|
|
91
91
|
layout_footer:
|
92
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>
|
93
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
|
94
|
+
navigation_links:
|
94
95
|
support_links: Podporne povezave
|
95
96
|
layout_for_public:
|
96
97
|
account_layout:
|
data/config/locales/so.yml
CHANGED
@@ -84,6 +84,7 @@ so:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Linkiyada caawinta
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/sq.yml
CHANGED
@@ -84,6 +84,7 @@ sq:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Lidhjet mbështetëse
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/sr.yml
CHANGED
@@ -85,6 +85,7 @@ sr:
|
|
85
85
|
layout_footer:
|
86
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>
|
87
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
|
88
|
+
navigation_links:
|
88
89
|
support_links: Veze do podrške
|
89
90
|
layout_for_public:
|
90
91
|
account_layout:
|
data/config/locales/sv.yml
CHANGED
@@ -84,6 +84,7 @@ sv:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Supportlänkar
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/sw.yml
CHANGED
@@ -84,6 +84,7 @@ sw:
|
|
84
84
|
layout_footer:
|
85
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>
|
86
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
|
87
|
+
navigation_links:
|
87
88
|
support_links: Viungo vya ziada
|
88
89
|
layout_for_public:
|
89
90
|
account_layout:
|
data/config/locales/ta.yml
CHANGED
@@ -85,6 +85,7 @@ ta:
|
|
85
85
|
layout_footer:
|
86
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>
|
87
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>-ன்கீழ் கிடைக்கிறது.
|
88
|
+
navigation_links:
|
88
89
|
support_links: உதவி இணைப்புகள்
|
89
90
|
layout_for_public:
|
90
91
|
account_layout:
|
data/config/locales/th.yml
CHANGED
@@ -82,6 +82,7 @@ th:
|
|
82
82
|
layout_footer:
|
83
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>
|
84
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> ยกเว้นจะระบุไว้เป็นอย่างอื่น
|
85
|
+
navigation_links:
|
85
86
|
support_links: ลิงค์สนับสนุน
|
86
87
|
layout_for_public:
|
87
88
|
account_layout:
|
data/config/locales/tk.yml
CHANGED
@@ -85,6 +85,7 @@ tk:
|
|
85
85
|
layout_footer:
|
86
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>
|
87
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
|
88
|
+
navigation_links:
|
88
89
|
support_links: Goldaw baglanyşyklary
|
89
90
|
layout_for_public:
|
90
91
|
account_layout:
|
data/config/locales/tr.yml
CHANGED
@@ -85,6 +85,7 @@ tr:
|
|
85
85
|
layout_footer:
|
86
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>
|
87
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
|
88
|
+
navigation_links:
|
88
89
|
support_links: Destek bağlantıları
|
89
90
|
layout_for_public:
|
90
91
|
account_layout:
|
data/config/locales/uk.yml
CHANGED
@@ -91,6 +91,7 @@ uk:
|
|
91
91
|
layout_footer:
|
92
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>
|
93
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>, якщо не зазначено інше
|
94
|
+
navigation_links:
|
94
95
|
support_links: Посилання на підтримку
|
95
96
|
layout_for_public:
|
96
97
|
account_layout:
|
data/config/locales/ur.yml
CHANGED
@@ -81,6 +81,7 @@ ur:
|
|
81
81
|
layout_footer:
|
82
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>
|
83
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> کے تحت تمام مواد دستیاب ہے
|
84
|
+
navigation_links:
|
84
85
|
support_links: معاونتی لنکس
|
85
86
|
layout_for_public:
|
86
87
|
account_layout:
|
data/config/locales/uz.yml
CHANGED
@@ -86,6 +86,7 @@ uz:
|
|
86
86
|
layout_footer:
|
87
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>
|
88
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>, агар бошқаси кўрсатилмаган бўлса
|
89
|
+
navigation_links:
|
89
90
|
support_links: Қўллаб-қувватлашга ҳавола
|
90
91
|
layout_for_public:
|
91
92
|
account_layout:
|
data/config/locales/vi.yml
CHANGED
@@ -83,6 +83,7 @@ vi:
|
|
83
83
|
layout_footer:
|
84
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>
|
85
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
|
86
|
+
navigation_links:
|
86
87
|
support_links: Liên kết hỗ trợ
|
87
88
|
layout_for_public:
|
88
89
|
account_layout:
|
data/config/locales/zh-hk.yml
CHANGED
@@ -82,6 +82,7 @@ zh-hk:
|
|
82
82
|
layout_footer:
|
83
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>
|
84
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>獲取。
|
85
|
+
navigation_links:
|
85
86
|
support_links: 支援連結
|
86
87
|
layout_for_public:
|
87
88
|
account_layout:
|
data/config/locales/zh-tw.yml
CHANGED
@@ -82,6 +82,7 @@ zh-tw:
|
|
82
82
|
layout_footer:
|
83
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>
|
84
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>,除非另有說明
|
85
|
+
navigation_links:
|
85
86
|
support_links: 補充連結
|
86
87
|
layout_for_public:
|
87
88
|
account_layout:
|
data/config/locales/zh.yml
CHANGED
@@ -82,6 +82,7 @@ zh:
|
|
82
82
|
layout_footer:
|
83
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>
|
84
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>获取
|
85
|
+
navigation_links:
|
85
86
|
support_links: 支持链接
|
86
87
|
layout_for_public:
|
87
88
|
account_layout:
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<div class="<%= @component_prefix %><%= @public_name %>">
|
2
|
-
<h2><a href="https://github.com/alphagov/govuk_publishing_components/blob/
|
2
|
+
<h2><a href="https://github.com/alphagov/govuk_publishing_components/blob/main/docs/component_conventions.md">How to build a component</a></h2>
|
3
3
|
</div>
|
@@ -7,7 +7,7 @@ module GovukPublishingComponents
|
|
7
7
|
|
8
8
|
# Apply government organisation branding to individual components, specifically
|
9
9
|
# link colour and border colour
|
10
|
-
# see https://github.com/alphagov/govuk_publishing_components/blob/
|
10
|
+
# see https://github.com/alphagov/govuk_publishing_components/blob/main/docs/component_branding.md
|
11
11
|
|
12
12
|
def brand_class
|
13
13
|
"brand--#{@brand}" if @brand
|
@@ -1,13 +1,12 @@
|
|
1
1
|
module GovukPublishingComponents
|
2
2
|
module Presenters
|
3
|
-
class
|
3
|
+
class AttachmentHelper
|
4
4
|
# Various departments are taking part in a pilot to use a form
|
5
5
|
# rather than direct email for users to request accessible formats. When the pilot
|
6
6
|
# scheme is rolled out further this can be removed.
|
7
7
|
# Currently DfE, DWP and DVSA are participating in the pilot.
|
8
8
|
EMAILS_IN_ACCESSIBLE_FORMAT_REQUEST_PILOT = %w[govuk_publishing_components@example.com
|
9
9
|
alternative.formats@education.gov.uk
|
10
|
-
accessible.formats@dwp.gov.uk
|
11
10
|
gov.uk.publishing@dvsa.gov.uk].freeze
|
12
11
|
|
13
12
|
delegate :opendocument?, :document?, :spreadsheet?, to: :content_type
|