{"action":"created","comment":{"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/comments/107980387","pull_request_review_id":28989254,"id":107980387,"diff_hunk":"@@ -10,10 +10,10 @@\n             <li *ngIf=\"auth.authenticated()\">\n                 <a materialize=\"dropdown\" class=\"dropdown-button\" data-beloworigin=\"true\" data-hover=\"true\" href=\"#!\" data-activates=\"dropdownproject\">{{auth.getCurrentDisplayName()}}<i class=\"material-icons right\">arrow_drop_down</i></a>\n                 <ul id=\"dropdownproject\" class=\"dropdown-content\">\n-                    <li><a routerLink=\"/account/{{auth.getCurrentUserId()}}\" routerLinkActive=\"active\" class=\"black-text text-lighten-2\">My Account</a></li>\n-                    <li  *ngIf=\"auth.isVolunteer()\"><a routerLink=\"/profile/{{auth.getCurrentUserId()}}\" routerLinkActive=\"active\" class=\"black-text text-lighten-2\">My Profile</a></li>\n+                    <li><a routerLink=\"/account/{{currentUserId}}\" routerLinkActive=\"active\" class=\"black-text text-lighten-2\">My Account</a></li>","path":"src/app/app.component.html","position":6,"original_position":6,"commit_id":"8725bc699759048e61474a835a4e1b77a2f94600","original_commit_id":"8725bc699759048e61474a835a4e1b77a2f94600","user":{"login":"russon77","id":17035732,"avatar_url":"https://avatars2.githubusercontent.com/u/17035732?v=3","gravatar_id":"","url":"https://api.github.com/users/russon77","html_url":"https://github.com/russon77","followers_url":"https://api.github.com/users/russon77/followers","following_url":"https://api.github.com/users/russon77/following{/other_user}","gists_url":"https://api.github.com/users/russon77/gists{/gist_id}","starred_url":"https://api.github.com/users/russon77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russon77/subscriptions","organizations_url":"https://api.github.com/users/russon77/orgs","repos_url":"https://api.github.com/users/russon77/repos","events_url":"https://api.github.com/users/russon77/events{/privacy}","received_events_url":"https://api.github.com/users/russon77/received_events","type":"User","site_admin":false},"body":"using `[routerLink]=\"['piece1', 'piece2']\" is easier to read imho. for example, this would be `[routerLink]=\"['/account', currentUserId]\"`\r\n","created_at":"2017-03-24T19:16:09Z","updated_at":"2017-03-24T19:21:43Z","html_url":"https://github.com/Code4SocialGood/c4sg-web/pull/139#discussion_r107980387","pull_request_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139","_links":{"self":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/comments/107980387"},"html":{"href":"https://github.com/Code4SocialGood/c4sg-web/pull/139#discussion_r107980387"},"pull_request":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139"}}},"pull_request":{"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139","id":112354055,"html_url":"https://github.com/Code4SocialGood/c4sg-web/pull/139","diff_url":"https://github.com/Code4SocialGood/c4sg-web/pull/139.diff","patch_url":"https://github.com/Code4SocialGood/c4sg-web/pull/139.patch","issue_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/139","number":139,"state":"open","locked":false,"title":"Addresses the issue of getting the org id in the My Organization link for a non-profit user","user":{"login":"jekcosty","id":25105201,"avatar_url":"https://avatars1.githubusercontent.com/u/25105201?v=3","gravatar_id":"","url":"https://api.github.com/users/jekcosty","html_url":"https://github.com/jekcosty","followers_url":"https://api.github.com/users/jekcosty/followers","following_url":"https://api.github.com/users/jekcosty/following{/other_user}","gists_url":"https://api.github.com/users/jekcosty/gists{/gist_id}","starred_url":"https://api.github.com/users/jekcosty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekcosty/subscriptions","organizations_url":"https://api.github.com/users/jekcosty/orgs","repos_url":"https://api.github.com/users/jekcosty/repos","events_url":"https://api.github.com/users/jekcosty/events{/privacy}","received_events_url":"https://api.github.com/users/jekcosty/received_events","type":"User","site_admin":false},"body":"This change will resolve the org id related to a given nonprofit user and append it to the My Organization route path. If none is found, the link shall be hidden until a new one is created.","created_at":"2017-03-23T22:42:12Z","updated_at":"2017-03-24T19:21:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"068fe689bc18f0bf5fcd6226b72407dfbf9d732d","assignee":{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars3.githubusercontent.com/u/24813620?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false},"assignees":[{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars3.githubusercontent.com/u/24813620?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139/commits","review_comments_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139/comments","review_comment_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/139/comments","statuses_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/statuses/8725bc699759048e61474a835a4e1b77a2f94600","head":{"label":"jekcosty:master","ref":"master","sha":"8725bc699759048e61474a835a4e1b77a2f94600","user":{"login":"jekcosty","id":25105201,"avatar_url":"https://avatars1.githubusercontent.com/u/25105201?v=3","gravatar_id":"","url":"https://api.github.com/users/jekcosty","html_url":"https://github.com/jekcosty","followers_url":"https://api.github.com/users/jekcosty/followers","following_url":"https://api.github.com/users/jekcosty/following{/other_user}","gists_url":"https://api.github.com/users/jekcosty/gists{/gist_id}","starred_url":"https://api.github.com/users/jekcosty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekcosty/subscriptions","organizations_url":"https://api.github.com/users/jekcosty/orgs","repos_url":"https://api.github.com/users/jekcosty/repos","events_url":"https://api.github.com/users/jekcosty/events{/privacy}","received_events_url":"https://api.github.com/users/jekcosty/received_events","type":"User","site_admin":false},"repo":{"id":85068240,"name":"c4sg-web","full_name":"jekcosty/c4sg-web","owner":{"login":"jekcosty","id":25105201,"avatar_url":"https://avatars1.githubusercontent.com/u/25105201?v=3","gravatar_id":"","url":"https://api.github.com/users/jekcosty","html_url":"https://github.com/jekcosty","followers_url":"https://api.github.com/users/jekcosty/followers","following_url":"https://api.github.com/users/jekcosty/following{/other_user}","gists_url":"https://api.github.com/users/jekcosty/gists{/gist_id}","starred_url":"https://api.github.com/users/jekcosty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekcosty/subscriptions","organizations_url":"https://api.github.com/users/jekcosty/orgs","repos_url":"https://api.github.com/users/jekcosty/repos","events_url":"https://api.github.com/users/jekcosty/events{/privacy}","received_events_url":"https://api.github.com/users/jekcosty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jekcosty/c4sg-web","description":"Code for Social Good connects nonprofits and open sources with tech volunteers","fork":true,"url":"https://api.github.com/repos/jekcosty/c4sg-web","forks_url":"https://api.github.com/repos/jekcosty/c4sg-web/forks","keys_url":"https://api.github.com/repos/jekcosty/c4sg-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jekcosty/c4sg-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jekcosty/c4sg-web/teams","hooks_url":"https://api.github.com/repos/jekcosty/c4sg-web/hooks","issue_events_url":"https://api.github.com/repos/jekcosty/c4sg-web/issues/events{/number}","events_url":"https://api.github.com/repos/jekcosty/c4sg-web/events","assignees_url":"https://api.github.com/repos/jekcosty/c4sg-web/assignees{/user}","branches_url":"https://api.github.com/repos/jekcosty/c4sg-web/branches{/branch}","tags_url":"https://api.github.com/repos/jekcosty/c4sg-web/tags","blobs_url":"https://api.github.com/repos/jekcosty/c4sg-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jekcosty/c4sg-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jekcosty/c4sg-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/jekcosty/c4sg-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jekcosty/c4sg-web/statuses/{sha}","languages_url":"https://api.github.com/repos/jekcosty/c4sg-web/languages","stargazers_url":"https://api.github.com/repos/jekcosty/c4sg-web/stargazers","contributors_url":"https://api.github.com/repos/jekcosty/c4sg-web/contributors","subscribers_url":"https://api.github.com/repos/jekcosty/c4sg-web/subscribers","subscription_url":"https://api.github.com/repos/jekcosty/c4sg-web/subscription","commits_url":"https://api.github.com/repos/jekcosty/c4sg-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/jekcosty/c4sg-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/jekcosty/c4sg-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/jekcosty/c4sg-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/jekcosty/c4sg-web/contents/{+path}","compare_url":"https://api.github.com/repos/jekcosty/c4sg-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jekcosty/c4sg-web/merges","archive_url":"https://api.github.com/repos/jekcosty/c4sg-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jekcosty/c4sg-web/downloads","issues_url":"https://api.github.com/repos/jekcosty/c4sg-web/issues{/number}","pulls_url":"https://api.github.com/repos/jekcosty/c4sg-web/pulls{/number}","milestones_url":"https://api.github.com/repos/jekcosty/c4sg-web/milestones{/number}","notifications_url":"https://api.github.com/repos/jekcosty/c4sg-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jekcosty/c4sg-web/labels{/name}","releases_url":"https://api.github.com/repos/jekcosty/c4sg-web/releases{/id}","deployments_url":"https://api.github.com/repos/jekcosty/c4sg-web/deployments","created_at":"2017-03-15T12:11:59Z","updated_at":"2017-03-15T12:12:01Z","pushed_at":"2017-03-23T22:51:41Z","git_url":"git://github.com/jekcosty/c4sg-web.git","ssh_url":"git@github.com:jekcosty/c4sg-web.git","clone_url":"https://github.com/jekcosty/c4sg-web.git","svn_url":"https://github.com/jekcosty/c4sg-web","homepage":"","size":11545,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"Code4SocialGood:master","ref":"master","sha":"f5547e605ad8352ff9bbfb9e22c5c37056ea9a88","user":{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars3.githubusercontent.com/u/24813620?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false},"repo":{"id":85011025,"name":"c4sg-web","full_name":"Code4SocialGood/c4sg-web","owner":{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars3.githubusercontent.com/u/24813620?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Code4SocialGood/c4sg-web","description":"Code for Social Good connects non-profits and open source projects with tech volunteers","fork":false,"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web","forks_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/forks","keys_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/teams","hooks_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/hooks","issue_events_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/events{/number}","events_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/events","assignees_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/assignees{/user}","branches_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/branches{/branch}","tags_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/tags","blobs_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/languages","stargazers_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/stargazers","contributors_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/contributors","subscribers_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/subscribers","subscription_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/subscription","commits_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/contents/{+path}","compare_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/merges","archive_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/downloads","issues_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues{/number}","pulls_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/labels{/name}","releases_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/releases{/id}","deployments_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/deployments","created_at":"2017-03-15T00:32:06Z","updated_at":"2017-03-24T14:04:17Z","pushed_at":"2017-03-24T19:17:10Z","git_url":"git://github.com/Code4SocialGood/c4sg-web.git","ssh_url":"git@github.com:Code4SocialGood/c4sg-web.git","clone_url":"https://github.com/Code4SocialGood/c4sg-web.git","svn_url":"https://github.com/Code4SocialGood/c4sg-web","homepage":"http://code4socialgood.org/","size":11546,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":63,"forks":27,"open_issues":63,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139"},"html":{"href":"https://github.com/Code4SocialGood/c4sg-web/pull/139"},"issue":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/139"},"comments":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/Code4SocialGood/c4sg-web/statuses/8725bc699759048e61474a835a4e1b77a2f94600"}}}}
{"actor":{"display_login":"russon77"}}