{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/government-frontend/pulls/comments/93251355","pull_request_review_id":13774003,"id":93251355,"diff_hunk":"@@ -231,18 +231,7 @@\n \n <div class=\"grid-row sidebar-with-body\">\n   <div class=\"column-two-thirds offset-one-third\">\n-    <h2>Share this page</h2>\n-    <div class=\"share-buttons\" data-module=\"track-share-button-clicks\">\n-      <%= link_to @content_item.facebook_share_url,\n-          target: \"_blank\",\n-          class: \"share-button-link js-share-facebook\" do %>\n-        <span class=\"share-button share-button-facebook\"></span><span class=\"visually-hidden\">Share on </span>Facebook<% end %>\n-\n-      <%= link_to @content_item.twitter_share_url,\n-          target: \"_blank\",\n-          class: \"share-button-link js-share-twitter\" do %>\n-        <span class=\"share-button share-button-twitter\"></span><span class=\"visually-hidden\">Share on </span>Twitter<% end %>\n-    </div>\n+    <%= render 'shared/share_icons', share_urls: @content_item.share_urls %>","path":"app/views/content_items/consultation.html.erb","position":null,"original_position":16,"commit_id":"1f7d1c5f998ebc95904523c6b53cbe49d58c1c32","original_commit_id":"fa49eedc29a272015a3448086691befe76df9154","user":{"login":"bevanloon","id":647311,"avatar_url":"https://avatars.githubusercontent.com/u/647311?v=3","gravatar_id":"","url":"https://api.github.com/users/bevanloon","html_url":"https://github.com/bevanloon","followers_url":"https://api.github.com/users/bevanloon/followers","following_url":"https://api.github.com/users/bevanloon/following{/other_user}","gists_url":"https://api.github.com/users/bevanloon/gists{/gist_id}","starred_url":"https://api.github.com/users/bevanloon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bevanloon/subscriptions","organizations_url":"https://api.github.com/users/bevanloon/orgs","repos_url":"https://api.github.com/users/bevanloon/repos","events_url":"https://api.github.com/users/bevanloon/events{/privacy}","received_events_url":"https://api.github.com/users/bevanloon/received_events","type":"User","site_admin":false},"body":"Changed in 1f7d1c5f998ebc95904523c6b53cbe49d58c1c32","created_at":"2016-12-20T14:49:21Z","updated_at":"2016-12-20T14:49:21Z","html_url":"https://github.com/alphagov/government-frontend/pull/210#discussion_r93251355","pull_request_url":"https://api.github.com/repos/alphagov/government-frontend/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/alphagov/government-frontend/pulls/comments/93251355"},"html":{"href":"https://github.com/alphagov/government-frontend/pull/210#discussion_r93251355"},"pull_request":{"href":"https://api.github.com/repos/alphagov/government-frontend/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/government-frontend/pulls/210","id":98750785,"html_url":"https://github.com/alphagov/government-frontend/pull/210","diff_url":"https://github.com/alphagov/government-frontend/pull/210.diff","patch_url":"https://github.com/alphagov/government-frontend/pull/210.patch","issue_url":"https://api.github.com/repos/alphagov/government-frontend/issues/210","number":210,"state":"open","locked":false,"title":"[Do Not Merge] Create Shareable presenter","user":{"login":"bevanloon","id":647311,"avatar_url":"https://avatars.githubusercontent.com/u/647311?v=3","gravatar_id":"","url":"https://api.github.com/users/bevanloon","html_url":"https://github.com/bevanloon","followers_url":"https://api.github.com/users/bevanloon/followers","following_url":"https://api.github.com/users/bevanloon/following{/other_user}","gists_url":"https://api.github.com/users/bevanloon/gists{/gist_id}","starred_url":"https://api.github.com/users/bevanloon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bevanloon/subscriptions","organizations_url":"https://api.github.com/users/bevanloon/orgs","repos_url":"https://api.github.com/users/bevanloon/repos","events_url":"https://api.github.com/users/bevanloon/events{/privacy}","received_events_url":"https://api.github.com/users/bevanloon/received_events","type":"User","site_admin":false},"body":"Share links will be required by multiple formats.\r\nRefactoring the code into a Shareable presenter will allow other formats\r\nto include the functionality easily.","created_at":"2016-12-20T13:44:39Z","updated_at":"2016-12-20T14:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44180ab5669c4d3bb26a8ae7c155b928195d9a19","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/government-frontend/pulls/210/commits","review_comments_url":"https://api.github.com/repos/alphagov/government-frontend/pulls/210/comments","review_comment_url":"https://api.github.com/repos/alphagov/government-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/government-frontend/issues/210/comments","statuses_url":"https://api.github.com/repos/alphagov/government-frontend/statuses/1f7d1c5f998ebc95904523c6b53cbe49d58c1c32","head":{"label":"alphagov:refactor-share-links","ref":"refactor-share-links","sha":"1f7d1c5f998ebc95904523c6b53cbe49d58c1c32","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":26582330,"name":"government-frontend","full_name":"alphagov/government-frontend","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/government-frontend","description":"Public-facing app to display documents on www.gov.uk/government","fork":false,"url":"https://api.github.com/repos/alphagov/government-frontend","forks_url":"https://api.github.com/repos/alphagov/government-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/government-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/government-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/government-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/government-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/government-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/government-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/government-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/government-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/government-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/government-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/government-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/government-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/government-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/government-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/government-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/government-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/government-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/government-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/government-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/government-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/government-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/government-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/government-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/government-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/government-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/government-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/government-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/government-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/government-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/government-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/government-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/government-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/government-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/government-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/government-frontend/deployments","created_at":"2014-11-13T10:18:07Z","updated_at":"2016-10-31T13:34:52Z","pushed_at":"2016-12-20T14:45:08Z","git_url":"git://github.com/alphagov/government-frontend.git","ssh_url":"git@github.com:alphagov/government-frontend.git","clone_url":"https://github.com/alphagov/government-frontend.git","svn_url":"https://github.com/alphagov/government-frontend","homepage":"","size":21390,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"591807f8b0f477fa9e852b69fdce6ab736f32c81","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":26582330,"name":"government-frontend","full_name":"alphagov/government-frontend","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/government-frontend","description":"Public-facing app to display documents on www.gov.uk/government","fork":false,"url":"https://api.github.com/repos/alphagov/government-frontend","forks_url":"https://api.github.com/repos/alphagov/government-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/government-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/government-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/government-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/government-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/government-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/government-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/government-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/government-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/government-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/government-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/government-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/government-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/government-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/government-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/government-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/government-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/government-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/government-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/government-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/government-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/government-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/government-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/government-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/government-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/government-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/government-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/government-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/government-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/government-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/government-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/government-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/government-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/government-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/government-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/government-frontend/deployments","created_at":"2014-11-13T10:18:07Z","updated_at":"2016-10-31T13:34:52Z","pushed_at":"2016-12-20T14:45:08Z","git_url":"git://github.com/alphagov/government-frontend.git","ssh_url":"git@github.com:alphagov/government-frontend.git","clone_url":"https://github.com/alphagov/government-frontend.git","svn_url":"https://github.com/alphagov/government-frontend","homepage":"","size":21390,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/government-frontend/pulls/210"},"html":{"href":"https://github.com/alphagov/government-frontend/pull/210"},"issue":{"href":"https://api.github.com/repos/alphagov/government-frontend/issues/210"},"comments":{"href":"https://api.github.com/repos/alphagov/government-frontend/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/government-frontend/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/government-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/government-frontend/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/government-frontend/statuses/1f7d1c5f998ebc95904523c6b53cbe49d58c1c32"}}}}
{"actor":{"display_login":"bevanloon"}}