{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/content-tagger/pulls/comments/77140298","id":77140298,"diff_hunk":"@@ -1,5 +1,14 @@\n <%= display_header title: taxon.title, breadcrumbs: [:taxons, taxon] %>\n \n+\n+<%= link_to 'Delete taxon', taxon_path(taxon.content_id),","path":"app/views/taxons/show.html.erb","position":4,"original_position":4,"commit_id":"d50b69e967cb69285503949e0c76b11187958924","original_commit_id":"d50b69e967cb69285503949e0c76b11187958924","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"body":"Having this inside the `display_header` block would be more in line with other apps I think.","created_at":"2016-09-01T09:19:05Z","updated_at":"2016-09-01T09:19:05Z","html_url":"https://github.com/alphagov/content-tagger/pull/148#discussion_r77140298","pull_request_url":"https://api.github.com/repos/alphagov/content-tagger/pulls/148","_links":{"self":{"href":"https://api.github.com/repos/alphagov/content-tagger/pulls/comments/77140298"},"html":{"href":"https://github.com/alphagov/content-tagger/pull/148#discussion_r77140298"},"pull_request":{"href":"https://api.github.com/repos/alphagov/content-tagger/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/content-tagger/pulls/148","id":83475427,"html_url":"https://github.com/alphagov/content-tagger/pull/148","diff_url":"https://github.com/alphagov/content-tagger/pull/148.diff","patch_url":"https://github.com/alphagov/content-tagger/pull/148.patch","issue_url":"https://api.github.com/repos/alphagov/content-tagger/issues/148","number":148,"state":"open","locked":false,"title":"Move taxon delete button","user":{"login":"mobaig","id":519250,"avatar_url":"https://avatars.githubusercontent.com/u/519250?v=3","gravatar_id":"","url":"https://api.github.com/users/mobaig","html_url":"https://github.com/mobaig","followers_url":"https://api.github.com/users/mobaig/followers","following_url":"https://api.github.com/users/mobaig/following{/other_user}","gists_url":"https://api.github.com/users/mobaig/gists{/gist_id}","starred_url":"https://api.github.com/users/mobaig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobaig/subscriptions","organizations_url":"https://api.github.com/users/mobaig/orgs","repos_url":"https://api.github.com/users/mobaig/repos","events_url":"https://api.github.com/users/mobaig/events{/privacy}","received_events_url":"https://api.github.com/users/mobaig/received_events","type":"User","site_admin":false},"body":"- Remove the button from the index page - was serving no real purpose\r\n  being this prominent and made it a little too easy to delete a taxon.\r\n- Add a delete button to taxon edit and show pages instead.\r\n\r\n**Index page**\r\n\r\n![taxons](https://cloud.githubusercontent.com/assets/519250/18135046/6827e748-6f98-11e6-8364-9bdced79e80e.png)\r\n\r\n**Edit page**\r\n![14_to_19_years](https://cloud.githubusercontent.com/assets/519250/18135098/9267a598-6f98-11e6-8b34-94a9ea78e97e.png)\r\n\r\n**Show page**\r\n![early_years_funding](https://cloud.githubusercontent.com/assets/519250/18135113/a604d8a0-6f98-11e6-81fa-4cfb39fcb50a.png)\r\n\r\n","created_at":"2016-08-31T15:30:27Z","updated_at":"2016-09-01T09:19:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a8a63c1920d818041db7d643fcd9d937ece34ef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/content-tagger/pulls/148/commits","review_comments_url":"https://api.github.com/repos/alphagov/content-tagger/pulls/148/comments","review_comment_url":"https://api.github.com/repos/alphagov/content-tagger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/content-tagger/issues/148/comments","statuses_url":"https://api.github.com/repos/alphagov/content-tagger/statuses/d50b69e967cb69285503949e0c76b11187958924","head":{"label":"alphagov:mb-move-delete","ref":"mb-move-delete","sha":"d50b69e967cb69285503949e0c76b11187958924","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":46417722,"name":"content-tagger","full_name":"alphagov/content-tagger","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/content-tagger","description":"Application for tagging content on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/content-tagger","forks_url":"https://api.github.com/repos/alphagov/content-tagger/forks","keys_url":"https://api.github.com/repos/alphagov/content-tagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/content-tagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/content-tagger/teams","hooks_url":"https://api.github.com/repos/alphagov/content-tagger/hooks","issue_events_url":"https://api.github.com/repos/alphagov/content-tagger/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/content-tagger/events","assignees_url":"https://api.github.com/repos/alphagov/content-tagger/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/content-tagger/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/content-tagger/tags","blobs_url":"https://api.github.com/repos/alphagov/content-tagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/content-tagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/content-tagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/content-tagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/content-tagger/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/content-tagger/languages","stargazers_url":"https://api.github.com/repos/alphagov/content-tagger/stargazers","contributors_url":"https://api.github.com/repos/alphagov/content-tagger/contributors","subscribers_url":"https://api.github.com/repos/alphagov/content-tagger/subscribers","subscription_url":"https://api.github.com/repos/alphagov/content-tagger/subscription","commits_url":"https://api.github.com/repos/alphagov/content-tagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/content-tagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/content-tagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/content-tagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/content-tagger/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/content-tagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/content-tagger/merges","archive_url":"https://api.github.com/repos/alphagov/content-tagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/content-tagger/downloads","issues_url":"https://api.github.com/repos/alphagov/content-tagger/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/content-tagger/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/content-tagger/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/content-tagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/content-tagger/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/content-tagger/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/content-tagger/deployments","created_at":"2015-11-18T12:36:10Z","updated_at":"2016-08-13T09:38:36Z","pushed_at":"2016-09-01T09:18:56Z","git_url":"git://github.com/alphagov/content-tagger.git","ssh_url":"git@github.com:alphagov/content-tagger.git","clone_url":"https://github.com/alphagov/content-tagger.git","svn_url":"https://github.com/alphagov/content-tagger","homepage":"https://content-tagger.publishing.service.gov.uk/","size":2662,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"599fce32ff5e00785d14e27277c9e003a4784bac","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":46417722,"name":"content-tagger","full_name":"alphagov/content-tagger","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/content-tagger","description":"Application for tagging content on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/content-tagger","forks_url":"https://api.github.com/repos/alphagov/content-tagger/forks","keys_url":"https://api.github.com/repos/alphagov/content-tagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/content-tagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/content-tagger/teams","hooks_url":"https://api.github.com/repos/alphagov/content-tagger/hooks","issue_events_url":"https://api.github.com/repos/alphagov/content-tagger/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/content-tagger/events","assignees_url":"https://api.github.com/repos/alphagov/content-tagger/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/content-tagger/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/content-tagger/tags","blobs_url":"https://api.github.com/repos/alphagov/content-tagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/content-tagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/content-tagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/content-tagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/content-tagger/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/content-tagger/languages","stargazers_url":"https://api.github.com/repos/alphagov/content-tagger/stargazers","contributors_url":"https://api.github.com/repos/alphagov/content-tagger/contributors","subscribers_url":"https://api.github.com/repos/alphagov/content-tagger/subscribers","subscription_url":"https://api.github.com/repos/alphagov/content-tagger/subscription","commits_url":"https://api.github.com/repos/alphagov/content-tagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/content-tagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/content-tagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/content-tagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/content-tagger/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/content-tagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/content-tagger/merges","archive_url":"https://api.github.com/repos/alphagov/content-tagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/content-tagger/downloads","issues_url":"https://api.github.com/repos/alphagov/content-tagger/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/content-tagger/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/content-tagger/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/content-tagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/content-tagger/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/content-tagger/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/content-tagger/deployments","created_at":"2015-11-18T12:36:10Z","updated_at":"2016-08-13T09:38:36Z","pushed_at":"2016-09-01T09:18:56Z","git_url":"git://github.com/alphagov/content-tagger.git","ssh_url":"git@github.com:alphagov/content-tagger.git","clone_url":"https://github.com/alphagov/content-tagger.git","svn_url":"https://github.com/alphagov/content-tagger","homepage":"https://content-tagger.publishing.service.gov.uk/","size":2662,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/content-tagger/pulls/148"},"html":{"href":"https://github.com/alphagov/content-tagger/pull/148"},"issue":{"href":"https://api.github.com/repos/alphagov/content-tagger/issues/148"},"comments":{"href":"https://api.github.com/repos/alphagov/content-tagger/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/content-tagger/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/content-tagger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/content-tagger/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/content-tagger/statuses/d50b69e967cb69285503949e0c76b11187958924"}}}}
{"actor":{"display_login":"tijmenb"}}