{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/government-frontend/issues/417","repository_url":"https://api.github.com/repos/alphagov/government-frontend","labels_url":"https://api.github.com/repos/alphagov/government-frontend/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/government-frontend/issues/417/comments","events_url":"https://api.github.com/repos/alphagov/government-frontend/issues/417/events","html_url":"https://github.com/alphagov/government-frontend/pull/417","id":246388388,"number":417,"title":"Create translation navigation component","user":{"login":"vanitabarrett","id":29889908,"avatar_url":"https://avatars3.githubusercontent.com/u/29889908?v=4","gravatar_id":"","url":"https://api.github.com/users/vanitabarrett","html_url":"https://github.com/vanitabarrett","followers_url":"https://api.github.com/users/vanitabarrett/followers","following_url":"https://api.github.com/users/vanitabarrett/following{/other_user}","gists_url":"https://api.github.com/users/vanitabarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/vanitabarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanitabarrett/subscriptions","organizations_url":"https://api.github.com/users/vanitabarrett/orgs","repos_url":"https://api.github.com/users/vanitabarrett/repos","events_url":"https://api.github.com/users/vanitabarrett/events{/privacy}","received_events_url":"https://api.github.com/users/vanitabarrett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-28T15:53:22Z","updated_at":"2017-08-01T09:45:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/government-frontend/pulls/417","html_url":"https://github.com/alphagov/government-frontend/pull/417","diff_url":"https://github.com/alphagov/government-frontend/pull/417.diff","patch_url":"https://github.com/alphagov/government-frontend/pull/417.patch"},"body":"The translation nav component:\r\n- Replaces the existing 'available languages' partial in government frontend\r\n- Takes parameters for a translation content item. This should contain base_href, locale, text, and an active state if applicable\r\n- Deliberately errors if no translations are provided\r\n- Documented in the component guide (shown below):\r\n\r\n<img width=\"1004\" alt=\"screen shot 2017-07-28 at 16 47 02\" src=\"https://user-images.githubusercontent.com/29889908/28725126-67528cf8-73b4-11e7-89f0-fb68d88fc557.png\">\r\n\r\n## **Usage**\r\nThe old 'available languages' partial was used in multiple templates in government-frontend. **Examples:**\r\n- [Case Study](https://www.gov.uk/government/case-studies/the-role-of-women-in-afghanistan)\r\n- [Corporate Report](https://www.gov.uk/government/publications/your-charter)\r\n- [Detailed Guide](https://www.gov.uk/guidance/hm-land-registry-registration-services-fees)\r\n- [Publication Scheme](https://www.gov.uk/government/organisations/department-for-work-pensions/about/publication-scheme)\r\n- [Speech](https://www.gov.uk/government/speeches/we-seek-to-align-uk-interests-with-ambitions-of-karnataka)\r\n- [World Location News](https://www.gov.uk/government/world-location-news/changes-to-secure-english-language-test-providers-for-uk-visas)"},"comment":{"url":"https://api.github.com/repos/alphagov/government-frontend/issues/comments/319323004","html_url":"https://github.com/alphagov/government-frontend/pull/417#issuecomment-319323004","issue_url":"https://api.github.com/repos/alphagov/government-frontend/issues/417","id":319323004,"user":{"login":"nickcolley","id":2445413,"avatar_url":"https://avatars2.githubusercontent.com/u/2445413?v=4","gravatar_id":"","url":"https://api.github.com/users/nickcolley","html_url":"https://github.com/nickcolley","followers_url":"https://api.github.com/users/nickcolley/followers","following_url":"https://api.github.com/users/nickcolley/following{/other_user}","gists_url":"https://api.github.com/users/nickcolley/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcolley/subscriptions","organizations_url":"https://api.github.com/users/nickcolley/orgs","repos_url":"https://api.github.com/users/nickcolley/repos","events_url":"https://api.github.com/users/nickcolley/events{/privacy}","received_events_url":"https://api.github.com/users/nickcolley/received_events","type":"User","site_admin":false},"created_at":"2017-08-01T09:45:32Z","updated_at":"2017-08-01T09:45:32Z","body":"Links to test:\r\n\r\nhttps://government-frontend-pr-417.herokuapp.com/component-guide/translation-nav\r\nhttps://government-frontend-pr-417.herokuapp.com/government/world-location-news/changes-to-secure-english-language-test-providers-for-uk-visas"}}
{"actor":{"display_login":"nickcolley"}}