{"action":"opened","number":844,"pull_request":{"url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/844","id":66732854,"html_url":"https://github.com/mysociety/yournextrepresentative/pull/844","diff_url":"https://github.com/mysociety/yournextrepresentative/pull/844.diff","patch_url":"https://github.com/mysociety/yournextrepresentative/pull/844.patch","issue_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/844","number":844,"state":"open","locked":false,"title":"Only include the record winner button on or after election day","user":{"login":"mhl","id":7907,"avatar_url":"https://avatars.githubusercontent.com/u/7907?v=3","gravatar_id":"","url":"https://api.github.com/users/mhl","html_url":"https://github.com/mhl","followers_url":"https://api.github.com/users/mhl/followers","following_url":"https://api.github.com/users/mhl/following{/other_user}","gists_url":"https://api.github.com/users/mhl/gists{/gist_id}","starred_url":"https://api.github.com/users/mhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhl/subscriptions","organizations_url":"https://api.github.com/users/mhl/orgs","repos_url":"https://api.github.com/users/mhl/repos","events_url":"https://api.github.com/users/mhl/events{/privacy}","received_events_url":"https://api.github.com/users/mhl/received_events","type":"User","site_admin":false},"body":"These buttons add lots of visual clutter to the candidate lists, and are\r\nonly actually useful on election day or afterwards, so don't show them\r\nuntil then.\r\n\r\nFixes #779","created_at":"2016-04-16T09:14:45Z","updated_at":"2016-04-16T09:14:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60ed2f3597719b70b0b33fa38f587902380e693a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/844/commits","review_comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/844/comments","review_comment_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/844/comments","statuses_url":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/3c15f02d201d4c53e6b88ffe67ece66642ecb998","head":{"label":"mysociety:779-hide-record-winner-buttons","ref":"779-hide-record-winner-buttons","sha":"3c15f02d201d4c53e6b88ffe67ece66642ecb998","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":23865131,"name":"yournextrepresentative","full_name":"mysociety/yournextrepresentative","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/yournextrepresentative","description":"A website for crowd-sourcing structured election candidate data","fork":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative","forks_url":"https://api.github.com/repos/mysociety/yournextrepresentative/forks","keys_url":"https://api.github.com/repos/mysociety/yournextrepresentative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/yournextrepresentative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/yournextrepresentative/teams","hooks_url":"https://api.github.com/repos/mysociety/yournextrepresentative/hooks","issue_events_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/yournextrepresentative/events","assignees_url":"https://api.github.com/repos/mysociety/yournextrepresentative/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/yournextrepresentative/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/yournextrepresentative/tags","blobs_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/yournextrepresentative/languages","stargazers_url":"https://api.github.com/repos/mysociety/yournextrepresentative/stargazers","contributors_url":"https://api.github.com/repos/mysociety/yournextrepresentative/contributors","subscribers_url":"https://api.github.com/repos/mysociety/yournextrepresentative/subscribers","subscription_url":"https://api.github.com/repos/mysociety/yournextrepresentative/subscription","commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/yournextrepresentative/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/yournextrepresentative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/yournextrepresentative/merges","archive_url":"https://api.github.com/repos/mysociety/yournextrepresentative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/yournextrepresentative/downloads","issues_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/yournextrepresentative/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/yournextrepresentative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/yournextrepresentative/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/yournextrepresentative/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/deployments","created_at":"2014-09-10T07:32:13Z","updated_at":"2016-02-03T21:55:37Z","pushed_at":"2016-04-16T09:14:46Z","git_url":"git://github.com/mysociety/yournextrepresentative.git","ssh_url":"git@github.com:mysociety/yournextrepresentative.git","clone_url":"https://github.com/mysociety/yournextrepresentative.git","svn_url":"https://github.com/mysociety/yournextrepresentative","homepage":"https://edit.yournextmp.com","size":7053,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":209,"forks":20,"open_issues":209,"watchers":37,"default_branch":"master"}},"base":{"label":"mysociety:master","ref":"master","sha":"47571060a7d830e9af4a5f1086bfd0631ec5b0d3","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":23865131,"name":"yournextrepresentative","full_name":"mysociety/yournextrepresentative","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/yournextrepresentative","description":"A website for crowd-sourcing structured election candidate data","fork":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative","forks_url":"https://api.github.com/repos/mysociety/yournextrepresentative/forks","keys_url":"https://api.github.com/repos/mysociety/yournextrepresentative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/yournextrepresentative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/yournextrepresentative/teams","hooks_url":"https://api.github.com/repos/mysociety/yournextrepresentative/hooks","issue_events_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/yournextrepresentative/events","assignees_url":"https://api.github.com/repos/mysociety/yournextrepresentative/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/yournextrepresentative/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/yournextrepresentative/tags","blobs_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/yournextrepresentative/languages","stargazers_url":"https://api.github.com/repos/mysociety/yournextrepresentative/stargazers","contributors_url":"https://api.github.com/repos/mysociety/yournextrepresentative/contributors","subscribers_url":"https://api.github.com/repos/mysociety/yournextrepresentative/subscribers","subscription_url":"https://api.github.com/repos/mysociety/yournextrepresentative/subscription","commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/yournextrepresentative/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/yournextrepresentative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/yournextrepresentative/merges","archive_url":"https://api.github.com/repos/mysociety/yournextrepresentative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/yournextrepresentative/downloads","issues_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/yournextrepresentative/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/yournextrepresentative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/yournextrepresentative/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/yournextrepresentative/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/deployments","created_at":"2014-09-10T07:32:13Z","updated_at":"2016-02-03T21:55:37Z","pushed_at":"2016-04-16T09:14:46Z","git_url":"git://github.com/mysociety/yournextrepresentative.git","ssh_url":"git@github.com:mysociety/yournextrepresentative.git","clone_url":"https://github.com/mysociety/yournextrepresentative.git","svn_url":"https://github.com/mysociety/yournextrepresentative","homepage":"https://edit.yournextmp.com","size":7053,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":209,"forks":20,"open_issues":209,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/844"},"html":{"href":"https://github.com/mysociety/yournextrepresentative/pull/844"},"issue":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/844"},"comments":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/844/comments"},"review_comments":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/844/comments"},"review_comment":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/844/commits"},"statuses":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/3c15f02d201d4c53e6b88ffe67ece66642ecb998"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":64,"deletions":8,"changed_files":2}}