{"action":"created","comment":{"url":"https://api.github.com/repos/andela/asgard-cfh/pulls/comments/198090131","pull_request_review_id":131953892,"id":198090131,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODA5MDEzMQ==","diff_hunk":"@@ -193,13 +193,18 @@ angular.module('mean.system')\n         return !(/^\\d+$/).test(game.gameID) && game.state === 'awaiting players';\n       };\n \n-      $scope.isPremium = function ($index) {\n-        return game.players[$index].premium;\n-      };\n+    $scope.isPremium = function($index) {\n+      return $scope.premium = game.players[$index].premium;\n+    };\n \n-      $scope.currentCzar = function ($index) {\n-        return $index === game.czar;\n-      };\n+    $scope.addDonation = function() {\n+      //  return console.log(window.user);\n+             return $scope.premium = game.players[$index].premium;","path":"public/js/controllers/game.js","position":16,"original_position":16,"commit_id":"e4c8b98ffdde0aafcc903b92e2f9f2278f3539ac","original_commit_id":"e4c8b98ffdde0aafcc903b92e2f9f2278f3539ac","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected indentation of 8 spaces but found 13                    indent<br>Return statement should not contain assignment                   no-return-assign<br>'$index' is not defined                                          no-undef","created_at":"2018-06-26T10:16:49Z","updated_at":"2018-06-26T10:16:50Z","html_url":"https://github.com/andela/asgard-cfh/pull/34#discussion_r198090131","pull_request_url":"https://api.github.com/repos/andela/asgard-cfh/pulls/34","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/asgard-cfh/pulls/comments/198090131"},"html":{"href":"https://github.com/andela/asgard-cfh/pull/34#discussion_r198090131"},"pull_request":{"href":"https://api.github.com/repos/andela/asgard-cfh/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/andela/asgard-cfh/pulls/34","id":197173481,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTczNDgx","html_url":"https://github.com/andela/asgard-cfh/pull/34","diff_url":"https://github.com/andela/asgard-cfh/pull/34.diff","patch_url":"https://github.com/andela/asgard-cfh/pull/34.patch","issue_url":"https://api.github.com/repos/andela/asgard-cfh/issues/34","number":34,"state":"open","locked":false,"title":"[feature]: Implement crown levels to encourage user donations","user":{"login":"ddouglasz","id":19975842,"node_id":"MDQ6VXNlcjE5OTc1ODQy","avatar_url":"https://avatars0.githubusercontent.com/u/19975842?v=4","gravatar_id":"","url":"https://api.github.com/users/ddouglasz","html_url":"https://github.com/ddouglasz","followers_url":"https://api.github.com/users/ddouglasz/followers","following_url":"https://api.github.com/users/ddouglasz/following{/other_user}","gists_url":"https://api.github.com/users/ddouglasz/gists{/gist_id}","starred_url":"https://api.github.com/users/ddouglasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddouglasz/subscriptions","organizations_url":"https://api.github.com/users/ddouglasz/orgs","repos_url":"https://api.github.com/users/ddouglasz/repos","events_url":"https://api.github.com/users/ddouglasz/events{/privacy}","received_events_url":"https://api.github.com/users/ddouglasz/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\n- This Pull request adds the feature for a user to be motivated with a crown to encourage donation.\r\n### Description of Task to be completed?\r\n- The aim is to Define alternatives for increasing donations received through the app.\r\n- A user gets a silver or gold crown depending on the amount donated.\r\n### How should this be manually tested?\r\n- start the app: `npm run start:dev`\r\n- Check for user image while game starts. There should be a silver crown, gold crown or no crown.\r\n### Any background context you want to provide?\r\n- N/A\r\n### What are the relevant pivotal tracker stories?\r\n- https://www.pivotaltracker.com/story/show/157801306\r\n### Screenshots (if appropriate)\r\n- No\r\n### Questions:\r\n- No\r\n","created_at":"2018-06-25T16:46:48Z","updated_at":"2018-06-26T10:16:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c408a0fcafd28640195296d6edb85d34f5f7ae3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/asgard-cfh/pulls/34/commits","review_comments_url":"https://api.github.com/repos/andela/asgard-cfh/pulls/34/comments","review_comment_url":"https://api.github.com/repos/andela/asgard-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/asgard-cfh/issues/34/comments","statuses_url":"https://api.github.com/repos/andela/asgard-cfh/statuses/e4c8b98ffdde0aafcc903b92e2f9f2278f3539ac","head":{"label":"andela:ch-increase-donation-157801306","ref":"ch-increase-donation-157801306","sha":"e4c8b98ffdde0aafcc903b92e2f9f2278f3539ac","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":134254161,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyNTQxNjE=","name":"asgard-cfh","full_name":"andela/asgard-cfh","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/asgard-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/asgard-cfh","forks_url":"https://api.github.com/repos/andela/asgard-cfh/forks","keys_url":"https://api.github.com/repos/andela/asgard-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/asgard-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/asgard-cfh/teams","hooks_url":"https://api.github.com/repos/andela/asgard-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/asgard-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/asgard-cfh/events","assignees_url":"https://api.github.com/repos/andela/asgard-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/asgard-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/asgard-cfh/tags","blobs_url":"https://api.github.com/repos/andela/asgard-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/asgard-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/asgard-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/asgard-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/asgard-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/asgard-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/asgard-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/asgard-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/asgard-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/asgard-cfh/subscription","commits_url":"https://api.github.com/repos/andela/asgard-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/asgard-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/asgard-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/asgard-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/asgard-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/asgard-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/asgard-cfh/merges","archive_url":"https://api.github.com/repos/andela/asgard-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/asgard-cfh/downloads","issues_url":"https://api.github.com/repos/andela/asgard-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/asgard-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/asgard-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/asgard-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/asgard-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/asgard-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/asgard-cfh/deployments","created_at":"2018-05-21T10:28:05Z","updated_at":"2018-05-28T16:45:55Z","pushed_at":"2018-06-26T10:16:30Z","git_url":"git://github.com/andela/asgard-cfh.git","ssh_url":"git@github.com:andela/asgard-cfh.git","clone_url":"https://github.com/andela/asgard-cfh.git","svn_url":"https://github.com/andela/asgard-cfh","homepage":null,"size":16041,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"171ef21b5083ce127db88522bc3b9631c9bdbc44","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":134254161,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyNTQxNjE=","name":"asgard-cfh","full_name":"andela/asgard-cfh","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/asgard-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/asgard-cfh","forks_url":"https://api.github.com/repos/andela/asgard-cfh/forks","keys_url":"https://api.github.com/repos/andela/asgard-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/asgard-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/asgard-cfh/teams","hooks_url":"https://api.github.com/repos/andela/asgard-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/asgard-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/asgard-cfh/events","assignees_url":"https://api.github.com/repos/andela/asgard-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/asgard-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/asgard-cfh/tags","blobs_url":"https://api.github.com/repos/andela/asgard-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/asgard-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/asgard-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/asgard-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/asgard-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/asgard-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/asgard-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/asgard-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/asgard-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/asgard-cfh/subscription","commits_url":"https://api.github.com/repos/andela/asgard-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/asgard-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/asgard-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/asgard-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/asgard-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/asgard-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/asgard-cfh/merges","archive_url":"https://api.github.com/repos/andela/asgard-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/asgard-cfh/downloads","issues_url":"https://api.github.com/repos/andela/asgard-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/asgard-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/asgard-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/asgard-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/asgard-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/asgard-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/asgard-cfh/deployments","created_at":"2018-05-21T10:28:05Z","updated_at":"2018-05-28T16:45:55Z","pushed_at":"2018-06-26T10:16:30Z","git_url":"git://github.com/andela/asgard-cfh.git","ssh_url":"git@github.com:andela/asgard-cfh.git","clone_url":"https://github.com/andela/asgard-cfh.git","svn_url":"https://github.com/andela/asgard-cfh","homepage":null,"size":16041,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/asgard-cfh/pulls/34"},"html":{"href":"https://github.com/andela/asgard-cfh/pull/34"},"issue":{"href":"https://api.github.com/repos/andela/asgard-cfh/issues/34"},"comments":{"href":"https://api.github.com/repos/andela/asgard-cfh/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/asgard-cfh/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/asgard-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/asgard-cfh/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/andela/asgard-cfh/statuses/e4c8b98ffdde0aafcc903b92e2f9f2278f3539ac"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}