govuk_publishing_components 29.13.0 → 29.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/action-link-arrow--white.png +0 -0
- data/app/assets/images/govuk_publishing_components/action-link-arrow--white.svg +1 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/gtm-page-views.js +5 -3
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/pii-remover.js +135 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4.js +2 -0
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +27 -22
- data/app/assets/javascripts/govuk_publishing_components/components/table.js +52 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +1 -92
- data/app/models/govuk_publishing_components/audit_applications.rb +31 -9
- data/app/models/govuk_publishing_components/audit_comparer.rb +15 -9
- data/app/views/govuk_publishing_components/audit/_components.html.erb +20 -2
- data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +33 -36
- data/app/views/govuk_publishing_components/components/_table.html.erb +61 -30
- data/app/views/govuk_publishing_components/components/docs/accordion.yml +2 -1
- data/app/views/govuk_publishing_components/components/docs/action_link.yml +8 -0
- data/app/views/govuk_publishing_components/components/docs/back_link.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/big_number.yml +2 -2
- data/app/views/govuk_publishing_components/components/docs/breadcrumbs.yml +2 -2
- data/app/views/govuk_publishing_components/components/docs/button.yml +41 -40
- data/app/views/govuk_publishing_components/components/docs/cards.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/checkboxes.yml +216 -216
- data/app/views/govuk_publishing_components/components/docs/cookie_banner.yml +2 -1
- data/app/views/govuk_publishing_components/components/docs/copy_to_clipboard.yml +2 -2
- data/app/views/govuk_publishing_components/components/docs/details.yml +5 -1
- data/app/views/govuk_publishing_components/components/docs/document_list.yml +1 -2
- data/app/views/govuk_publishing_components/components/docs/error_alert.yml +4 -0
- data/app/views/govuk_publishing_components/components/docs/error_summary.yml +4 -6
- data/app/views/govuk_publishing_components/components/docs/image_card.yml +2 -1
- data/app/views/govuk_publishing_components/components/docs/intervention.yml +25 -25
- data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +1 -2
- data/app/views/govuk_publishing_components/components/docs/previous_and_next_navigation.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/print_link.yml +5 -1
- data/app/views/govuk_publishing_components/components/docs/select.yml +101 -98
- data/app/views/govuk_publishing_components/components/docs/table.yml +36 -1
- data/app/views/govuk_publishing_components/components/docs/tabs.yml +4 -0
- data/config/locales/ar.yml +6 -0
- data/config/locales/az.yml +6 -0
- data/config/locales/be.yml +6 -0
- data/config/locales/bg.yml +6 -0
- data/config/locales/bn.yml +6 -0
- data/config/locales/cs.yml +6 -0
- data/config/locales/cy.yml +6 -0
- data/config/locales/da.yml +6 -0
- data/config/locales/de.yml +6 -0
- data/config/locales/dr.yml +6 -0
- data/config/locales/el.yml +6 -0
- data/config/locales/en.yml +6 -0
- data/config/locales/es-419.yml +6 -0
- data/config/locales/es.yml +6 -0
- data/config/locales/et.yml +6 -0
- data/config/locales/fa.yml +6 -0
- data/config/locales/fi.yml +6 -0
- data/config/locales/fr.yml +6 -0
- data/config/locales/gd.yml +6 -0
- data/config/locales/gu.yml +6 -0
- data/config/locales/he.yml +6 -0
- data/config/locales/hi.yml +6 -0
- data/config/locales/hr.yml +6 -0
- data/config/locales/hu.yml +6 -0
- data/config/locales/hy.yml +6 -0
- data/config/locales/id.yml +6 -0
- data/config/locales/is.yml +6 -0
- data/config/locales/it.yml +6 -0
- data/config/locales/ja.yml +6 -0
- data/config/locales/ka.yml +6 -0
- data/config/locales/kk.yml +6 -0
- data/config/locales/ko.yml +6 -0
- data/config/locales/lt.yml +6 -0
- data/config/locales/lv.yml +6 -0
- data/config/locales/ms.yml +6 -0
- data/config/locales/mt.yml +6 -0
- data/config/locales/nl.yml +6 -0
- data/config/locales/no.yml +6 -0
- data/config/locales/pa-pk.yml +6 -0
- data/config/locales/pa.yml +6 -0
- data/config/locales/pl.yml +6 -0
- data/config/locales/ps.yml +6 -0
- data/config/locales/pt.yml +6 -0
- data/config/locales/ro.yml +6 -0
- data/config/locales/ru.yml +6 -0
- data/config/locales/si.yml +6 -0
- data/config/locales/sk.yml +6 -0
- data/config/locales/sl.yml +6 -0
- data/config/locales/so.yml +6 -0
- data/config/locales/sq.yml +6 -0
- data/config/locales/sr.yml +6 -0
- data/config/locales/sv.yml +6 -0
- data/config/locales/sw.yml +6 -0
- data/config/locales/ta.yml +6 -0
- data/config/locales/th.yml +6 -0
- data/config/locales/tk.yml +6 -0
- data/config/locales/tr.yml +6 -0
- data/config/locales/uk.yml +6 -0
- data/config/locales/ur.yml +6 -0
- data/config/locales/uz.yml +6 -0
- data/config/locales/vi.yml +6 -0
- data/config/locales/zh-hk.yml +6 -0
- data/config/locales/zh-tw.yml +6 -0
- data/config/locales/zh.yml +6 -0
- data/lib/govuk_publishing_components/app_helpers/table_helper.rb +4 -2
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/govuk/components/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +102 -44
- data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/template.njk +3 -2
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +10 -10
- data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +92 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +3 -0
- data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +14 -6
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +9 -3
- data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +76 -1
- data/node_modules/govuk-frontend/govuk/components/pagination/README.md +15 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +244 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/fixtures.json +300 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/macro-options.json +128 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/macro.njk +3 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/template.njk +62 -0
- data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +147 -43
- data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/radios/template.njk +3 -2
- data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +56 -2
- data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/select/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk-esm/all.mjs +12 -12
- data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs +2 -2
- data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs +4 -4
- data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs +1 -1
- data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs +4 -4
- data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs +6 -6
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{DOMTokenList.js → DOMTokenList.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Document.js → Document.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{classList.js → classList.mjs} +4 -4
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{closest.js → closest.mjs} +1 -1
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{matches.js → matches.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{nextElementSibling.js → nextElementSibling.mjs} +2 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{previousElementSibling.js → previousElementSibling.mjs} +2 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Element.js → Element.mjs} +1 -1
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Event.js → Event.mjs} +3 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/{bind.js → bind.mjs} +1 -1
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/{defineProperty.js → defineProperty.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Window.js → Window.mjs} +0 -0
- data/node_modules/govuk-frontend/package.json +8 -2
- metadata +26 -15
data/config/locales/ps.yml
CHANGED
@@ -129,7 +129,9 @@ ps:
|
|
129
129
|
organisation_schema:
|
130
130
|
all_content_search_description: له%{organization} څخه ټوله مینځپانګه ومومئ
|
131
131
|
previous_and_next_navigation:
|
132
|
+
next:
|
132
133
|
pagination: مخینه
|
134
|
+
previous:
|
133
135
|
print_link:
|
134
136
|
text: دا پاڼه چاپ کړئ
|
135
137
|
radio:
|
@@ -195,5 +197,9 @@ ps:
|
|
195
197
|
summary_list:
|
196
198
|
delete: ړنګول
|
197
199
|
edit: بدلون
|
200
|
+
table:
|
201
|
+
filter_count:
|
202
|
+
filter_label:
|
203
|
+
filter_message:
|
198
204
|
tabs:
|
199
205
|
contents: منځپانګې
|
data/config/locales/pt.yml
CHANGED
@@ -132,7 +132,9 @@ pt:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Encontrar todo o conteúdo de %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Paginação
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Imprimir esta página
|
138
140
|
radio:
|
@@ -198,5 +200,9 @@ pt:
|
|
198
200
|
summary_list:
|
199
201
|
delete: Apagar
|
200
202
|
edit: Alterar
|
203
|
+
table:
|
204
|
+
filter_count:
|
205
|
+
filter_label:
|
206
|
+
filter_message:
|
201
207
|
tabs:
|
202
208
|
contents: Conteúdos
|
data/config/locales/ro.yml
CHANGED
@@ -133,7 +133,9 @@ ro:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: Găsiți tot conținutul de la %{organisation}
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: Paginație
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: Imprimați această pagină
|
139
141
|
radio:
|
@@ -199,5 +201,9 @@ ro:
|
|
199
201
|
summary_list:
|
200
202
|
delete: Ștergeți
|
201
203
|
edit: Modificați
|
204
|
+
table:
|
205
|
+
filter_count:
|
206
|
+
filter_label:
|
207
|
+
filter_message:
|
202
208
|
tabs:
|
203
209
|
contents: Conținut
|
data/config/locales/ru.yml
CHANGED
@@ -136,7 +136,9 @@ ru:
|
|
136
136
|
organisation_schema:
|
137
137
|
all_content_search_description: Найти весь контент от %{organization}
|
138
138
|
previous_and_next_navigation:
|
139
|
+
next:
|
139
140
|
pagination: Разбивка
|
141
|
+
previous:
|
140
142
|
print_link:
|
141
143
|
text: Распечатать эту страницу
|
142
144
|
radio:
|
@@ -202,5 +204,9 @@ ru:
|
|
202
204
|
summary_list:
|
203
205
|
delete: Удалить
|
204
206
|
edit: Изменить
|
207
|
+
table:
|
208
|
+
filter_count:
|
209
|
+
filter_label:
|
210
|
+
filter_message:
|
205
211
|
tabs:
|
206
212
|
contents: Содержание
|
data/config/locales/si.yml
CHANGED
@@ -132,7 +132,9 @@ si:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: "%{organisation} වෙතින් සියලුම අන්තර්ගතය සෝයන්න"
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: පිටු අංකය
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: මෙම පිටුව මුද්රණය කරන්න
|
138
140
|
radio:
|
@@ -198,5 +200,9 @@ si:
|
|
198
200
|
summary_list:
|
199
201
|
delete: මකන්න
|
200
202
|
edit: වෙනස් කරන්න
|
203
|
+
table:
|
204
|
+
filter_count:
|
205
|
+
filter_label:
|
206
|
+
filter_message:
|
201
207
|
tabs:
|
202
208
|
contents: අන්තර්ගත
|
data/config/locales/sk.yml
CHANGED
@@ -137,7 +137,9 @@ sk:
|
|
137
137
|
organisation_schema:
|
138
138
|
all_content_search_description: Nájsť všetok obsah z %{organisation}
|
139
139
|
previous_and_next_navigation:
|
140
|
+
next:
|
140
141
|
pagination: Stránkovanie
|
142
|
+
previous:
|
141
143
|
print_link:
|
142
144
|
text: Vytlačiť túto stránku
|
143
145
|
radio:
|
@@ -203,5 +205,9 @@ sk:
|
|
203
205
|
summary_list:
|
204
206
|
delete: Odstrániť
|
205
207
|
edit: Zmeniť
|
208
|
+
table:
|
209
|
+
filter_count:
|
210
|
+
filter_label:
|
211
|
+
filter_message:
|
206
212
|
tabs:
|
207
213
|
contents: Obsah
|
data/config/locales/sl.yml
CHANGED
@@ -139,7 +139,9 @@ sl:
|
|
139
139
|
organisation_schema:
|
140
140
|
all_content_search_description: Oglejte si vse gradivo %{organisation}
|
141
141
|
previous_and_next_navigation:
|
142
|
+
next:
|
142
143
|
pagination: Oštevilčenje
|
144
|
+
previous:
|
143
145
|
print_link:
|
144
146
|
text: Natisni to stran
|
145
147
|
radio:
|
@@ -205,5 +207,9 @@ sl:
|
|
205
207
|
summary_list:
|
206
208
|
delete: Izbriši
|
207
209
|
edit: Spremeni
|
210
|
+
table:
|
211
|
+
filter_count:
|
212
|
+
filter_label:
|
213
|
+
filter_message:
|
208
214
|
tabs:
|
209
215
|
contents: Vsebina
|
data/config/locales/so.yml
CHANGED
@@ -132,7 +132,9 @@ so:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Raadi dhamaan waxyaabaha uu ka koobanyahay %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Lambar siinta boga
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Daabac bogan
|
138
140
|
radio:
|
@@ -198,5 +200,9 @@ so:
|
|
198
200
|
summary_list:
|
199
201
|
delete: Masax
|
200
202
|
edit: Badal
|
203
|
+
table:
|
204
|
+
filter_count:
|
205
|
+
filter_label:
|
206
|
+
filter_message:
|
201
207
|
tabs:
|
202
208
|
contents: Waxyaabaha uu ka koobanyahay
|
data/config/locales/sq.yml
CHANGED
@@ -132,7 +132,9 @@ sq:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Gjeni të gjithë përmbajtjen nga %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Numërtimi
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Printo këtë faqe
|
138
140
|
radio:
|
@@ -198,5 +200,9 @@ sq:
|
|
198
200
|
summary_list:
|
199
201
|
delete: Fshij
|
200
202
|
edit: Ndrysho
|
203
|
+
table:
|
204
|
+
filter_count:
|
205
|
+
filter_label:
|
206
|
+
filter_message:
|
201
207
|
tabs:
|
202
208
|
contents: Përmbajtje
|
data/config/locales/sr.yml
CHANGED
@@ -133,7 +133,9 @@ sr:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: Pronađite sav sadržaj organizacije %{organisation}
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: Broj stranice
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: Odštampaj ovu stranicu
|
139
141
|
radio:
|
@@ -199,5 +201,9 @@ sr:
|
|
199
201
|
summary_list:
|
200
202
|
delete: Izbriši
|
201
203
|
edit: Promena
|
204
|
+
table:
|
205
|
+
filter_count:
|
206
|
+
filter_label:
|
207
|
+
filter_message:
|
202
208
|
tabs:
|
203
209
|
contents: Sadržaj
|
data/config/locales/sv.yml
CHANGED
@@ -132,7 +132,9 @@ sv:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Hitta allt innehåll från %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Paginering
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Skriv ut den här sidan
|
138
140
|
radio:
|
@@ -198,5 +200,9 @@ sv:
|
|
198
200
|
summary_list:
|
199
201
|
delete: Ta bort
|
200
202
|
edit: Ändra
|
203
|
+
table:
|
204
|
+
filter_count:
|
205
|
+
filter_label:
|
206
|
+
filter_message:
|
201
207
|
tabs:
|
202
208
|
contents: Innehåll
|
data/config/locales/sw.yml
CHANGED
@@ -132,7 +132,9 @@ sw:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Tafuta maudhui yote kutoka %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Nambari za kurasa
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Chapisha ukurasa huu
|
138
140
|
radio:
|
@@ -198,5 +200,9 @@ sw:
|
|
198
200
|
summary_list:
|
199
201
|
delete: Futa
|
200
202
|
edit: Badilisha
|
203
|
+
table:
|
204
|
+
filter_count:
|
205
|
+
filter_label:
|
206
|
+
filter_message:
|
201
207
|
tabs:
|
202
208
|
contents: Maudhui
|
data/config/locales/ta.yml
CHANGED
@@ -133,7 +133,9 @@ ta:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: "%{organisation}-லிருந்து அனைத்து உள்ளடக்கத்தையும் கண்டறி"
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: பக்கமிடுதல்
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: இந்தப் பக்கத்தை அச்செடு
|
139
141
|
radio:
|
@@ -199,5 +201,9 @@ ta:
|
|
199
201
|
summary_list:
|
200
202
|
delete: நீக்கு
|
201
203
|
edit: மாற்று
|
204
|
+
table:
|
205
|
+
filter_count:
|
206
|
+
filter_label:
|
207
|
+
filter_message:
|
202
208
|
tabs:
|
203
209
|
contents: உள்ளடக்கம்
|
data/config/locales/th.yml
CHANGED
@@ -130,7 +130,9 @@ th:
|
|
130
130
|
organisation_schema:
|
131
131
|
all_content_search_description: ค้นหาเนื้อหาทั้งหมดจาก %{organisation}
|
132
132
|
previous_and_next_navigation:
|
133
|
+
next:
|
133
134
|
pagination: การแบ่งหน้า
|
135
|
+
previous:
|
134
136
|
print_link:
|
135
137
|
text: พิมพ์หน้านี้
|
136
138
|
radio:
|
@@ -196,5 +198,9 @@ th:
|
|
196
198
|
summary_list:
|
197
199
|
delete: ลบ
|
198
200
|
edit: เปลี่ยน
|
201
|
+
table:
|
202
|
+
filter_count:
|
203
|
+
filter_label:
|
204
|
+
filter_message:
|
199
205
|
tabs:
|
200
206
|
contents: เนื้อหา
|
data/config/locales/tk.yml
CHANGED
@@ -133,7 +133,9 @@ tk:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: Ähli mazmunyny %{organisation}-dan tapyň
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: Sahypa
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: Bu sahypany çap et
|
139
141
|
radio:
|
@@ -199,5 +201,9 @@ tk:
|
|
199
201
|
summary_list:
|
200
202
|
delete: Öçürmek
|
201
203
|
edit: Çalyşmak
|
204
|
+
table:
|
205
|
+
filter_count:
|
206
|
+
filter_label:
|
207
|
+
filter_message:
|
202
208
|
tabs:
|
203
209
|
contents: Mazmuny
|
data/config/locales/tr.yml
CHANGED
@@ -133,7 +133,9 @@ tr:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: "%{organisation} kaynaklı tüm içeriği bul"
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: Sayfa
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: Bu sayfayı yazdır
|
139
141
|
radio:
|
@@ -199,5 +201,9 @@ tr:
|
|
199
201
|
summary_list:
|
200
202
|
delete: Sil
|
201
203
|
edit: Değiştir
|
204
|
+
table:
|
205
|
+
filter_count:
|
206
|
+
filter_label:
|
207
|
+
filter_message:
|
202
208
|
tabs:
|
203
209
|
contents: İçerikler
|
data/config/locales/uk.yml
CHANGED
@@ -139,7 +139,9 @@ uk:
|
|
139
139
|
organisation_schema:
|
140
140
|
all_content_search_description: Знайти весь вміст від %{organization}
|
141
141
|
previous_and_next_navigation:
|
142
|
+
next:
|
142
143
|
pagination: Поділ на сторінки
|
144
|
+
previous:
|
143
145
|
print_link:
|
144
146
|
text: Роздрукувати цю сторінку
|
145
147
|
radio:
|
@@ -205,5 +207,9 @@ uk:
|
|
205
207
|
summary_list:
|
206
208
|
delete: Видалити
|
207
209
|
edit: Змінити
|
210
|
+
table:
|
211
|
+
filter_count:
|
212
|
+
filter_label:
|
213
|
+
filter_message:
|
208
214
|
tabs:
|
209
215
|
contents: Зміст
|
data/config/locales/ur.yml
CHANGED
@@ -129,7 +129,9 @@ ur:
|
|
129
129
|
organisation_schema:
|
130
130
|
all_content_search_description: "%{organisation} کا تمام مواد تلاش کریں"
|
131
131
|
previous_and_next_navigation:
|
132
|
+
next:
|
132
133
|
pagination: صفحہ بندی
|
134
|
+
previous:
|
133
135
|
print_link:
|
134
136
|
text: اس صفحے کا پرنٹ لیں
|
135
137
|
radio:
|
@@ -195,5 +197,9 @@ ur:
|
|
195
197
|
summary_list:
|
196
198
|
delete: حذف کریں
|
197
199
|
edit: تبدیل کریں
|
200
|
+
table:
|
201
|
+
filter_count:
|
202
|
+
filter_label:
|
203
|
+
filter_message:
|
198
204
|
tabs:
|
199
205
|
contents: مشمولات
|
data/config/locales/uz.yml
CHANGED
@@ -134,7 +134,9 @@ uz:
|
|
134
134
|
organisation_schema:
|
135
135
|
all_content_search_description: "%{organization} дан бутун контентни топиш"
|
136
136
|
previous_and_next_navigation:
|
137
|
+
next:
|
137
138
|
pagination: Саҳифаларнинг рақамланиши
|
139
|
+
previous:
|
138
140
|
print_link:
|
139
141
|
text: Ушбу саҳифани чоп этиш
|
140
142
|
radio:
|
@@ -200,5 +202,9 @@ uz:
|
|
200
202
|
summary_list:
|
201
203
|
delete: Ўчириб юбориш
|
202
204
|
edit: Ўзгартириш
|
205
|
+
table:
|
206
|
+
filter_count:
|
207
|
+
filter_label:
|
208
|
+
filter_message:
|
203
209
|
tabs:
|
204
210
|
contents: Мундарижа
|
data/config/locales/vi.yml
CHANGED
@@ -131,7 +131,9 @@ vi:
|
|
131
131
|
organisation_schema:
|
132
132
|
all_content_search_description: Tìm tất cả nội dung từ %{organisation}
|
133
133
|
previous_and_next_navigation:
|
134
|
+
next:
|
134
135
|
pagination: Phân trang
|
136
|
+
previous:
|
135
137
|
print_link:
|
136
138
|
text: In trang này
|
137
139
|
radio:
|
@@ -197,5 +199,9 @@ vi:
|
|
197
199
|
summary_list:
|
198
200
|
delete: Xóa
|
199
201
|
edit: Thay đổi
|
202
|
+
table:
|
203
|
+
filter_count:
|
204
|
+
filter_label:
|
205
|
+
filter_message:
|
200
206
|
tabs:
|
201
207
|
contents: Mục lục
|
data/config/locales/zh-hk.yml
CHANGED
@@ -130,7 +130,9 @@ zh-hk:
|
|
130
130
|
organisation_schema:
|
131
131
|
all_content_search_description: 從 %{organisation} 獲得更多內容
|
132
132
|
previous_and_next_navigation:
|
133
|
+
next:
|
133
134
|
pagination: 分頁
|
135
|
+
previous:
|
134
136
|
print_link:
|
135
137
|
text: 列印本頁面
|
136
138
|
radio:
|
@@ -196,5 +198,9 @@ zh-hk:
|
|
196
198
|
summary_list:
|
197
199
|
delete: 刪除
|
198
200
|
edit: 變更
|
201
|
+
table:
|
202
|
+
filter_count:
|
203
|
+
filter_label:
|
204
|
+
filter_message:
|
199
205
|
tabs:
|
200
206
|
contents: 內容
|
data/config/locales/zh-tw.yml
CHANGED
@@ -130,7 +130,9 @@ zh-tw:
|
|
130
130
|
organisation_schema:
|
131
131
|
all_content_search_description: 從 %{organisation} 找到所有內容
|
132
132
|
previous_and_next_navigation:
|
133
|
+
next:
|
133
134
|
pagination: 分頁
|
135
|
+
previous:
|
134
136
|
print_link:
|
135
137
|
text: 列印此頁面
|
136
138
|
radio:
|
@@ -196,5 +198,9 @@ zh-tw:
|
|
196
198
|
summary_list:
|
197
199
|
delete: 刪除
|
198
200
|
edit: 變更
|
201
|
+
table:
|
202
|
+
filter_count:
|
203
|
+
filter_label:
|
204
|
+
filter_message:
|
199
205
|
tabs:
|
200
206
|
contents: 內容
|
data/config/locales/zh.yml
CHANGED
@@ -130,7 +130,9 @@ zh:
|
|
130
130
|
organisation_schema:
|
131
131
|
all_content_search_description: 查找 %{organisation} 的全部内容
|
132
132
|
previous_and_next_navigation:
|
133
|
+
next:
|
133
134
|
pagination: 分页
|
135
|
+
previous:
|
134
136
|
print_link:
|
135
137
|
text: 打印本页面
|
136
138
|
radio:
|
@@ -196,5 +198,9 @@ zh:
|
|
196
198
|
summary_list:
|
197
199
|
delete: 删除
|
198
200
|
edit: 更改
|
201
|
+
table:
|
202
|
+
filter_count:
|
203
|
+
filter_label:
|
204
|
+
filter_message:
|
199
205
|
tabs:
|
200
206
|
contents: 目录
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module GovukPublishingComponents
|
2
2
|
module AppHelpers
|
3
3
|
class TableHelper
|
4
|
+
# This is part of the Public API of this gem
|
5
|
+
# Any non-backwards compatible changes to the signature will require a major version change
|
4
6
|
def self.helper(context, caption = nil, opt = {})
|
5
7
|
builder = TableBuilder.new(context.tag)
|
6
8
|
|
@@ -10,7 +12,7 @@ module GovukPublishingComponents
|
|
10
12
|
caption_classes = %w[govuk-table__caption]
|
11
13
|
caption_classes << opt[:caption_classes] if opt[:caption_classes]
|
12
14
|
|
13
|
-
context.tag.table class: classes do
|
15
|
+
context.tag.table class: classes, id: opt[:table_id] do
|
14
16
|
context.concat context.tag.caption caption, class: caption_classes
|
15
17
|
yield(builder)
|
16
18
|
end
|
@@ -41,7 +43,7 @@ module GovukPublishingComponents
|
|
41
43
|
end
|
42
44
|
|
43
45
|
def row
|
44
|
-
tag.tr class: "govuk-table__row" do
|
46
|
+
tag.tr class: "govuk-table__row js-govuk-table__row" do
|
45
47
|
yield(self)
|
46
48
|
end
|
47
49
|
end
|
@@ -83,10 +83,11 @@
|
|
83
83
|
"maxlength": 10,
|
84
84
|
"label": {
|
85
85
|
"text": "Full address",
|
86
|
+
"classes": "govuk-label--l",
|
86
87
|
"isPageHeading": true
|
87
88
|
}
|
88
89
|
},
|
89
|
-
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n \n\n<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label\" for=\"textarea-with-page-heading\">\n Full address\n </label>\n </h1>\n\n\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"textarea-with-page-heading\" name=\"address\" rows=\"5\" aria-describedby=\"textarea-with-page-heading-info\"></textarea>\n</div>\n\n <div id=\"textarea-with-page-heading-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>",
|
90
|
+
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n \n\n<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"textarea-with-page-heading\">\n Full address\n </label>\n </h1>\n\n\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"textarea-with-page-heading\" name=\"address\" rows=\"5\" aria-describedby=\"textarea-with-page-heading-info\"></textarea>\n</div>\n\n <div id=\"textarea-with-page-heading-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>",
|
90
91
|
"hidden": false
|
91
92
|
},
|
92
93
|
{
|