{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/static/pulls/comments/60063387","id":60063387,"diff_hunk":"@@ -30,16 +30,20 @@\n       <% end %>\n     <% end %>\n     <% if history.any? %>\n-      <div class=\"change-notes\" id=\"history\">\n-        <h3>Page history</h3>\n-        <ol>\n-          <% history.each do |change| %>\n-            <li>\n-              <time datetime=\"<%= change[:timestamp] %>\" class=\"timestamp\"><%= change[:display_time] %></time>\n-              <%= change[:note] %>\n-            </li>\n-          <% end %>\n-        </ol>\n+      <div class=\"change-notes\" data-module=\"toggle\">\n+        <p>\n+          <a href=\"#full-history\" data-controls=\"full-history\" data-expanded=\"false\">+ full page history</a>","path":"app/views/govuk_component/document_footer.raw.html.erb","position":25,"original_position":25,"commit_id":"a09058a9daa8d075dd99bf98e4d3ed4492c6f92d","original_commit_id":"a09058a9daa8d075dd99bf98e4d3ed4492c6f92d","user":{"login":"fofr","id":319055,"avatar_url":"https://avatars.githubusercontent.com/u/319055?v=3","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false},"body":"I'm not sure we want this link to show all the time. cc @dsingleton ","created_at":"2016-04-18T14:04:38Z","updated_at":"2016-04-18T14:04:38Z","html_url":"https://github.com/alphagov/static/pull/771#discussion_r60063387","pull_request_url":"https://api.github.com/repos/alphagov/static/pulls/771","_links":{"self":{"href":"https://api.github.com/repos/alphagov/static/pulls/comments/60063387"},"html":{"href":"https://github.com/alphagov/static/pull/771#discussion_r60063387"},"pull_request":{"href":"https://api.github.com/repos/alphagov/static/pulls/771"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/static/pulls/771","id":66854241,"html_url":"https://github.com/alphagov/static/pull/771","diff_url":"https://github.com/alphagov/static/pull/771.diff","patch_url":"https://github.com/alphagov/static/pull/771.patch","issue_url":"https://api.github.com/repos/alphagov/static/issues/771","number":771,"state":"open","locked":false,"title":"Align the footer to Whitehall","user":{"login":"mgrassotti","id":6908677,"avatar_url":"https://avatars.githubusercontent.com/u/6908677?v=3","gravatar_id":"","url":"https://api.github.com/users/mgrassotti","html_url":"https://github.com/mgrassotti","followers_url":"https://api.github.com/users/mgrassotti/followers","following_url":"https://api.github.com/users/mgrassotti/following{/other_user}","gists_url":"https://api.github.com/users/mgrassotti/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrassotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrassotti/subscriptions","organizations_url":"https://api.github.com/users/mgrassotti/orgs","repos_url":"https://api.github.com/users/mgrassotti/repos","events_url":"https://api.github.com/users/mgrassotti/events{/privacy}","received_events_url":"https://api.github.com/users/mgrassotti/received_events","type":"User","site_admin":false},"body":"Add the full history link and the toggling behaviour to the document_footer component.\r\nThis changes are related to https://github.com/alphagov/government-frontend/pull/134","created_at":"2016-04-18T13:36:41Z","updated_at":"2016-04-18T14:04:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"862ec20cb735d3ceea8943a3902e1d4d028cf376","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/static/pulls/771/commits","review_comments_url":"https://api.github.com/repos/alphagov/static/pulls/771/comments","review_comment_url":"https://api.github.com/repos/alphagov/static/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/static/issues/771/comments","statuses_url":"https://api.github.com/repos/alphagov/static/statuses/a09058a9daa8d075dd99bf98e4d3ed4492c6f92d","head":{"label":"alphagov:align-footer-whitehall","ref":"align-footer-whitehall","sha":"a09058a9daa8d075dd99bf98e4d3ed4492c6f92d","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":1599151,"name":"static","full_name":"alphagov/static","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/static","description":"GOV.UK static files/resources","fork":false,"url":"https://api.github.com/repos/alphagov/static","forks_url":"https://api.github.com/repos/alphagov/static/forks","keys_url":"https://api.github.com/repos/alphagov/static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/static/teams","hooks_url":"https://api.github.com/repos/alphagov/static/hooks","issue_events_url":"https://api.github.com/repos/alphagov/static/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/static/events","assignees_url":"https://api.github.com/repos/alphagov/static/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/static/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/static/tags","blobs_url":"https://api.github.com/repos/alphagov/static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/static/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/static/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/static/languages","stargazers_url":"https://api.github.com/repos/alphagov/static/stargazers","contributors_url":"https://api.github.com/repos/alphagov/static/contributors","subscribers_url":"https://api.github.com/repos/alphagov/static/subscribers","subscription_url":"https://api.github.com/repos/alphagov/static/subscription","commits_url":"https://api.github.com/repos/alphagov/static/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/static/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/static/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/static/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/static/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/static/merges","archive_url":"https://api.github.com/repos/alphagov/static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/static/downloads","issues_url":"https://api.github.com/repos/alphagov/static/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/static/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/static/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/static/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/static/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/static/deployments","created_at":"2011-04-11T13:42:56Z","updated_at":"2016-01-21T17:58:31Z","pushed_at":"2016-04-18T13:36:42Z","git_url":"git://github.com/alphagov/static.git","ssh_url":"git@github.com:alphagov/static.git","clone_url":"https://github.com/alphagov/static.git","svn_url":"https://github.com/alphagov/static","homepage":"","size":21676,"stargazers_count":81,"watchers_count":81,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":8,"forks":35,"open_issues":8,"watchers":81,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"4c341a802aeef669946cd8d34e31dcfa4ff46eba","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":1599151,"name":"static","full_name":"alphagov/static","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/static","description":"GOV.UK static files/resources","fork":false,"url":"https://api.github.com/repos/alphagov/static","forks_url":"https://api.github.com/repos/alphagov/static/forks","keys_url":"https://api.github.com/repos/alphagov/static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/static/teams","hooks_url":"https://api.github.com/repos/alphagov/static/hooks","issue_events_url":"https://api.github.com/repos/alphagov/static/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/static/events","assignees_url":"https://api.github.com/repos/alphagov/static/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/static/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/static/tags","blobs_url":"https://api.github.com/repos/alphagov/static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/static/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/static/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/static/languages","stargazers_url":"https://api.github.com/repos/alphagov/static/stargazers","contributors_url":"https://api.github.com/repos/alphagov/static/contributors","subscribers_url":"https://api.github.com/repos/alphagov/static/subscribers","subscription_url":"https://api.github.com/repos/alphagov/static/subscription","commits_url":"https://api.github.com/repos/alphagov/static/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/static/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/static/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/static/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/static/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/static/merges","archive_url":"https://api.github.com/repos/alphagov/static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/static/downloads","issues_url":"https://api.github.com/repos/alphagov/static/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/static/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/static/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/static/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/static/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/static/deployments","created_at":"2011-04-11T13:42:56Z","updated_at":"2016-01-21T17:58:31Z","pushed_at":"2016-04-18T13:36:42Z","git_url":"git://github.com/alphagov/static.git","ssh_url":"git@github.com:alphagov/static.git","clone_url":"https://github.com/alphagov/static.git","svn_url":"https://github.com/alphagov/static","homepage":"","size":21676,"stargazers_count":81,"watchers_count":81,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":8,"forks":35,"open_issues":8,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/static/pulls/771"},"html":{"href":"https://github.com/alphagov/static/pull/771"},"issue":{"href":"https://api.github.com/repos/alphagov/static/issues/771"},"comments":{"href":"https://api.github.com/repos/alphagov/static/issues/771/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/static/pulls/771/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/static/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/static/pulls/771/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/static/statuses/a09058a9daa8d075dd99bf98e4d3ed4492c6f92d"}}}}