{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/alphagov/com-prototype/pulls/5","id":95211836,"html_url":"https://github.com/alphagov/com-prototype/pull/5","diff_url":"https://github.com/alphagov/com-prototype/pull/5.diff","patch_url":"https://github.com/alphagov/com-prototype/pull/5.patch","issue_url":"https://api.github.com/repos/alphagov/com-prototype/issues/5","number":5,"state":"open","locked":false,"title":"Preparations to use gov.uk style frontend","user":{"login":"selfthinker","id":108893,"avatar_url":"https://avatars.githubusercontent.com/u/108893?v=3","gravatar_id":"","url":"https://api.github.com/users/selfthinker","html_url":"https://github.com/selfthinker","followers_url":"https://api.github.com/users/selfthinker/followers","following_url":"https://api.github.com/users/selfthinker/following{/other_user}","gists_url":"https://api.github.com/users/selfthinker/gists{/gist_id}","starred_url":"https://api.github.com/users/selfthinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfthinker/subscriptions","organizations_url":"https://api.github.com/users/selfthinker/orgs","repos_url":"https://api.github.com/users/selfthinker/repos","events_url":"https://api.github.com/users/selfthinker/events{/privacy}","received_events_url":"https://api.github.com/users/selfthinker/received_events","type":"User","site_admin":false},"body":"This adds all the necessary frontend gems and prepares the CSS and layout to produce gov.uk styled pages.\r\nAfter this has been merged, you can use simple HTML in views or more complex HTML copied and pasted from [Elements](http://govuk-elements.herokuapp.com/).\r\n\r\nWhat still needs to be done:\r\n\r\n* At some point we need to swap `govuk_template` for the `slimmer` gem. I tried to do that but was running into issues, so decided to go the simplest route first. Slimmer would be needed to a) automatically update all the assets and b) to get the gov.uk content in the header, footer, breadcrumbs, etc. and c) to use Gov.uk Components. All of that is not important in the beginning but will get more important when we plan to make this customer-facing.\r\n* The general layout can be extended (e.g. with a title or a sidebar) but that should be done when and if it is needed. Look into alphagov/govuk_template to see all the possible hooks etc.\r\n\r\nI tested everything in a test page which I removed again. It looked like this:\r\n![com-prototype-frontend](https://cloud.githubusercontent.com/assets/108893/20606600/efda7502-b269-11e6-9a05-17a1bea815c1.png)\r\n","created_at":"2016-11-24T17:18:05Z","updated_at":"2016-11-24T17:18:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/com-prototype/pulls/5/commits","review_comments_url":"https://api.github.com/repos/alphagov/com-prototype/pulls/5/comments","review_comment_url":"https://api.github.com/repos/alphagov/com-prototype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/com-prototype/issues/5/comments","statuses_url":"https://api.github.com/repos/alphagov/com-prototype/statuses/650f423a9e66cd699efd5547fe870e9a31fc5e24","head":{"label":"alphagov:add-frontend","ref":"add-frontend","sha":"650f423a9e66cd699efd5547fe870e9a31fc5e24","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":73927580,"name":"com-prototype","full_name":"alphagov/com-prototype","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/com-prototype","description":"Content Operating Model prototype","fork":false,"url":"https://api.github.com/repos/alphagov/com-prototype","forks_url":"https://api.github.com/repos/alphagov/com-prototype/forks","keys_url":"https://api.github.com/repos/alphagov/com-prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/com-prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/com-prototype/teams","hooks_url":"https://api.github.com/repos/alphagov/com-prototype/hooks","issue_events_url":"https://api.github.com/repos/alphagov/com-prototype/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/com-prototype/events","assignees_url":"https://api.github.com/repos/alphagov/com-prototype/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/com-prototype/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/com-prototype/tags","blobs_url":"https://api.github.com/repos/alphagov/com-prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/com-prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/com-prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/com-prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/com-prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/com-prototype/languages","stargazers_url":"https://api.github.com/repos/alphagov/com-prototype/stargazers","contributors_url":"https://api.github.com/repos/alphagov/com-prototype/contributors","subscribers_url":"https://api.github.com/repos/alphagov/com-prototype/subscribers","subscription_url":"https://api.github.com/repos/alphagov/com-prototype/subscription","commits_url":"https://api.github.com/repos/alphagov/com-prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/com-prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/com-prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/com-prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/com-prototype/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/com-prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/com-prototype/merges","archive_url":"https://api.github.com/repos/alphagov/com-prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/com-prototype/downloads","issues_url":"https://api.github.com/repos/alphagov/com-prototype/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/com-prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/com-prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/com-prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/com-prototype/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/com-prototype/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/com-prototype/deployments","created_at":"2016-11-16T14:22:38Z","updated_at":"2016-11-17T16:23:37Z","pushed_at":"2016-11-24T17:18:05Z","git_url":"git://github.com/alphagov/com-prototype.git","ssh_url":"git@github.com:alphagov/com-prototype.git","clone_url":"https://github.com/alphagov/com-prototype.git","svn_url":"https://github.com/alphagov/com-prototype","homepage":null,"size":120,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"37086274d7ff8078e97749c672363b21e1232cf8","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":73927580,"name":"com-prototype","full_name":"alphagov/com-prototype","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/com-prototype","description":"Content Operating Model prototype","fork":false,"url":"https://api.github.com/repos/alphagov/com-prototype","forks_url":"https://api.github.com/repos/alphagov/com-prototype/forks","keys_url":"https://api.github.com/repos/alphagov/com-prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/com-prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/com-prototype/teams","hooks_url":"https://api.github.com/repos/alphagov/com-prototype/hooks","issue_events_url":"https://api.github.com/repos/alphagov/com-prototype/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/com-prototype/events","assignees_url":"https://api.github.com/repos/alphagov/com-prototype/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/com-prototype/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/com-prototype/tags","blobs_url":"https://api.github.com/repos/alphagov/com-prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/com-prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/com-prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/com-prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/com-prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/com-prototype/languages","stargazers_url":"https://api.github.com/repos/alphagov/com-prototype/stargazers","contributors_url":"https://api.github.com/repos/alphagov/com-prototype/contributors","subscribers_url":"https://api.github.com/repos/alphagov/com-prototype/subscribers","subscription_url":"https://api.github.com/repos/alphagov/com-prototype/subscription","commits_url":"https://api.github.com/repos/alphagov/com-prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/com-prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/com-prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/com-prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/com-prototype/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/com-prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/com-prototype/merges","archive_url":"https://api.github.com/repos/alphagov/com-prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/com-prototype/downloads","issues_url":"https://api.github.com/repos/alphagov/com-prototype/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/com-prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/com-prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/com-prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/com-prototype/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/com-prototype/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/com-prototype/deployments","created_at":"2016-11-16T14:22:38Z","updated_at":"2016-11-17T16:23:37Z","pushed_at":"2016-11-24T17:18:05Z","git_url":"git://github.com/alphagov/com-prototype.git","ssh_url":"git@github.com:alphagov/com-prototype.git","clone_url":"https://github.com/alphagov/com-prototype.git","svn_url":"https://github.com/alphagov/com-prototype","homepage":null,"size":120,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/com-prototype/pulls/5"},"html":{"href":"https://github.com/alphagov/com-prototype/pull/5"},"issue":{"href":"https://api.github.com/repos/alphagov/com-prototype/issues/5"},"comments":{"href":"https://api.github.com/repos/alphagov/com-prototype/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/com-prototype/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/com-prototype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/com-prototype/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/com-prototype/statuses/650f423a9e66cd699efd5547fe870e9a31fc5e24"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":82,"deletions":15,"changed_files":5}}
{"actor":{"display_login":"selfthinker"}}