{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/e-petitions/pulls/comments/32515373","id":32515373,"diff_hunk":"@@ -0,0 +1,21 @@\n+<h1>\n+  <span class=\"heading-secondary\">Rejected petition</span>\n+  <%= @petition.title %>","path":"app/views/petitions/_rejected_petition.html.erb","position":3,"original_position":3,"commit_id":"943535ae3adbc57ce531958fcac954c733c70f60","original_commit_id":"0da710fe0dc2b4ae84c14b5ad6131600f951c3d4","user":{"login":"mybits","id":5237879,"avatar_url":"https://avatars.githubusercontent.com/u/5237879?v=3","gravatar_id":"","url":"https://api.github.com/users/mybits","html_url":"https://github.com/mybits","followers_url":"https://api.github.com/users/mybits/followers","following_url":"https://api.github.com/users/mybits/following{/other_user}","gists_url":"https://api.github.com/users/mybits/gists{/gist_id}","starred_url":"https://api.github.com/users/mybits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mybits/subscriptions","organizations_url":"https://api.github.com/users/mybits/orgs","repos_url":"https://api.github.com/users/mybits/repos","events_url":"https://api.github.com/users/mybits/events{/privacy}","received_events_url":"https://api.github.com/users/mybits/received_events","type":"User","site_admin":false},"body":"Thanks @alexander-bobin and @h-lame! Couldn't agree more, fixed here:  https://github.com/alphagov/e-petitions/commit/943535ae3adbc57ce531958fcac954c733c70f60","created_at":"2015-06-16T12:28:09Z","updated_at":"2015-06-16T12:28:09Z","html_url":"https://github.com/alphagov/e-petitions/pull/144#discussion_r32515373","pull_request_url":"https://api.github.com/repos/alphagov/e-petitions/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/alphagov/e-petitions/pulls/comments/32515373"},"html":{"href":"https://github.com/alphagov/e-petitions/pull/144#discussion_r32515373"},"pull_request":{"href":"https://api.github.com/repos/alphagov/e-petitions/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/e-petitions/pulls/144","id":37713651,"html_url":"https://github.com/alphagov/e-petitions/pull/144","diff_url":"https://github.com/alphagov/e-petitions/pull/144.diff","patch_url":"https://github.com/alphagov/e-petitions/pull/144.patch","issue_url":"https://api.github.com/repos/alphagov/e-petitions/issues/144","number":144,"state":"open","locked":false,"title":"Cleaning rejected petition view by removing redundant info and also add new styling","user":{"login":"mybits","id":5237879,"avatar_url":"https://avatars.githubusercontent.com/u/5237879?v=3","gravatar_id":"","url":"https://api.github.com/users/mybits","html_url":"https://github.com/mybits","followers_url":"https://api.github.com/users/mybits/followers","following_url":"https://api.github.com/users/mybits/following{/other_user}","gists_url":"https://api.github.com/users/mybits/gists{/gist_id}","starred_url":"https://api.github.com/users/mybits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mybits/subscriptions","organizations_url":"https://api.github.com/users/mybits/orgs","repos_url":"https://api.github.com/users/mybits/repos","events_url":"https://api.github.com/users/mybits/events{/privacy}","received_events_url":"https://api.github.com/users/mybits/received_events","type":"User","site_admin":false},"body":"- removed: the signature count, confirmation email section, references to 10k and 100k sections,\r\ncreated by section\r\n\r\nchanged: \r\n* Change the date from deadline to be the date created, and call it Date submitted.\r\n* add the styled 'flash' message\r\n* add a reason for rejection header\r\n\r\nPT: https://www.pivotaltracker.com/n/projects/307301/stories/96936096","created_at":"2015-06-15T17:07:40Z","updated_at":"2015-06-16T12:28:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d88a6a2decff56861b11a9551fcaa1cab208920","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/e-petitions/pulls/144/commits","review_comments_url":"https://api.github.com/repos/alphagov/e-petitions/pulls/144/comments","review_comment_url":"https://api.github.com/repos/alphagov/e-petitions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/e-petitions/issues/144/comments","statuses_url":"https://api.github.com/repos/alphagov/e-petitions/statuses/943535ae3adbc57ce531958fcac954c733c70f60","head":{"label":"alphagov:rejected-petition-page-cleaning","ref":"rejected-petition-page-cleaning","sha":"943535ae3adbc57ce531958fcac954c733c70f60","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":4434819,"name":"e-petitions","full_name":"alphagov/e-petitions","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/e-petitions","description":"This is the code base for the UK Government's e-petitions service (http://epetitions.direct.gov.uk)","fork":false,"url":"https://api.github.com/repos/alphagov/e-petitions","forks_url":"https://api.github.com/repos/alphagov/e-petitions/forks","keys_url":"https://api.github.com/repos/alphagov/e-petitions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/e-petitions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/e-petitions/teams","hooks_url":"https://api.github.com/repos/alphagov/e-petitions/hooks","issue_events_url":"https://api.github.com/repos/alphagov/e-petitions/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/e-petitions/events","assignees_url":"https://api.github.com/repos/alphagov/e-petitions/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/e-petitions/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/e-petitions/tags","blobs_url":"https://api.github.com/repos/alphagov/e-petitions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/e-petitions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/e-petitions/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/e-petitions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/e-petitions/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/e-petitions/languages","stargazers_url":"https://api.github.com/repos/alphagov/e-petitions/stargazers","contributors_url":"https://api.github.com/repos/alphagov/e-petitions/contributors","subscribers_url":"https://api.github.com/repos/alphagov/e-petitions/subscribers","subscription_url":"https://api.github.com/repos/alphagov/e-petitions/subscription","commits_url":"https://api.github.com/repos/alphagov/e-petitions/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/e-petitions/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/e-petitions/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/e-petitions/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/e-petitions/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/e-petitions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/e-petitions/merges","archive_url":"https://api.github.com/repos/alphagov/e-petitions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/e-petitions/downloads","issues_url":"https://api.github.com/repos/alphagov/e-petitions/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/e-petitions/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/e-petitions/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/e-petitions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/e-petitions/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/e-petitions/releases{/id}","created_at":"2012-05-24T16:04:02Z","updated_at":"2015-05-15T08:26:34Z","pushed_at":"2015-06-16T12:27:37Z","git_url":"git://github.com/alphagov/e-petitions.git","ssh_url":"git@github.com:alphagov/e-petitions.git","clone_url":"https://github.com/alphagov/e-petitions.git","svn_url":"https://github.com/alphagov/e-petitions","homepage":"http://epetitions.direct.gov.uk","size":4882,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":18,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"4b428b81dc901392fd5fd83b7183d509087a1d10","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":4434819,"name":"e-petitions","full_name":"alphagov/e-petitions","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/e-petitions","description":"This is the code base for the UK Government's e-petitions service (http://epetitions.direct.gov.uk)","fork":false,"url":"https://api.github.com/repos/alphagov/e-petitions","forks_url":"https://api.github.com/repos/alphagov/e-petitions/forks","keys_url":"https://api.github.com/repos/alphagov/e-petitions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/e-petitions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/e-petitions/teams","hooks_url":"https://api.github.com/repos/alphagov/e-petitions/hooks","issue_events_url":"https://api.github.com/repos/alphagov/e-petitions/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/e-petitions/events","assignees_url":"https://api.github.com/repos/alphagov/e-petitions/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/e-petitions/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/e-petitions/tags","blobs_url":"https://api.github.com/repos/alphagov/e-petitions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/e-petitions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/e-petitions/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/e-petitions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/e-petitions/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/e-petitions/languages","stargazers_url":"https://api.github.com/repos/alphagov/e-petitions/stargazers","contributors_url":"https://api.github.com/repos/alphagov/e-petitions/contributors","subscribers_url":"https://api.github.com/repos/alphagov/e-petitions/subscribers","subscription_url":"https://api.github.com/repos/alphagov/e-petitions/subscription","commits_url":"https://api.github.com/repos/alphagov/e-petitions/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/e-petitions/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/e-petitions/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/e-petitions/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/e-petitions/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/e-petitions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/e-petitions/merges","archive_url":"https://api.github.com/repos/alphagov/e-petitions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/e-petitions/downloads","issues_url":"https://api.github.com/repos/alphagov/e-petitions/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/e-petitions/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/e-petitions/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/e-petitions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/e-petitions/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/e-petitions/releases{/id}","created_at":"2012-05-24T16:04:02Z","updated_at":"2015-05-15T08:26:34Z","pushed_at":"2015-06-16T12:27:37Z","git_url":"git://github.com/alphagov/e-petitions.git","ssh_url":"git@github.com:alphagov/e-petitions.git","clone_url":"https://github.com/alphagov/e-petitions.git","svn_url":"https://github.com/alphagov/e-petitions","homepage":"http://epetitions.direct.gov.uk","size":4882,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/e-petitions/pulls/144"},"html":{"href":"https://github.com/alphagov/e-petitions/pull/144"},"issue":{"href":"https://api.github.com/repos/alphagov/e-petitions/issues/144"},"comments":{"href":"https://api.github.com/repos/alphagov/e-petitions/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/e-petitions/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/e-petitions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/e-petitions/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/e-petitions/statuses/943535ae3adbc57ce531958fcac954c733c70f60"}}}}