govuk_publishing_components 13.6.0 → 13.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/dependencies.js +3 -3
  3. data/app/assets/javascripts/govuk_publishing_components/lib/toggle.js +52 -28
  4. data/app/views/govuk_publishing_components/components/docs/related_navigation.yml +216 -201
  5. data/lib/govuk_publishing_components/presenters/meta_tags.rb +0 -7
  6. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +3 -3
  7. data/lib/govuk_publishing_components/version.rb +1 -1
  8. data/node_modules/govuk-frontend/all.js +1197 -943
  9. data/node_modules/govuk-frontend/components/_all.scss +2 -0
  10. data/node_modules/govuk-frontend/components/accordion/README.md +17 -0
  11. data/node_modules/govuk-frontend/components/accordion/_accordion.scss +173 -0
  12. data/node_modules/govuk-frontend/components/accordion/accordion.js +1011 -0
  13. data/node_modules/govuk-frontend/components/accordion/macro-options.json +70 -0
  14. data/node_modules/govuk-frontend/components/accordion/macro.njk +3 -0
  15. data/node_modules/govuk-frontend/components/accordion/template.njk +27 -0
  16. data/node_modules/govuk-frontend/components/input/macro-options.json +7 -0
  17. data/node_modules/govuk-frontend/components/summary-list/README.md +15 -0
  18. data/node_modules/govuk-frontend/components/summary-list/_summary-list.scss +112 -0
  19. data/node_modules/govuk-frontend/components/summary-list/macro-options.json +95 -0
  20. data/node_modules/govuk-frontend/components/summary-list/macro.njk +3 -0
  21. data/node_modules/govuk-frontend/components/summary-list/template.njk +35 -0
  22. data/node_modules/govuk-frontend/helpers/_grid.scss +43 -35
  23. data/node_modules/govuk-frontend/helpers/_visually-hidden.scss +4 -2
  24. data/node_modules/govuk-frontend/objects/_grid.scss +21 -8
  25. data/node_modules/govuk-frontend/package.json +11 -11
  26. data/node_modules/govuk-frontend/settings/_measurements.scss +14 -0
  27. data/node_modules/govuk-frontend/template.njk +2 -0
  28. metadata +13 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74c6e51c7088b181de04ef57ae76940aefae824b491ad96fd968803e88b7a898
4
- data.tar.gz: 43288c76f2513aa1026a39994d6d4bbb199965c4cbdacafa891f33f2ed13814c
3
+ metadata.gz: 7917f9968e881660dbada250f665eb389246ffa2ef2912bf480342f43dbc98ed
4
+ data.tar.gz: a65f9e2533de7b6cd501f611420cb458fab347c2b27172bfe15c8cfd9354a331
5
5
  SHA512:
6
- metadata.gz: f043abefc18b6ac6ed2b9784de8db39c7d509414b01b2d54f45587a467361eca99ea7a695bb1761c522f02270076b779b48d3370aa88f0e6e42124059711d077
7
- data.tar.gz: 1333493ea99ea646a7573948912ac95ae8b5c78a73df9d6b21c124536b173f37603274a15d68a372431acbb292b9fe546ee900808367b20f24ca9b8ee68aa980
6
+ metadata.gz: '098a4fa867f6dc0227ca66c690d1bac8a7cec6bd87e663cf6a97b09cca08575ecb823992c589facdf2f7701521dc00f3105e4387fe8bfbae88ebad9d9d4ad6e2'
7
+ data.tar.gz: 1f5c06724cb029ffd6b01196fac01cd87f01f1a2034466745926cf62a75db1551f215631f20f9796397d7dcd11cabb882fc2455831a1d67a1be7f31e0cb6bacc
@@ -4,12 +4,12 @@
4
4
  //= require govuk/modules
5
5
 
6
6
  $(document).ready(function () {
7
- 'use strict'
7
+ 'use strict';
8
8
 
9
- GOVUK.modules.start()
9
+ GOVUK.modules.start();
10
10
 
11
11
  // Static has a Toggle module in here we have a GemToggle module, we can't
12
12
  // easily change govspeak to use GemToggle but we can use the GemToggle module
13
13
  var gemToggle = new GOVUK.Modules.GemToggle();
14
14
  gemToggle.start($("[data-module=toggle]"));
15
- })
15
+ });
@@ -1,69 +1,93 @@
1
1
  /*
2
2
  Toggle the display of elements
3
3
 
4
- This is a straight copy of the same file from static.
4
+ Use as follows:
5
+
6
+ <div data-module="gem-toggle">
7
+ <a href="#" data-controls="target" data-expanded="true">
8
+ Show more
9
+ </a>
10
+ <div id="target">
11
+ Content to be toggled
12
+ </div>
13
+ </div>
5
14
 
6
15
  Use `data-controls` and `data-expanded` to indicate the
7
16
  starting state and the IDs of the elements that the toggle
8
17
  controls. This is synonymous with ARIA attributes, which
9
18
  get added when starting.
19
+
20
+ If you want to set `data-expanded` to false, you must add
21
+ the `js-hidden` class to the element you wish to hide in
22
+ your template, the module will not do this for you.
23
+
24
+ `data-controls` can contain more than one element, space
25
+ separated.
26
+
27
+ Use `data-toggle-class` on the parent element to set the
28
+ class that is toggled. Defaults to `js-hidden`.
29
+
30
+ Use `data-toggled-text` on the trigger element to set the
31
+ text shown when the element is toggled. Defaults to not
32
+ changing.
10
33
  */
11
34
 
12
35
  window.GOVUK.Modules = window.GOVUK.Modules || {};
13
36
 
14
37
  (function (Modules) {
15
- 'use strict'
38
+ 'use strict';
16
39
 
17
40
  Modules.GemToggle = function () {
18
41
  this.start = function ($el) {
19
- var toggleSelector = '[data-controls][data-expanded]'
42
+ var toggleSelector = '[data-controls][data-expanded]';
43
+ var toggleClass = $el.attr('data-toggle-class') || 'js-hidden';
20
44
 
21
- $el.on('click', toggleSelector, toggle)
22
- $el.find(toggleSelector).each(addAriaAttrs)
45
+ $el.on('click', toggleSelector, toggle);
46
+ $el.find(toggleSelector).each(addAriaAttrs);
23
47
 
24
48
  // Add the ARIA attributes with JavaScript
25
49
  // If the JS fails and there's no interactive elements, having
26
50
  // no aria attributes is an accurate representation.
27
51
  function addAriaAttrs () {
28
- var $toggle = $(this)
29
- $toggle.attr('role', 'button')
30
- $toggle.attr('aria-controls', $toggle.data('controls'))
31
- $toggle.attr('aria-expanded', $toggle.data('expanded'))
32
-
33
- var $targets = getTargetElements($toggle)
34
- $targets.attr('aria-live', 'polite')
35
- $targets.attr('role', 'region')
36
- $toggle.data('$targets', $targets)
52
+ var $toggle = $(this);
53
+ $toggle.attr('role', 'button');
54
+ $toggle.attr('aria-controls', $toggle.data('controls'));
55
+ $toggle.attr('aria-expanded', $toggle.data('expanded'));
56
+
57
+ var $targets = getTargetElements($toggle);
58
+ $targets.attr('aria-live', 'polite');
59
+ $targets.attr('role', 'region');
60
+ $toggle.data('$targets', $targets);
37
61
  }
38
62
 
39
63
  function toggle (event) {
40
64
  var $toggle = $(event.target),
41
65
  expanded = $toggle.attr('aria-expanded') === 'true',
42
- $targets = $toggle.data('$targets')
66
+ $targets = $toggle.data('$targets');
43
67
 
44
68
  if (expanded) {
45
- $toggle.attr('aria-expanded', false)
46
- $targets.addClass('js-hidden')
69
+ $toggle.attr('aria-expanded', false);
70
+ $targets.addClass(toggleClass);
47
71
  } else {
48
- $toggle.attr('aria-expanded', true)
49
- $targets.removeClass('js-hidden')
72
+ $toggle.attr('aria-expanded', true);
73
+ $targets.removeClass(toggleClass);
50
74
  }
51
75
 
52
- var toggledText = $toggle.data('toggled-text')
76
+ var toggledText = $toggle.data('toggled-text');
53
77
  if (typeof toggledText === 'string') {
54
- $toggle.data('toggled-text', $toggle.text())
55
- $toggle.text(toggledText)
78
+ $toggle.data('toggled-text', $toggle.text());
79
+ $toggle.text(toggledText);
56
80
  }
57
81
 
58
- event.preventDefault()
82
+ event.preventDefault();
59
83
  }
60
84
 
61
85
  function getTargetElements ($toggle) {
62
86
  var ids = $toggle.attr('aria-controls').split(' '),
63
- selector = '#' + ids.join(', #')
87
+ selector = '#' + ids.join(', #');
64
88
 
65
- return $el.find(selector)
89
+ return $el.find(selector);
66
90
  }
67
- }
68
- }
69
- })(window.GOVUK.Modules)
91
+ };
92
+ };
93
+ })(window.GOVUK.Modules);
@@ -10,238 +10,253 @@ accessibility_excluded_rules:
10
10
  examples:
11
11
  default:
12
12
  data:
13
- links:
14
- ordered_related_items:
15
- - title: Find an apprenticeship
16
- base_path: /apply-apprenticeship
17
- - title: Training and study at work
18
- base_path: /training-study-work-your-rights
19
- - title: Careers helpline for teenagers
20
- base_path: /careers-helpline-for-teenagers
13
+ content_item:
14
+ links:
15
+ ordered_related_items:
16
+ - title: Find an apprenticeship
17
+ base_path: /apply-apprenticeship
18
+ - title: Training and study at work
19
+ base_path: /training-study-work-your-rights
20
+ - title: Careers helpline for teenagers
21
+ base_path: /careers-helpline-for-teenagers
21
22
  with_curated_topics:
22
23
  data:
23
- links:
24
- topics:
25
- - title: Apprenticeships, 14 to 19 education and training for work
26
- base_path: /browse/education/find-course
27
- document_type: topic
28
- - title: Finding a job
29
- base_path: /browse/working/finding-job
30
- document_type: topic
31
- - title: Apprenticeships
32
- base_path: /topic/further-education-skills/apprenticeships
33
- document_type: topic
24
+ content_item:
25
+ links:
26
+ topics:
27
+ - title: Apprenticeships, 14 to 19 education and training for work
28
+ base_path: /browse/education/find-course
29
+ document_type: topic
30
+ - title: Finding a job
31
+ base_path: /browse/working/finding-job
32
+ document_type: topic
33
+ - title: Apprenticeships
34
+ base_path: /topic/further-education-skills/apprenticeships
35
+ document_type: topic
34
36
  with_mainstream_browse_pages:
35
37
  data:
36
- links:
37
- mainstream_browse_pages:
38
- - title: Driving licences
39
- base_path: /browse/driving/driving-licences
40
- document_type: mainstream_browse_page
41
- - title: Driving tests and learning to drive or ride
42
- base_path: /browse/driving/learning-to-drive
43
- document_type: mainstream_browse_page
38
+ content_item:
39
+ links:
40
+ mainstream_browse_pages:
41
+ - title: Driving licences
42
+ base_path: /browse/driving/driving-licences
43
+ document_type: mainstream_browse_page
44
+ - title: Driving tests and learning to drive or ride
45
+ base_path: /browse/driving/learning-to-drive
46
+ document_type: mainstream_browse_page
44
47
  with_taxons:
45
48
  data:
46
- links:
47
- taxons:
48
- - title: Driving instruction and driving lessons
49
- base_path: /transport/driving-instruction-and-driving-lessons
50
- phase: live
51
- document_type: taxon
49
+ content_item:
50
+ links:
51
+ taxons:
52
+ - title: Driving instruction and driving lessons
53
+ base_path: /transport/driving-instruction-and-driving-lessons
54
+ phase: live
55
+ document_type: taxon
52
56
  with_curated_topics_and_mainstream_browse_pages:
53
57
  description: Currated topics and mainstream browse pages are combined.
54
58
  data:
55
- links:
56
- mainstream_browse_pages:
57
- - title: Driving licences
58
- base_path: /browse/driving/driving-licences
59
- document_type: mainstream_browse_page
60
- - title: Driving tests and learning to drive or ride
61
- base_path: /browse/driving/learning-to-drive
62
- document_type: mainstream_browse_page
63
- topics:
64
- - title: Cars
65
- base_path: /topic/driving-tests-and-learning-to-drive/car
66
- document_type: topic
59
+ content_item:
60
+ links:
61
+ mainstream_browse_pages:
62
+ - title: Driving licences
63
+ base_path: /browse/driving/driving-licences
64
+ document_type: mainstream_browse_page
65
+ - title: Driving tests and learning to drive or ride
66
+ base_path: /browse/driving/learning-to-drive
67
+ document_type: mainstream_browse_page
68
+ topics:
69
+ - title: Cars
70
+ base_path: /topic/driving-tests-and-learning-to-drive/car
71
+ document_type: topic
67
72
  with_curated_topics_and_mainstream_browse_pages_and_taxons:
68
73
  description: Currated topics and mainstream browse pages take precedence over the sidewide topic taxonomy.
69
74
  data:
70
- links:
71
- mainstream_browse_pages:
72
- - title: Driving licences
73
- base_path: /browse/driving/driving-licences
74
- document_type: mainstream_browse_page
75
- - title: Driving tests and learning to drive or ride
76
- base_path: /browse/driving/learning-to-drive
77
- document_type: mainstream_browse_page
78
- taxons:
79
- - title: Driving instruction and driving lessons
80
- base_path: /transport/driving-instruction-and-driving-lessons
81
- phase: live
82
- document_type: taxon
83
- topics:
84
- - title: Cars
85
- base_path: /topic/driving-tests-and-learning-to-drive/car
86
- document_type: topic
75
+ content_item:
76
+ links:
77
+ mainstream_browse_pages:
78
+ - title: Driving licences
79
+ base_path: /browse/driving/driving-licences
80
+ document_type: mainstream_browse_page
81
+ - title: Driving tests and learning to drive or ride
82
+ base_path: /browse/driving/learning-to-drive
83
+ document_type: mainstream_browse_page
84
+ taxons:
85
+ - title: Driving instruction and driving lessons
86
+ base_path: /transport/driving-instruction-and-driving-lessons
87
+ phase: live
88
+ document_type: taxon
89
+ topics:
90
+ - title: Cars
91
+ base_path: /topic/driving-tests-and-learning-to-drive/car
92
+ document_type: topic
87
93
  with_collections:
88
94
  data:
89
- links:
90
- document_collections:
91
- - title: Recruit an apprentice (formerly apprenticeship vacancies)
92
- base_path: /government/collections/apprenticeship-vacancies
93
- document_type: document_collection
94
- - title: The future of jobs and skills
95
- base_path: /government/collections/the-future-of-jobs-and-skills
96
- document_type: document_collection
95
+ content_item:
96
+ links:
97
+ document_collections:
98
+ - title: Recruit an apprentice (formerly apprenticeship vacancies)
99
+ base_path: /government/collections/apprenticeship-vacancies
100
+ document_type: document_collection
101
+ - title: The future of jobs and skills
102
+ base_path: /government/collections/the-future-of-jobs-and-skills
103
+ document_type: document_collection
97
104
  with_topical_events:
98
105
  data:
99
- links:
100
- topical_events:
101
- - title: UK-China High-Level People to People Dialogue 2017
102
- base_path: /government/topical-events/uk-china-high-level-people-to-people-dialogue-2017
103
- document_type: topical_event
106
+ content_item:
107
+ links:
108
+ topical_events:
109
+ - title: UK-China High-Level People to People Dialogue 2017
110
+ base_path: /government/topical-events/uk-china-high-level-people-to-people-dialogue-2017
111
+ document_type: topical_event
104
112
  with_world_locations:
105
113
  data:
106
- links:
107
- world_locations:
108
- - title: South Sudan
109
- base_path: /world/south-sudan/news
110
- - title: USA
111
- base_path: /world/usa/news
114
+ content_item:
115
+ links:
116
+ world_locations:
117
+ - title: South Sudan
118
+ base_path: /world/south-sudan/news
119
+ - title: USA
120
+ base_path: /world/usa/news
112
121
  with_external_related_links:
113
122
  description: The component can accept other related links, such as external links or other contacts.
114
123
  data:
115
- details:
116
- external_related_links:
117
- - url: "http://media.slc.co.uk/sfe/1718/ft/sfe_terms_and_conditions_guide_1718_d.pdf"
118
- title: "Student loans: terms and conditions 2017 to 2018 (PDF, 136KB)"
119
- - url: "https://www.thestudentroom.co.uk/content.php?r=5967-Repaying-your-student-loan"
120
- title: "The Student Room: repaying your student loan"
124
+ content_item:
125
+ details:
126
+ external_related_links:
127
+ - url: "http://media.slc.co.uk/sfe/1718/ft/sfe_terms_and_conditions_guide_1718_d.pdf"
128
+ title: "Student loans: terms and conditions 2017 to 2018 (PDF, 136KB)"
129
+ - url: "https://www.thestudentroom.co.uk/content.php?r=5967-Repaying-your-student-loan"
130
+ title: "The Student Room: repaying your student loan"
121
131
  with_extensive_world_locations:
122
132
  description: The component handles having a long list of content passed to it, by only showing the first few items and hiding the rest behind a Show More toggle.
123
133
  data:
124
- links:
125
- world_locations:
126
- - title: Algeria
127
- base_path: /world/algeria/news
128
- - title: Austria
129
- base_path: /world/austria/news
130
- - title: Belarus
131
- base_path: /world/belarus/news
132
- - title: Belgium
133
- base_path: /world/belgium/news
134
- - title: Bolivia
135
- base_path: /world/bolivia/news
136
- - title: Brazil
137
- base_path: /world/brazil/news
138
- - title: Canada
139
- base_path: /world/canada/news
140
- - title: Chile
141
- base_path: /world/chile/news
142
- - title: China
143
- base_path: /world/China/news
144
- - title: Cuba
145
- base_path: /world/cuba/news
146
- - title: Denmark
147
- base_path: /world/denmark/news
148
- - title: Egypt
149
- base_path: /world/egypt/news
150
- - title: Fiji
151
- base_path: /world/fiji/news
152
- - title: Finland
153
- base_path: /world/finland/news
154
- - title: France
155
- base_path: /world/france/news
156
- - title: Germany
157
- base_path: /world/germany/news
158
- - title: Greece
159
- base_path: /world/greece/news
160
- - title: Norway
161
- base_path: /world/norway/news
162
- - title: Russia
163
- base_path: /world/russia/news
164
- - title: Sweden
165
- base_path: /world/sweden/news
166
- - title: United Kingdom
167
- base_path: /world/united-kingdom/news
168
- - title: USA
169
- base_path: /world/usa/news
134
+ content_item:
135
+ links:
136
+ world_locations:
137
+ - title: Algeria
138
+ base_path: /world/algeria/news
139
+ - title: Austria
140
+ base_path: /world/austria/news
141
+ - title: Belarus
142
+ base_path: /world/belarus/news
143
+ - title: Belgium
144
+ base_path: /world/belgium/news
145
+ - title: Bolivia
146
+ base_path: /world/bolivia/news
147
+ - title: Brazil
148
+ base_path: /world/brazil/news
149
+ - title: Canada
150
+ base_path: /world/canada/news
151
+ - title: Chile
152
+ base_path: /world/chile/news
153
+ - title: China
154
+ base_path: /world/China/news
155
+ - title: Cuba
156
+ base_path: /world/cuba/news
157
+ - title: Denmark
158
+ base_path: /world/denmark/news
159
+ - title: Egypt
160
+ base_path: /world/egypt/news
161
+ - title: Fiji
162
+ base_path: /world/fiji/news
163
+ - title: Finland
164
+ base_path: /world/finland/news
165
+ - title: France
166
+ base_path: /world/france/news
167
+ - title: Germany
168
+ base_path: /world/germany/news
169
+ - title: Greece
170
+ base_path: /world/greece/news
171
+ - title: Norway
172
+ base_path: /world/norway/news
173
+ - title: Russia
174
+ base_path: /world/russia/news
175
+ - title: Sweden
176
+ base_path: /world/sweden/news
177
+ - title: United Kingdom
178
+ base_path: /world/united-kingdom/news
179
+ - title: USA
180
+ base_path: /world/usa/news
170
181
  with_quick_links:
171
182
  data:
172
- details:
173
- quick_links:
174
- - title: "Money Laundering Regulations: introduction"
175
- url: "https://www.gov.uk/money-laundering-regulations-introduction"
176
- - title: "Money Laundering Regulations: report suspicious activities"
177
- url: "https://www.gov.uk/money-laundering-regulations-report-suspicious-activities"
183
+ content_item:
184
+ details:
185
+ quick_links:
186
+ - title: "Money Laundering Regulations: introduction"
187
+ url: "https://www.gov.uk/money-laundering-regulations-introduction"
188
+ - title: "Money Laundering Regulations: report suspicious activities"
189
+ url: "https://www.gov.uk/money-laundering-regulations-report-suspicious-activities"
178
190
  with_related_statistical_data_sets:
179
191
  data:
180
- links:
181
- related_statistical_data_sets:
182
- - title: International road fuel prices
183
- base_path: /government/statistical-data-sets/comparisons-of-industrial-and-domestic-energy-prices-monthly-figures
184
- document_type: statistical_data_set
185
- - title: Weekly road fuel prices
186
- base_path: /government/statistical-data-sets/oil-and-petroleum-products-weekly-statistics
187
- document_type: statistical_data_set
188
- with_related_contacts:
189
- data:
190
- links:
191
- related:
192
- - title: Pest Control
193
- base_path: /pest-control
194
- document_type: contact
195
- with_all_related-content:
196
- data:
197
- links:
198
- ordered_related_items:
199
- - title: Find an apprenticeship
200
- base_path: /apply-apprenticeship
201
- - title: Training and study at work
202
- base_path: /training-study-work-your-rights
203
- - title: Careers helpline for teenagers
204
- base_path: /careers-helpline-for-teenagers
205
- topics:
206
- - title: Apprenticeships, 14 to 19 education and training for work
207
- base_path: /browse/education/find-course
208
- document_type: topic
209
- - title: Finding a job
210
- base_path: /browse/working/finding-job
211
- document_type: topic
212
- - title: Apprenticeships
213
- base_path: /topic/further-education-skills/apprenticeships
214
- document_type: topic
215
- topical_events:
216
- - title: UK-China High-Level People to People Dialogue 2017
217
- base_path: /government/topical-events/uk-china-high-level-people-to-people-dialogue-2017
218
- document_type: topical_event
219
- related:
220
- - title: Pest Control
221
- base_path: /pest-control
222
- document_type: contact
223
- related_statistical_data_sets:
192
+ content_item:
193
+ links:
194
+ related_statistical_data_sets:
224
195
  - title: International road fuel prices
225
196
  base_path: /government/statistical-data-sets/comparisons-of-industrial-and-domestic-energy-prices-monthly-figures
226
197
  document_type: statistical_data_set
227
198
  - title: Weekly road fuel prices
228
199
  base_path: /government/statistical-data-sets/oil-and-petroleum-products-weekly-statistics
229
200
  document_type: statistical_data_set
230
- document_collections:
231
- - title: Recruit an apprentice (formerly apprenticeship vacancies)
232
- base_path: /government/collections/apprenticeship-vacancies
233
- document_type: document_collection
234
- - title: The future of jobs and skills
235
- base_path: /government/collections/the-future-of-jobs-and-skills
236
- document_type: document_collection
237
- world_locations:
238
- - title: South Sudan
239
- base_path: /world/south-sudan/news
240
- - title: USA
241
- base_path: /world/usa/news
242
- details:
243
- external_related_links:
244
- - url: "http://media.slc.co.uk/sfe/1718/ft/sfe_terms_and_conditions_guide_1718_d.pdf"
245
- title: "Student loans: terms and conditions 2017 to 2018 (PDF, 136KB)"
246
- - title: The Student Room repaying your student loan
247
- url: https://www.thestudentroom.co.uk/content.php?r=5967-Repaying-your-student-loan
201
+ with_related_contacts:
202
+ data:
203
+ content_item:
204
+ links:
205
+ related:
206
+ - title: Pest Control
207
+ base_path: /pest-control
208
+ document_type: contact
209
+ with_all_related-content:
210
+ data:
211
+ content_item:
212
+ links:
213
+ ordered_related_items:
214
+ - title: Find an apprenticeship
215
+ base_path: /apply-apprenticeship
216
+ - title: Training and study at work
217
+ base_path: /training-study-work-your-rights
218
+ - title: Careers helpline for teenagers
219
+ base_path: /careers-helpline-for-teenagers
220
+ topics:
221
+ - title: Apprenticeships, 14 to 19 education and training for work
222
+ base_path: /browse/education/find-course
223
+ document_type: topic
224
+ - title: Finding a job
225
+ base_path: /browse/working/finding-job
226
+ document_type: topic
227
+ - title: Apprenticeships
228
+ base_path: /topic/further-education-skills/apprenticeships
229
+ document_type: topic
230
+ topical_events:
231
+ - title: UK-China High-Level People to People Dialogue 2017
232
+ base_path: /government/topical-events/uk-china-high-level-people-to-people-dialogue-2017
233
+ document_type: topical_event
234
+ related:
235
+ - title: Pest Control
236
+ base_path: /pest-control
237
+ document_type: contact
238
+ related_statistical_data_sets:
239
+ - title: International road fuel prices
240
+ base_path: /government/statistical-data-sets/comparisons-of-industrial-and-domestic-energy-prices-monthly-figures
241
+ document_type: statistical_data_set
242
+ - title: Weekly road fuel prices
243
+ base_path: /government/statistical-data-sets/oil-and-petroleum-products-weekly-statistics
244
+ document_type: statistical_data_set
245
+ document_collections:
246
+ - title: Recruit an apprentice (formerly apprenticeship vacancies)
247
+ base_path: /government/collections/apprenticeship-vacancies
248
+ document_type: document_collection
249
+ - title: The future of jobs and skills
250
+ base_path: /government/collections/the-future-of-jobs-and-skills
251
+ document_type: document_collection
252
+ world_locations:
253
+ - title: South Sudan
254
+ base_path: /world/south-sudan/news
255
+ - title: USA
256
+ base_path: /world/usa/news
257
+ details:
258
+ external_related_links:
259
+ - url: "http://media.slc.co.uk/sfe/1718/ft/sfe_terms_and_conditions_guide_1718_d.pdf"
260
+ title: "Student loans: terms and conditions 2017 to 2018 (PDF, 136KB)"
261
+ - title: The Student Room repaying your student loan
262
+ url: https://www.thestudentroom.co.uk/content.php?r=5967-Repaying-your-student-loan