{"action":"created","comment":{"url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/comments/49318660","id":49318660,"diff_hunk":"@@ -1,14 +1,32 @@\n-<!DOCTYPE html>\n-<html>\n-<head>\n-  <title>WorkYouCouldDo</title>\n-  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>\n-  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>\n-  <%= csrf_meta_tags %>\n-</head>\n-<body>\n-\n-<%= yield %>\n-\n-</body>\n-</html>\n+<% content_for :head do %>\n+<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>\n+<% end %>\n+\n+<% content_for :page_title do %>\n+  Work you could do\n+<% end %>\n+\n+<% content_for :cookie_message do %>\n+  <p>We uses cookies to make the site simpler.\n+  <a href=\"/cookies\">Find out more about cookies</a></p>\n+<% end %>\n+\n+<% content_for :header_class do %>with-proposition<% end %>\n+\n+<% content_for :proposition_header do %>\n+<div class=\"header-proposition\">\n+  <div class=\"content\">\n+    <div id=\"proposition-menu\">\n+      <h1 id=\"proposition-name\">Work you could do</h1>\n+    </div>\n+  </div>\n+</div>\n+<% end %>\n+\n+<% content_for :content do %>\n+  <main id=\"content\">\n+    <%= yield(:application_content) %>","path":"app/views/layouts/application.html.erb","position":42,"original_position":42,"commit_id":"2991ef60b69e05b973d00a3a3b6abc1fc26e5461","original_commit_id":"2991ef60b69e05b973d00a3a3b6abc1fc26e5461","user":{"login":"gjvis","id":418277,"avatar_url":"https://avatars.githubusercontent.com/u/418277?v=3","gravatar_id":"","url":"https://api.github.com/users/gjvis","html_url":"https://github.com/gjvis","followers_url":"https://api.github.com/users/gjvis/followers","following_url":"https://api.github.com/users/gjvis/following{/other_user}","gists_url":"https://api.github.com/users/gjvis/gists{/gist_id}","starred_url":"https://api.github.com/users/gjvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjvis/subscriptions","organizations_url":"https://api.github.com/users/gjvis/orgs","repos_url":"https://api.github.com/users/gjvis/repos","events_url":"https://api.github.com/users/gjvis/events{/privacy}","received_events_url":"https://api.github.com/users/gjvis/received_events","type":"User","site_admin":false},"body":"If we make this \r\n```ruby\r\ncontent_for?(:application_content) ? yield(:application_content) : yield\r\n```\r\nthen views that use this layout don't need to explicitly wrap their content in a `content_for(:application_content)`","created_at":"2016-01-11T13:09:05Z","updated_at":"2016-01-11T13:09:05Z","html_url":"https://github.com/lm-tools/work-you-could-do/pull/1#discussion_r49318660","pull_request_url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/comments/49318660"},"html":{"href":"https://github.com/lm-tools/work-you-could-do/pull/1#discussion_r49318660"},"pull_request":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1","id":55615388,"html_url":"https://github.com/lm-tools/work-you-could-do/pull/1","diff_url":"https://github.com/lm-tools/work-you-could-do/pull/1.diff","patch_url":"https://github.com/lm-tools/work-you-could-do/pull/1.patch","issue_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/1","number":1,"state":"open","locked":false,"title":"GOV.UK styling","user":{"login":"camilleldn","id":5455804,"avatar_url":"https://avatars.githubusercontent.com/u/5455804?v=3","gravatar_id":"","url":"https://api.github.com/users/camilleldn","html_url":"https://github.com/camilleldn","followers_url":"https://api.github.com/users/camilleldn/followers","following_url":"https://api.github.com/users/camilleldn/following{/other_user}","gists_url":"https://api.github.com/users/camilleldn/gists{/gist_id}","starred_url":"https://api.github.com/users/camilleldn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilleldn/subscriptions","organizations_url":"https://api.github.com/users/camilleldn/orgs","repos_url":"https://api.github.com/users/camilleldn/repos","events_url":"https://api.github.com/users/camilleldn/events{/privacy}","received_events_url":"https://api.github.com/users/camilleldn/received_events","type":"User","site_admin":false},"body":"## What's in this PR?\r\n\r\n* Import:\r\n  - GOV.UK template\r\n  - GOV.UK frontend toolkit\r\n  - GOV.UK elements\r\n\r\n* Setup:\r\n  - root path to the app to be the start page\r\n  - copy some basic copy from sectors app to test start page\r\n\r\n* Development instructions\r\n\r\n## What does it look like?\r\n\r\n<img width=\"997\" alt=\"screen shot 2016-01-11 at 12 13 32 pm\" src=\"https://cloud.githubusercontent.com/assets/5455804/12233191/fbeff1da-b85c-11e5-9d2e-d97efed7c485.png\">\r\n","created_at":"2016-01-11T12:15:58Z","updated_at":"2016-01-11T13:09:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3a4edf576402155f989600254efe7455bfb1b0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1/commits","review_comments_url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1/comments","review_comment_url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/1/comments","statuses_url":"https://api.github.com/repos/lm-tools/work-you-could-do/statuses/2991ef60b69e05b973d00a3a3b6abc1fc26e5461","head":{"label":"lm-tools:govuk-template-elements-frontend-imported","ref":"govuk-template-elements-frontend-imported","sha":"2991ef60b69e05b973d00a3a3b6abc1fc26e5461","user":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":49418821,"name":"work-you-could-do","full_name":"lm-tools/work-you-could-do","owner":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lm-tools/work-you-could-do","description":"Work you could do","fork":false,"url":"https://api.github.com/repos/lm-tools/work-you-could-do","forks_url":"https://api.github.com/repos/lm-tools/work-you-could-do/forks","keys_url":"https://api.github.com/repos/lm-tools/work-you-could-do/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lm-tools/work-you-could-do/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lm-tools/work-you-could-do/teams","hooks_url":"https://api.github.com/repos/lm-tools/work-you-could-do/hooks","issue_events_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/events{/number}","events_url":"https://api.github.com/repos/lm-tools/work-you-could-do/events","assignees_url":"https://api.github.com/repos/lm-tools/work-you-could-do/assignees{/user}","branches_url":"https://api.github.com/repos/lm-tools/work-you-could-do/branches{/branch}","tags_url":"https://api.github.com/repos/lm-tools/work-you-could-do/tags","blobs_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/refs{/sha}","trees_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lm-tools/work-you-could-do/statuses/{sha}","languages_url":"https://api.github.com/repos/lm-tools/work-you-could-do/languages","stargazers_url":"https://api.github.com/repos/lm-tools/work-you-could-do/stargazers","contributors_url":"https://api.github.com/repos/lm-tools/work-you-could-do/contributors","subscribers_url":"https://api.github.com/repos/lm-tools/work-you-could-do/subscribers","subscription_url":"https://api.github.com/repos/lm-tools/work-you-could-do/subscription","commits_url":"https://api.github.com/repos/lm-tools/work-you-could-do/commits{/sha}","git_commits_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/commits{/sha}","comments_url":"https://api.github.com/repos/lm-tools/work-you-could-do/comments{/number}","issue_comment_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/comments{/number}","contents_url":"https://api.github.com/repos/lm-tools/work-you-could-do/contents/{+path}","compare_url":"https://api.github.com/repos/lm-tools/work-you-could-do/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lm-tools/work-you-could-do/merges","archive_url":"https://api.github.com/repos/lm-tools/work-you-could-do/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lm-tools/work-you-could-do/downloads","issues_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues{/number}","pulls_url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls{/number}","milestones_url":"https://api.github.com/repos/lm-tools/work-you-could-do/milestones{/number}","notifications_url":"https://api.github.com/repos/lm-tools/work-you-could-do/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lm-tools/work-you-could-do/labels{/name}","releases_url":"https://api.github.com/repos/lm-tools/work-you-could-do/releases{/id}","created_at":"2016-01-11T10:28:49Z","updated_at":"2016-01-11T10:34:12Z","pushed_at":"2016-01-11T12:38:06Z","git_url":"git://github.com/lm-tools/work-you-could-do.git","ssh_url":"git@github.com:lm-tools/work-you-could-do.git","clone_url":"https://github.com/lm-tools/work-you-could-do.git","svn_url":"https://github.com/lm-tools/work-you-could-do","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lm-tools:master","ref":"master","sha":"54a0f3b192afcfdfcefa12f43ac0bcd9c79881b1","user":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":49418821,"name":"work-you-could-do","full_name":"lm-tools/work-you-could-do","owner":{"login":"lm-tools","id":12998430,"avatar_url":"https://avatars.githubusercontent.com/u/12998430?v=3","gravatar_id":"","url":"https://api.github.com/users/lm-tools","html_url":"https://github.com/lm-tools","followers_url":"https://api.github.com/users/lm-tools/followers","following_url":"https://api.github.com/users/lm-tools/following{/other_user}","gists_url":"https://api.github.com/users/lm-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/lm-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lm-tools/subscriptions","organizations_url":"https://api.github.com/users/lm-tools/orgs","repos_url":"https://api.github.com/users/lm-tools/repos","events_url":"https://api.github.com/users/lm-tools/events{/privacy}","received_events_url":"https://api.github.com/users/lm-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lm-tools/work-you-could-do","description":"Work you could do","fork":false,"url":"https://api.github.com/repos/lm-tools/work-you-could-do","forks_url":"https://api.github.com/repos/lm-tools/work-you-could-do/forks","keys_url":"https://api.github.com/repos/lm-tools/work-you-could-do/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lm-tools/work-you-could-do/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lm-tools/work-you-could-do/teams","hooks_url":"https://api.github.com/repos/lm-tools/work-you-could-do/hooks","issue_events_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/events{/number}","events_url":"https://api.github.com/repos/lm-tools/work-you-could-do/events","assignees_url":"https://api.github.com/repos/lm-tools/work-you-could-do/assignees{/user}","branches_url":"https://api.github.com/repos/lm-tools/work-you-could-do/branches{/branch}","tags_url":"https://api.github.com/repos/lm-tools/work-you-could-do/tags","blobs_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/refs{/sha}","trees_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lm-tools/work-you-could-do/statuses/{sha}","languages_url":"https://api.github.com/repos/lm-tools/work-you-could-do/languages","stargazers_url":"https://api.github.com/repos/lm-tools/work-you-could-do/stargazers","contributors_url":"https://api.github.com/repos/lm-tools/work-you-could-do/contributors","subscribers_url":"https://api.github.com/repos/lm-tools/work-you-could-do/subscribers","subscription_url":"https://api.github.com/repos/lm-tools/work-you-could-do/subscription","commits_url":"https://api.github.com/repos/lm-tools/work-you-could-do/commits{/sha}","git_commits_url":"https://api.github.com/repos/lm-tools/work-you-could-do/git/commits{/sha}","comments_url":"https://api.github.com/repos/lm-tools/work-you-could-do/comments{/number}","issue_comment_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/comments{/number}","contents_url":"https://api.github.com/repos/lm-tools/work-you-could-do/contents/{+path}","compare_url":"https://api.github.com/repos/lm-tools/work-you-could-do/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lm-tools/work-you-could-do/merges","archive_url":"https://api.github.com/repos/lm-tools/work-you-could-do/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lm-tools/work-you-could-do/downloads","issues_url":"https://api.github.com/repos/lm-tools/work-you-could-do/issues{/number}","pulls_url":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls{/number}","milestones_url":"https://api.github.com/repos/lm-tools/work-you-could-do/milestones{/number}","notifications_url":"https://api.github.com/repos/lm-tools/work-you-could-do/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lm-tools/work-you-could-do/labels{/name}","releases_url":"https://api.github.com/repos/lm-tools/work-you-could-do/releases{/id}","created_at":"2016-01-11T10:28:49Z","updated_at":"2016-01-11T10:34:12Z","pushed_at":"2016-01-11T12:38:06Z","git_url":"git://github.com/lm-tools/work-you-could-do.git","ssh_url":"git@github.com:lm-tools/work-you-could-do.git","clone_url":"https://github.com/lm-tools/work-you-could-do.git","svn_url":"https://github.com/lm-tools/work-you-could-do","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1"},"html":{"href":"https://github.com/lm-tools/work-you-could-do/pull/1"},"issue":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/1"},"comments":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/lm-tools/work-you-could-do/statuses/2991ef60b69e05b973d00a3a3b6abc1fc26e5461"}}}}