{"action":"closed","number":2717,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/2717","id":61012539,"html_url":"https://github.com/gogits/gogs/pull/2717","diff_url":"https://github.com/gogits/gogs/pull/2717.diff","patch_url":"https://github.com/gogits/gogs/pull/2717.patch","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2717","number":2717,"state":"closed","locked":false,"title":"Change colour of numbers on pull request tabs if greater than zero","user":{"login":"chriswatt","id":488912,"avatar_url":"https://avatars.githubusercontent.com/u/488912?v=3","gravatar_id":"","url":"https://api.github.com/users/chriswatt","html_url":"https://github.com/chriswatt","followers_url":"https://api.github.com/users/chriswatt/followers","following_url":"https://api.github.com/users/chriswatt/following{/other_user}","gists_url":"https://api.github.com/users/chriswatt/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswatt/subscriptions","organizations_url":"https://api.github.com/users/chriswatt/orgs","repos_url":"https://api.github.com/users/chriswatt/repos","events_url":"https://api.github.com/users/chriswatt/events{/privacy}","received_events_url":"https://api.github.com/users/chriswatt/received_events","type":"User","site_admin":false},"body":"Adding the same condition to the pull request tabs that the main tabs have.\r\n\r\nBefore\r\n![gogsprbefore](https://cloud.githubusercontent.com/assets/488912/13382698/1df1bab6-de73-11e5-99c7-26f7034efb64.png)\r\n\r\nAfter\r\n![gogsprafter](https://cloud.githubusercontent.com/assets/488912/13382699/224edcf6-de73-11e5-8aa8-95281c7e1dab.png)\r\n","created_at":"2016-02-28T23:31:49Z","updated_at":"2016-02-29T05:51:58Z","closed_at":"2016-02-29T05:51:58Z","merged_at":"2016-02-29T05:51:58Z","merge_commit_sha":"ab3825b7cc6f11f6573673096237e936116d23cc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gogits/gogs/pulls/2717/commits","review_comments_url":"https://api.github.com/repos/gogits/gogs/pulls/2717/comments","review_comment_url":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2717/comments","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/548440b48fbb5d8b8d62db88309c98a55b921b50","head":{"label":"chriswatt:prtabs","ref":"prtabs","sha":"548440b48fbb5d8b8d62db88309c98a55b921b50","user":{"login":"chriswatt","id":488912,"avatar_url":"https://avatars.githubusercontent.com/u/488912?v=3","gravatar_id":"","url":"https://api.github.com/users/chriswatt","html_url":"https://github.com/chriswatt","followers_url":"https://api.github.com/users/chriswatt/followers","following_url":"https://api.github.com/users/chriswatt/following{/other_user}","gists_url":"https://api.github.com/users/chriswatt/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswatt/subscriptions","organizations_url":"https://api.github.com/users/chriswatt/orgs","repos_url":"https://api.github.com/users/chriswatt/repos","events_url":"https://api.github.com/users/chriswatt/events{/privacy}","received_events_url":"https://api.github.com/users/chriswatt/received_events","type":"User","site_admin":false},"repo":{"id":51168580,"name":"gogs","full_name":"chriswatt/gogs","owner":{"login":"chriswatt","id":488912,"avatar_url":"https://avatars.githubusercontent.com/u/488912?v=3","gravatar_id":"","url":"https://api.github.com/users/chriswatt","html_url":"https://github.com/chriswatt","followers_url":"https://api.github.com/users/chriswatt/followers","following_url":"https://api.github.com/users/chriswatt/following{/other_user}","gists_url":"https://api.github.com/users/chriswatt/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswatt/subscriptions","organizations_url":"https://api.github.com/users/chriswatt/orgs","repos_url":"https://api.github.com/users/chriswatt/repos","events_url":"https://api.github.com/users/chriswatt/events{/privacy}","received_events_url":"https://api.github.com/users/chriswatt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chriswatt/gogs","description":"Gogs (Go Git Service) is a painless self-hosted Git service.","fork":true,"url":"https://api.github.com/repos/chriswatt/gogs","forks_url":"https://api.github.com/repos/chriswatt/gogs/forks","keys_url":"https://api.github.com/repos/chriswatt/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chriswatt/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chriswatt/gogs/teams","hooks_url":"https://api.github.com/repos/chriswatt/gogs/hooks","issue_events_url":"https://api.github.com/repos/chriswatt/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/chriswatt/gogs/events","assignees_url":"https://api.github.com/repos/chriswatt/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/chriswatt/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/chriswatt/gogs/tags","blobs_url":"https://api.github.com/repos/chriswatt/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chriswatt/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chriswatt/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/chriswatt/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chriswatt/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/chriswatt/gogs/languages","stargazers_url":"https://api.github.com/repos/chriswatt/gogs/stargazers","contributors_url":"https://api.github.com/repos/chriswatt/gogs/contributors","subscribers_url":"https://api.github.com/repos/chriswatt/gogs/subscribers","subscription_url":"https://api.github.com/repos/chriswatt/gogs/subscription","commits_url":"https://api.github.com/repos/chriswatt/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/chriswatt/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/chriswatt/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/chriswatt/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/chriswatt/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/chriswatt/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chriswatt/gogs/merges","archive_url":"https://api.github.com/repos/chriswatt/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chriswatt/gogs/downloads","issues_url":"https://api.github.com/repos/chriswatt/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/chriswatt/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/chriswatt/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/chriswatt/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chriswatt/gogs/labels{/name}","releases_url":"https://api.github.com/repos/chriswatt/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/chriswatt/gogs/deployments","created_at":"2016-02-05T19:20:59Z","updated_at":"2016-02-05T19:21:02Z","pushed_at":"2016-02-28T23:27:52Z","git_url":"git://github.com/chriswatt/gogs.git","ssh_url":"git@github.com:chriswatt/gogs.git","clone_url":"https://github.com/chriswatt/gogs.git","svn_url":"https://github.com/chriswatt/gogs","homepage":"https://gogs.io","size":51372,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gogits:develop","ref":"develop","sha":"8055a0bdac005189077df69870cd2ed0b7eebd56","user":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"repo":{"id":16752620,"name":"gogs","full_name":"gogits/gogs","owner":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogits/gogs","description":"Gogs (Go Git Service) is a painless self-hosted Git service.","fork":false,"url":"https://api.github.com/repos/gogits/gogs","forks_url":"https://api.github.com/repos/gogits/gogs/forks","keys_url":"https://api.github.com/repos/gogits/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogits/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogits/gogs/teams","hooks_url":"https://api.github.com/repos/gogits/gogs/hooks","issue_events_url":"https://api.github.com/repos/gogits/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/gogits/gogs/events","assignees_url":"https://api.github.com/repos/gogits/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/gogits/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/gogits/gogs/tags","blobs_url":"https://api.github.com/repos/gogits/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogits/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogits/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogits/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/gogits/gogs/languages","stargazers_url":"https://api.github.com/repos/gogits/gogs/stargazers","contributors_url":"https://api.github.com/repos/gogits/gogs/contributors","subscribers_url":"https://api.github.com/repos/gogits/gogs/subscribers","subscription_url":"https://api.github.com/repos/gogits/gogs/subscription","commits_url":"https://api.github.com/repos/gogits/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogits/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogits/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogits/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogits/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/gogits/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogits/gogs/merges","archive_url":"https://api.github.com/repos/gogits/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogits/gogs/downloads","issues_url":"https://api.github.com/repos/gogits/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/gogits/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/gogits/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/gogits/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogits/gogs/labels{/name}","releases_url":"https://api.github.com/repos/gogits/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/gogits/gogs/deployments","created_at":"2014-02-12T01:57:08Z","updated_at":"2016-02-29T04:41:26Z","pushed_at":"2016-02-29T05:51:58Z","git_url":"git://github.com/gogits/gogs.git","ssh_url":"git@github.com:gogits/gogs.git","clone_url":"https://github.com/gogits/gogs.git","svn_url":"https://github.com/gogits/gogs","homepage":"https://gogs.io","size":57597,"stargazers_count":11817,"watchers_count":11817,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1161,"mirror_url":null,"open_issues_count":330,"forks":1161,"open_issues":330,"watchers":11817,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gogits/gogs/pulls/2717"},"html":{"href":"https://github.com/gogits/gogs/pull/2717"},"issue":{"href":"https://api.github.com/repos/gogits/gogs/issues/2717"},"comments":{"href":"https://api.github.com/repos/gogits/gogs/issues/2717/comments"},"review_comments":{"href":"https://api.github.com/repos/gogits/gogs/pulls/2717/comments"},"review_comment":{"href":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gogits/gogs/pulls/2717/commits"},"statuses":{"href":"https://api.github.com/repos/gogits/gogs/statuses/548440b48fbb5d8b8d62db88309c98a55b921b50"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}