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
@@ -10,12 +10,23 @@
10
10
  heading_size = false unless shared_helper.valid_heading_size?(heading_size)
11
11
  error_message ||= nil
12
12
  error_id ||= nil
13
+ hint ||= nil
14
+ hint_id ||= nil
15
+
16
+ describedby = %w[]
13
17
 
14
18
  if error_message || error_id
15
19
  error_id = "error-#{SecureRandom.hex(4)}" unless error_id
16
- aria_describedby = { describedby: error_id }
20
+ describedby << error_id
21
+ end
22
+
23
+ if hint
24
+ hint_id = "hint-#{SecureRandom.hex(4)}" unless hint_id
25
+ describedby << hint_id
17
26
  end
18
27
 
28
+ aria_describedby = { describedby: describedby } if describedby
29
+
19
30
  css_classes = %w(govuk-form-group gem-c-select)
20
31
  css_classes << "govuk-form-group--error" if error_message
21
32
 
@@ -37,6 +48,13 @@
37
48
  <%= label_tag(id, label, class: label_classes) %>
38
49
  <% end %>
39
50
 
51
+ <% if hint %>
52
+ <%= render "govuk_publishing_components/components/hint", {
53
+ id: hint_id,
54
+ text: hint
55
+ } %>
56
+ <% end %>
57
+
40
58
  <% if error_message %>
41
59
  <%= render "govuk_publishing_components/components/error_message", {
42
60
  id: error_id,
@@ -55,38 +55,41 @@
55
55
  class: "govuk-link govuk-link--no-underline gem-c-share-links__link #{brand_helper.color_class}" do %>
56
56
  <span class="gem-c-share-links__link-icon">
57
57
  <% if link[:icon] == 'facebook' %>
58
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" aria-hidden="true">
59
- <path fill="currentColor" d="M31.006 0H.993A.997.997 0 0 0 0 .993v30.014c0 .55.452.993.993.993h30.013a.998.998 0 0 0 .994-.993V.993A.999.999 0 0 0 31.006 0z"/>
60
- <path fill="#FFF" d="M17.892 10.751h1.787V8.009L17.216 8c-2.73 0-3.352 2.045-3.352 3.353v1.828h-1.581v2.824h1.581V24h3.322v-7.995h2.242l.291-2.824h-2.533V11.52c.001-.623.415-.769.706-.769z"/>
58
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
59
+ <path fill="currentColor" d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
61
60
  </svg>
62
-
63
61
  <% elsif link[:icon] == 'twitter' %>
64
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" aria-hidden="true">
65
- <path fill="currentColor" d="M31.007 0H.993A.999.999 0 0 0 0 .993v30.014c0 .55.452.993.993.993h30.014a.997.997 0 0 0 .993-.993V.993A.998.998 0 0 0 31.007 0z"/>
66
- <path fill="#FFF" d="M8 21.027a9.286 9.286 0 0 0 5.032 1.475c6.038 0 9.34-5.002 9.34-9.339 0-.143-.004-.284-.012-.425a6.619 6.619 0 0 0 1.639-1.699c-.6.265-1.234.439-1.885.516a3.287 3.287 0 0 0 1.443-1.816 6.571 6.571 0 0 1-2.086.797 3.28 3.28 0 0 0-5.592 2.993 9.311 9.311 0 0 1-6.766-3.43 3.294 3.294 0 0 0-.443 1.651 3.28 3.28 0 0 0 1.46 2.732 3.278 3.278 0 0 1-1.488-.411v.041a3.288 3.288 0 0 0 2.633 3.22 3.28 3.28 0 0 1-1.481.055 3.285 3.285 0 0 0 3.065 2.281 6.59 6.59 0 0 1-4.076 1.404A6.76 6.76 0 0 1 8 21.027z"/>
62
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
63
+ <path fill="currentColor" d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/>
67
64
  </svg>
68
-
69
65
  <% elsif link[:icon] == 'email' %>
70
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="9 9 32 32" aria-hidden="true"><path fill="currentColor" d="M9 9h32v32H9V9z"/><path fill="#FFF" d="M34.983 18.76v12.48H15.016V18.76h19.967m2.496-2.496H12.52v17.472h24.959V16.264z"/><path fill="none" stroke="#FFF" stroke-width="2.496" stroke-miterlimit="10" d="M14.59 18.963L25 26.945l10.263-7.869"/></svg>
71
-
66
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 73.84 73.84" aria-hidden="true" focusable="false">
67
+ <path fill="currentColor" d="M36.92,0A36.92,36.92,0,1,0,73.84,36.92,36.92,36.92,0,0,0,36.92,0ZM58.37,21,36.92,39.45,15.47,21ZM11.65,23.66,26.27,36.23,11.65,49.9ZM15.1,52.83,29.7,39.18l7.22,6.21,7.22-6.21,14.6,13.65ZM62.19,49.9,47.57,36.23,62.19,23.66Z"/>
68
+ </svg>
72
69
  <% elsif link[:icon] == 'flickr' %>
73
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="9 9 32 32" aria-hidden="true"><path fill="currentColor" d="M9 9h32v32H9V9z"/><defs><path d="M9 9h32v32H9z"/></defs><clipPath><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="#FFF" d="M23.72 25a5.76 5.76 0 1 1-11.52 0 5.76 5.76 0 1 1 11.52 0m14.08 0c0 3.182-2.578 5.76-5.76 5.76s-5.76-2.578-5.76-5.76a5.76 5.76 0 1 1 11.52 0"/></svg>
74
-
70
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
71
+ <path fill="currentColor" d="M5.334 6.666C2.3884 6.666 0 9.055 0 12c0 2.9456 2.3884 5.334 5.334 5.334 2.9456 0 5.332-2.3884 5.332-5.334 0-2.945-2.3864-5.334-5.332-5.334zm13.332 0c-2.9456 0-5.332 2.389-5.332 5.334 0 2.9456 2.3864 5.334 5.332 5.334C21.6116 17.334 24 14.9456 24 12c0-2.945-2.3884-5.334-5.334-5.334Z"/>
72
+ </svg>
75
73
  <% elsif link[:icon] == 'instagram' %>
76
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="9 9 32 32" aria-hidden="true"><path fill="currentColor" d="M9 9h32v32H9V9z"/><defs><path d="M9 9h32v32H9z"/></defs><clipPath><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="#FFF" d="M25 28.2a3.204 3.204 0 0 1-3.2-3.2c0-1.764 1.436-3.2 3.2-3.2 1.765 0 3.2 1.436 3.2 3.2 0 1.765-1.435 3.2-3.2 3.2"/><defs><path d="M9 9h32v32H9z"/></defs><clipPath><use xlink:href="#c" overflow="visible"/></clipPath><path clip-path="url(#d)" fill="#FFF" d="M25 22.44c1.412 0 2.56 1.148 2.56 2.56s-1.147 2.56-2.56 2.56a2.561 2.561 0 0 1 0-5.12m0-1.28A3.844 3.844 0 0 0 21.16 25 3.844 3.844 0 0 0 25 28.84 3.845 3.845 0 0 0 28.84 25 3.844 3.844 0 0 0 25 21.16"/><defs><path d="M9 9h32v32H9z"/></defs><clipPath><use xlink:href="#e" overflow="visible"/></clipPath><path clip-path="url(#f)" fill="#FFF" d="M17.32 35.24c-1.555 0-2.56-1.005-2.56-2.561V17.373c0-1.611.981-2.613 2.56-2.613h15.36c1.58 0 2.561 1.002 2.561 2.613v15.36c0 1.522-1.005 2.507-2.561 2.507H17.32zM25 17.96c-3.881 0-7.04 3.159-7.04 7.04 0 3.881 3.159 7.04 7.04 7.04 3.881 0 7.04-3.159 7.04-7.04 0-3.881-3.159-7.04-7.04-7.04m7.36-2.56a2.243 2.243 0 0 0-2.24 2.24 2.243 2.243 0 0 0 2.24 2.24 2.241 2.241 0 0 0 0-4.48"/><defs><path d="M9 9h32v32H9z"/></defs><clipPath><use xlink:href="#g" overflow="visible"/></clipPath><path clip-path="url(#h)" fill="#FFF" d="M30.552 15.4a2.873 2.873 0 0 0-.704 3.648A7.64 7.64 0 0 0 25 17.319c-4.235 0-7.68 3.445-7.68 7.68 0 4.235 3.445 7.68 7.68 7.68 4.235 0 7.68-3.444 7.68-7.68a7.642 7.642 0 0 0-1.728-4.848 2.876 2.876 0 0 0 3.647-.703v13.285c0 1.169-.717 1.866-1.92 1.866H17.32c-1.22 0-1.92-.699-1.92-1.92V17.373c0-1.254.7-1.973 1.92-1.973h13.232m2.128-1.28H17.32c-1.92 0-3.2 1.28-3.2 3.253V32.68c0 1.92 1.28 3.2 3.2 3.2h15.36c1.92 0 3.2-1.28 3.2-3.146v-15.36c0-1.974-1.28-3.254-3.2-3.254m-.32 5.12a1.6 1.6 0 1 1-.001-3.2 1.6 1.6 0 0 1 .001 3.2M25 31.4a6.4 6.4 0 1 1 .002-12.802A6.4 6.4 0 0 1 25 31.4"/></svg>
77
-
74
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
75
+ <path fill="currentColor" d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/>
76
+ </svg>
78
77
  <% elsif link[:icon] == 'linkedin' %>
79
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="9 9 32 32" aria-hidden="true"><path fill="currentColor" d="M9 9h32v32H9V9z"/><path fill="#FFF" d="M19.24 35.24V21.8h-4.48v13.44h4.48z"/><defs><path d="M9 9h32v32H9z"/></defs><clipPath><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="#FFF" d="M26.28 35.24V28.2c0-1.92.64-3.2 1.92-3.2h.64c1.28 0 1.92 1.28 1.92 4.48v5.76h4.48V28.2c0-4.48-1.28-6.4-4.48-6.4-3.84 0-4.479 1.92-4.479 1.92V21.8H21.8v13.44h4.48zm-6.72-17.92a2.56 2.56 0 1 1-5.12 0 2.56 2.56 0 0 1 5.12 0"/></svg>
80
-
78
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
79
+ <path fill="currentColor" d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
80
+ </svg>
81
81
  <% elsif link[:icon] == 'youtube' %>
82
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="9 9 32 32" aria-hidden="true"><path fill="currentColor" d="M9 9h32v32H9V9z"/><path fill="#FFF" d="M19.88 33.32V16.68L33.32 25l-13.44 8.32z"/></svg>
83
-
82
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
83
+ <path fill="currentColor" d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/>
84
+ </svg>
84
85
  <% elsif link[:icon] == 'whatsapp' %>
85
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" aria-hidden="true"><path d="M0 32V0h32v32H0zm20.839-13.894c-.263-.131-1.555-.766-1.796-.854-.24-.088-.416-.132-.59.131-.176.263-.68.855-.833 1.03-.153.176-.307.198-.57.066-.262-.131-1.109-.41-2.113-1.304-.78-.697-1.308-1.557-1.461-1.82-.153-.263-.016-.406.115-.536.118-.118.263-.308.394-.46.131-.154.175-.264.263-.44.088-.174.044-.328-.022-.46-.066-.131-.591-1.424-.81-1.95-.214-.513-.43-.443-.59-.452a10.506 10.506 0 0 0-.505-.009.964.964 0 0 0-.7.329c-.241.263-.92.899-.92 2.192 0 1.293.942 2.542 1.073 2.718.131.176 1.852 2.83 4.489 3.967.626.27 1.116.433 1.497.554.63.2 1.202.172 1.655.104.505-.075 1.555-.636 1.774-1.25.219-.613.219-1.14.153-1.25-.066-.108-.24-.174-.503-.306zm-4.795 6.547h-.003a8.73 8.73 0 0 1-4.449-1.219l-.319-.19-3.308.869.883-3.226-.208-.33a8.718 8.718 0 0 1-1.336-4.652c.001-4.819 3.922-8.74 8.744-8.74a8.68 8.68 0 0 1 6.179 2.564 8.686 8.686 0 0 1 2.557 6.183c-.002 4.82-3.922 8.74-8.74 8.74zm7.44-16.18a10.449 10.449 0 0 0-7.44-3.084c-5.796 0-10.513 4.717-10.516 10.516 0 1.853.484 3.662 1.404 5.256l-1.492 5.45 5.574-1.463a10.504 10.504 0 0 0 5.026 1.28h.004c5.796 0 10.514-4.717 10.516-10.515a10.455 10.455 0 0 0-3.077-7.44z" fill="currentColor"/></svg>
86
-
86
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
87
+ <path fill="currentColor" d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/>
88
+ </svg>
87
89
  <% else %>
88
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="9 9 32 32" aria-hidden="true"><path fill="currentColor" d="M9 9h32v32H9V9z"/><path fill="#FFF" d="M12.84 14.12v19.2h5.76l5.76 5.76v-5.76h12.8v-19.2H12.84zm3.2 8.32H28.2V25H16.04v-2.56zm16 7.68h-16v-2.56h16v2.56zm1.92-10.24H16.04v-2.56h17.92v2.56z"/></svg>
89
-
90
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 73.84 73.84" aria-hidden="true" focusable="false">
91
+ <path fill="currentColor" d="M36.92,0A36.92,36.92,0,1,0,73.84,36.92,36.92,36.92,0,0,0,36.92,0ZM56.3,48.27a1.42,1.42,0,0,1-1.42,1.42h-19v9.18l-9.18-9.18H19a1.43,1.43,0,0,1-1.43-1.43V20.52A1.43,1.43,0,0,1,19,19.09H54.88a1.43,1.43,0,0,1,1.42,1.42Z"/>
92
+ </svg>
90
93
  <% end %>
91
94
  </span><%= link_text %><% end %>
92
95
  </li>
@@ -9,7 +9,7 @@
9
9
  local_assigns[:margin_bottom] = 0 if local_assigns[:margin_bottom] > 9
10
10
 
11
11
  css_classes = %w( gem-c-subscription-links govuk-!-display-none-print )
12
- css_classes << (shared_helper.get_margin_bottom) unless local_assigns[:margin_bottom] == 0
12
+ css_classes << shared_helper.get_margin_bottom unless local_assigns[:margin_bottom] == 0
13
13
  css_classes << brand_helper.brand_class
14
14
  css_classes << "gem-c-subscription-links--with-feed-box" if sl_helper.feed_link_box_value
15
15
 
@@ -25,7 +25,7 @@
25
25
  css_classes << "govuk-textarea--error" if has_error
26
26
  form_group_css_classes = %w(gem-c-textarea govuk-form-group)
27
27
  form_group_css_classes << "govuk-form-group--error" if has_error
28
- form_group_css_classes << (shared_helper.get_margin_bottom)
28
+ form_group_css_classes << shared_helper.get_margin_bottom
29
29
 
30
30
  aria_described_by ||= nil
31
31
  if hint || has_error || describedby
@@ -13,8 +13,8 @@
13
13
 
14
14
  classes = %w[gem-c-title]
15
15
  classes << "gem-c-title--inverse" if inverse
16
- classes << (shared_helper.get_margin_top)
17
- classes << (shared_helper.get_margin_bottom)
16
+ classes << shared_helper.get_margin_top
17
+ classes << shared_helper.get_margin_bottom
18
18
 
19
19
  heading_classes = %w[gem-c-title__text]
20
20
  heading_classes << (average_title_length.present? ? 'govuk-heading-l' : 'govuk-heading-xl')
@@ -30,7 +30,7 @@
30
30
  <% if context && !context_inside %>
31
31
  <%= @context_block %>
32
32
  <% end %>
33
-
33
+
34
34
  <h1 class="<%= heading_classes.join(" ") %>">
35
35
  <% if context && context_inside %>
36
36
  <%= @context_block %>
@@ -61,3 +61,9 @@ examples:
61
61
  label: Ministerial departments
62
62
  aria:
63
63
  hidden: true
64
+ with_bottom_margin:
65
+ description: The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the [GOV.UK Frontend spacing scale](https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale). The default big number margin bottom is 15px (govuk spacing 3).
66
+ data:
67
+ number: 119
68
+ label: Open consultations
69
+ margin_bottom: 9
@@ -11,8 +11,6 @@ body: |
11
11
 
12
12
  It must always be used [with the contextual breadcrumbs component][contextual_breadcrumbs].
13
13
 
14
- The COVID CTA will displayed on all pages except for a few exemptions documented below.
15
-
16
14
  [preview]: /contextual-navigation
17
15
  [step-by-step]: /component-guide/step_by_step_nav
18
16
  [related_navigation]: /component-guide/related_navigation
@@ -114,48 +112,3 @@ examples:
114
112
  - content_id: "2f8b848d-23c8-4f42-a41a-df1f81c64d0f"
115
113
  title: "Exporting"
116
114
  phase: "live"
117
- with_covid_cta_taxon_exception:
118
- description: The COVID Booster call to action element is not displayed on content tagged to taxons in `covid_booster_cta_taxon_exception_list`.
119
- data:
120
- content_item:
121
- title: "A content item"
122
- links:
123
- taxons:
124
- - content_id: ac7b8472-5d09-4679-9551-87847b0ac827
125
- title: "Not Covid"
126
- phase: "live"
127
- ordered_related_items:
128
- - title: Find an apprenticeship
129
- base_path: /apply-apprenticeship
130
- - title: Training and study at work
131
- base_path: /training-study-work-your-rights
132
- - title: Careers helpline for teenagers
133
- base_path: /careers-helpline-for-teenagers
134
- document_collections:
135
- - title: Recruit an apprentice (formerly apprenticeship vacancies)
136
- base_path: /government/collections/apprenticeship-vacancies
137
- document_type: document_collection
138
- - title: The future of jobs and skills
139
- base_path: /government/collections/the-future-of-jobs-and-skills
140
- document_type: document_collection
141
- with_covid_cta_document_type_exception:
142
- description: Illustrates an exception to showing the custom COVID Booster call to action element as defined in `covid_booster_cta_document_type_exceptions`.
143
- data:
144
- content_item:
145
- title: "A content item"
146
- document_type: smart_answer
147
- links:
148
- ordered_related_items:
149
- - title: Find an apprenticeship
150
- base_path: /apply-apprenticeship
151
- - title: Training and study at work
152
- base_path: /training-study-work-your-rights
153
- - title: Careers helpline for teenagers
154
- base_path: /careers-helpline-for-teenagers
155
- document_collections:
156
- - title: Recruit an apprentice (formerly apprenticeship vacancies)
157
- base_path: /government/collections/apprenticeship-vacancies
158
- document_type: document_collection
159
- - title: The future of jobs and skills
160
- base_path: /government/collections/the-future-of-jobs-and-skills
161
- document_type: document_collection
@@ -42,6 +42,18 @@ examples:
42
42
  selected: true
43
43
  - text: 'Option three'
44
44
  value: 'option3'
45
+ with_hint:
46
+ description: When a hint is included the `aria-describedby` attribute of the select is included to point to the hint. When an error and a hint are present, that attribute includes the IDs of both the hint and the error.
47
+ data:
48
+ id: 'dropdown2-1'
49
+ label: 'Choose your preferred thing'
50
+ hint_text: 'You might need some more information here'
51
+ hint_id: 'optional-hint-id'
52
+ options:
53
+ - text: 'Something'
54
+ value: 'option1'
55
+ - text: 'Something else'
56
+ value: 'option2'
45
57
  with_tracking:
46
58
  description: 'Tracking can be enabled on the select component by passing a minimum of data_track_category and data_track_action. Other tracking attributes are optional. Note: tracking events do not currently fire within the component guide.'
47
59
  data:
@@ -23,6 +23,12 @@
23
23
  <h3 class="gem-c-feedback__form-heading"><%= t("components.feedback.help_us_improve_govuk") %></h3>
24
24
  <p id="feedback_explanation" class="gem-c-feedback__form-paragraph"><%= t("components.feedback.dont_include_personal_info") %></p>
25
25
 
26
+ <% # Added for spam bots only %>
27
+ <div class="govuk-visually-hidden" aria-hidden="true">
28
+ <label for="giraffe">This field is for robots only. Please leave blank</label>
29
+ <input id="giraffe" name="giraffe" type="text" pattern=".{0}" tabindex="-1" autocomplete="off">
30
+ </div>
31
+
26
32
  <%= render "govuk_publishing_components/components/textarea", {
27
33
  label: {
28
34
  text: t("components.feedback.what_doing")
@@ -46,3 +52,23 @@
46
52
  </div>
47
53
  </div>
48
54
  </form>
55
+
56
+ <%
57
+ # I've added the following script inline in case of a scenario where a bot is able to parse the page,
58
+ # without downloading any of the external scripts.
59
+ # This seems to be a more reliable way to make sure the script is executed.
60
+ %>
61
+
62
+ <script>
63
+ document.addEventListener("DOMContentLoaded", function () {
64
+ var input = document.querySelector("#giraffe"),
65
+ form = document.querySelector("#something-is-wrong")
66
+
67
+ form.addEventListener("submit", spamCapture);
68
+
69
+ function spamCapture(e) {
70
+ if (input.value.length !== 0) return;
71
+ e.preventDefault();
72
+ }
73
+ });
74
+ </script>
@@ -1,16 +1,24 @@
1
- <%
2
- contact_govuk_path = "/contact/govuk"
3
- %>
4
-
5
1
  <div class="gem-c-feedback__prompt gem-c-feedback__js-show js-prompt" tabindex="-1">
6
2
  <div class="gem-c-feedback__prompt-questions js-prompt-questions" hidden>
7
3
  <h2 class="gem-c-feedback__prompt-question"><%= t("components.feedback.is_this_page_useful") %></h2>
8
- <!-- Maybe button exists only to try and capture clicks by bots -->
9
- <button data-track-category="yesNoFeedbackForm" data-track-action="ffMaybeClick" aria-expanded="false" hidden>
10
- <%= t("components.feedback.maybe") %>
11
- </button>
12
4
 
13
5
  <ul class="gem-c-feedback__option-list">
6
+ <li class="gem-c-feedback__option-list-item govuk-visually-hidden" style="display: none" hidden>
7
+ <% # Maybe button exists only to try and capture clicks by bots %>
8
+ <%= link_to "/contact/govuk", {
9
+ class: 'gem-c-feedback__prompt-link',
10
+ data: {
11
+ 'track-category' => 'yesNoFeedbackForm',
12
+ 'track-action' => 'ffMaybeClick'
13
+ },
14
+ role: 'button',
15
+ style: 'display: none',
16
+ hidden: 'hidden',
17
+ 'aria-hidden': 'true',
18
+ } do %>
19
+ <%= t("components.feedback.maybe") %>
20
+ <% end %>
21
+ </li>
14
22
  <li class="gem-c-feedback__option-list-item">
15
23
  <button class="govuk-button gem-c-feedback__prompt-link js-page-is-useful" data-track-category="yesNoFeedbackForm" data-track-action="ffYesClick">
16
24
  <%= t("components.feedback.yes") %> <span class="govuk-visually-hidden"><%= t("components.feedback.is_useful") %></span>
@@ -82,6 +82,8 @@ ar:
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">الترخيص الحكومي المفتوح (الإصدار v3.0)</a>، ما لم ينص على خلاف ذلك
@@ -15,7 +15,6 @@ az:
15
15
  opendocument_html: Bu fayl <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a> formatındadır
16
16
  order_a_copy: Surətini sifariş edin
17
17
  page:
18
- one: 1 səhifə
19
18
  other: "%{count} səhifə"
20
19
  reference: 'İst: %{reference}'
21
20
  request_format_cta: İstifadə edilə bilən format tələb edin.
@@ -79,6 +78,8 @@ az:
79
78
  what_doing: Nə edirdiniz?
80
79
  what_wrong: Hansı yanlışlıq oldu?
81
80
  'yes': Bəli
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: Bütün məzmunlar <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">v3.0 Açıq dövlət lisenziyasına əsasən mövcuddur</a>(başqa cür nəzərdə tutulmuş hallar istisna olmaqla)
@@ -85,6 +85,8 @@ be:
85
85
  what_doing: Што вы рабiлi?
86
86
  what_wrong: Што пайшло не так?
87
87
  'yes': Так
88
+ intervention:
89
+ accessible_link_text_suffix:
88
90
  layout_footer:
89
91
  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
92
  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,6 +83,8 @@ bg:
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>, освен ако не е посочено друго
@@ -80,6 +80,8 @@ bn:
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/">© ক্রাউন কপিরাইট</a>
85
87
  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 @@ cs:
84
84
  what_doing: Co jste dělal?
85
85
  what_wrong: Co se pokazilo?
86
86
  'yes': Ano
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: Veškerý obsah je k dispozici pod <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>, pokud není uvedeno jinak
@@ -83,6 +83,8 @@ cy:
83
83
  what_doing: Beth oeddech chi'n wneud?
84
84
  what_wrong: Beth aeth o'i le?
85
85
  'yes': Ie
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/">© Hawlfraint y Goron</a>
88
90
  licence_html: Mae'r holl gynnwys ar gael o dan <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Drwydded Agored y Llywodraeth v3.0</a>, ac eithrio ble nodir yn wahanol
@@ -80,6 +80,8 @@ da:
80
80
  what_doing: Hvad lavede du?
81
81
  what_wrong: Hvad gik galt?
82
82
  'yes': ja
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/">© Krown copyright</a>
85
87
  licence_html: Alt indhold er tilgængeligt i henhold til <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">åben Forvaltning Licens v3.0</a>, medmindre andet er angivet.
@@ -83,6 +83,8 @@ de:
83
83
  what_doing: Was haben Sie gemacht?
84
84
  what_wrong: Was ist schief gelaufen?
85
85
  'yes': Ja
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: Alle Inhalte stehen unter der <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>, sofern nicht anders angegeben.
@@ -81,6 +81,8 @@ dr:
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/">© 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">Open Government Licence v3.0</a>, موجود است، مگر در مواردی که خلاف آن ذکر شده باشد.
@@ -79,6 +79,8 @@ el:
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> , εκτός εάν αναφέρεται διαφορετικά
@@ -234,10 +234,6 @@ en:
234
234
  link_path: "/brexit"
235
235
  link_text: Check what you need to do
236
236
  title: Brexit
237
- covid_booster:
238
- link_path: "https://www.nhs.uk/conditions/coronavirus-covid-19/coronavirus-vaccination/"
239
- link_text: Book your coronavirus vaccination and booster dose on the NHS website
240
- title: COVID-19 vaccinations
241
237
  world_locations: World locations
242
238
  search_box:
243
239
  input_title: Search
@@ -79,6 +79,8 @@ es-419:
79
79
  what_doing: "¿Qué estaba haciendo?"
80
80
  what_wrong: "¿Qué salió mal?"
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: Todos los contenidos están disponibles bajo la <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Licencia Gubernamental Abierta v3.0</a>, salvo que se indique lo contrario
@@ -79,6 +79,8 @@ es:
79
79
  what_doing: "¿Qué estaba haciendo?"
80
80
  what_wrong: "¿Qué ha fallado?"
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/">© Derechos de autor de la corona</a>
84
86
  licence_html: Todo el contenido está disponible bajo la <a class='govuk-footer__link' href='https://www.nationalarchives.gov.uk/doc/open-government-license/version/3/" rel='license'>Licencia de Gobierno Abierto v3,0</a>, excepto donde se indique lo contrario
@@ -82,6 +82,8 @@ et:
82
82
  what_doing: Mida te tegite?
83
83
  what_wrong: Mis läks valesti?
84
84
  'yes': Jah
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/">© Crowni autoriõigus</a>
87
89
  licence_html: Kogu sise on saadaval <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> all, kui pole märgitud teisiti
@@ -15,7 +15,6 @@ fa:
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 @@ fa:
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> در دسترس است، مگر در مواردی که خلاف آن بیان شده باشد
@@ -81,6 +81,8 @@ fi:
81
81
  what_doing: Mitä olit tekemässä?
82
82
  what_wrong: Mikä meni vikaan?
83
83
  'yes': Kyllä
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/">© Kruunun tekijänoikeus</a>
86
88
  licence_html: Kaikki sisältö on saatavilla osoitteessa <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Avoimen hallinnon lisenssi v3.0</a>, ellei toisin mainita
@@ -79,6 +79,8 @@ fr:
79
79
  what_doing: Que faisiez-vous ?
80
80
  what_wrong: Qu'est-ce qui n'a pas marché ?
81
81
  'yes': Oui
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/">© Copyright de la Couronne</a>
84
86
  licence_html: L'ensemble du contenu est disponible en vertu de 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>, sauf indication contraire.
@@ -81,6 +81,8 @@ gd:
81
81
  what_doing: Cad atá á dhéanamh agat ?
82
82
  what_wrong: Cad a chuaigh mícheart?
83
83
  'yes': Sea
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: Tá an t-ábhar go léir ar fáil faoi <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Oibriú saor in aisce v3.0</a>, mura luaitear a mhalairt
@@ -79,6 +79,8 @@ gu:
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>હેઠળ ઉપલબ્ધ છે, સિવાય કે અન્યથા જણાવેલ હોય
@@ -79,6 +79,8 @@ he:
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 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>, אלא אם מצוין אחרת
@@ -79,6 +79,8 @@ hi:
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> के तहत उपलब्ध है, अन्यथा दर्शाए गए को छोड़कर
@@ -81,6 +81,8 @@ hr:
81
81
  what_doing: Šta ste radili?
82
82
  what_wrong: Što je pošlo po zlu?
83
83
  'yes': Da
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: 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
@@ -82,6 +82,8 @@ hu:
82
82
  what_doing: Mit csinált?
83
83
  what_wrong: Milyen hiba lépett fel?
84
84
  'yes': Igen
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/">© Crown copyright</a>
87
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