{"action":"created","comment":{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/comments/173901795","pull_request_review_id":103167165,"id":173901795,"diff_hunk":"@@ -60,16 +60,21 @@ export const AvailableArticle = createReactClass({\n     const ratingMobileClass = `${ratingClass} tablet-only`;\n     const articleLink = <a onClick={this.stop} href={article.url} target=\"_blank\" className=\"inline\">{article.formatted_title}</a>;\n \n-    let actionButton;\n+    let actionCell;\n     // Show 'Select' button to students\n     if (this.props.current_user.role === 0) {","path":"app/assets/javascripts/components/articles/available_article.jsx","position":7,"original_position":7,"commit_id":"0ebc696e1f0275566df867b74e54d679c931cece","original_commit_id":"0ebc696e1f0275566df867b74e54d679c931cece","user":{"login":"AmitJoki","id":5158554,"avatar_url":"https://avatars1.githubusercontent.com/u/5158554?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitJoki","html_url":"https://github.com/AmitJoki","followers_url":"https://api.github.com/users/AmitJoki/followers","following_url":"https://api.github.com/users/AmitJoki/following{/other_user}","gists_url":"https://api.github.com/users/AmitJoki/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitJoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitJoki/subscriptions","organizations_url":"https://api.github.com/users/AmitJoki/orgs","repos_url":"https://api.github.com/users/AmitJoki/repos","events_url":"https://api.github.com/users/AmitJoki/events{/privacy}","received_events_url":"https://api.github.com/users/AmitJoki/received_events","type":"User","site_admin":false},"body":"@ragesoss this checks for \"Students\"","created_at":"2018-03-12T18:29:47Z","updated_at":"2018-03-12T18:29:47Z","html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/1785#discussion_r173901795","pull_request_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/comments/173901795"},"html":{"href":"https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/1785#discussion_r173901795"},"pull_request":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785"}}},"pull_request":{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785","id":174234595,"html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/1785","diff_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/1785.diff","patch_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/1785.patch","issue_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/1785","number":1785,"state":"open","locked":false,"title":"Claim remove","user":{"login":"AmitJoki","id":5158554,"avatar_url":"https://avatars1.githubusercontent.com/u/5158554?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitJoki","html_url":"https://github.com/AmitJoki","followers_url":"https://api.github.com/users/AmitJoki/followers","following_url":"https://api.github.com/users/AmitJoki/following{/other_user}","gists_url":"https://api.github.com/users/AmitJoki/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitJoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitJoki/subscriptions","organizations_url":"https://api.github.com/users/AmitJoki/orgs","repos_url":"https://api.github.com/users/AmitJoki/repos","events_url":"https://api.github.com/users/AmitJoki/events{/privacy}","received_events_url":"https://api.github.com/users/AmitJoki/received_events","type":"User","site_admin":false},"body":"Fixes #1783 ","created_at":"2018-03-11T18:24:11Z","updated_at":"2018-03-12T18:29:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"153d4951475d2e0a9195374da4791ffbc0bf202f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785/commits","review_comments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785/comments","review_comment_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/1785/comments","statuses_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/statuses/0ebc696e1f0275566df867b74e54d679c931cece","head":{"label":"AmitJoki:Claim-Remove","ref":"Claim-Remove","sha":"0ebc696e1f0275566df867b74e54d679c931cece","user":{"login":"AmitJoki","id":5158554,"avatar_url":"https://avatars1.githubusercontent.com/u/5158554?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitJoki","html_url":"https://github.com/AmitJoki","followers_url":"https://api.github.com/users/AmitJoki/followers","following_url":"https://api.github.com/users/AmitJoki/following{/other_user}","gists_url":"https://api.github.com/users/AmitJoki/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitJoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitJoki/subscriptions","organizations_url":"https://api.github.com/users/AmitJoki/orgs","repos_url":"https://api.github.com/users/AmitJoki/repos","events_url":"https://api.github.com/users/AmitJoki/events{/privacy}","received_events_url":"https://api.github.com/users/AmitJoki/received_events","type":"User","site_admin":false},"repo":{"id":120386114,"name":"WikiEduDashboard","full_name":"AmitJoki/WikiEduDashboard","owner":{"login":"AmitJoki","id":5158554,"avatar_url":"https://avatars1.githubusercontent.com/u/5158554?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitJoki","html_url":"https://github.com/AmitJoki","followers_url":"https://api.github.com/users/AmitJoki/followers","following_url":"https://api.github.com/users/AmitJoki/following{/other_user}","gists_url":"https://api.github.com/users/AmitJoki/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitJoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitJoki/subscriptions","organizations_url":"https://api.github.com/users/AmitJoki/orgs","repos_url":"https://api.github.com/users/AmitJoki/repos","events_url":"https://api.github.com/users/AmitJoki/events{/privacy}","received_events_url":"https://api.github.com/users/AmitJoki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AmitJoki/WikiEduDashboard","description":"Wiki Education Foundation's Wikipedia course dashboard system","fork":true,"url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard","forks_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/forks","keys_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/teams","hooks_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/hooks","issue_events_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/issues/events{/number}","events_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/events","assignees_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/assignees{/user}","branches_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/branches{/branch}","tags_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/tags","blobs_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/languages","stargazers_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/stargazers","contributors_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/contributors","subscribers_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/subscribers","subscription_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/subscription","commits_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/contents/{+path}","compare_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/merges","archive_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/downloads","issues_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/issues{/number}","pulls_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/labels{/name}","releases_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/releases{/id}","deployments_url":"https://api.github.com/repos/AmitJoki/WikiEduDashboard/deployments","created_at":"2018-02-06T01:43:15Z","updated_at":"2018-02-06T01:43:20Z","pushed_at":"2018-03-12T17:50:27Z","git_url":"git://github.com/AmitJoki/WikiEduDashboard.git","ssh_url":"git@github.com:AmitJoki/WikiEduDashboard.git","clone_url":"https://github.com/AmitJoki/WikiEduDashboard.git","svn_url":"https://github.com/AmitJoki/WikiEduDashboard","homepage":"https://dashboard.wikiedu.org","size":66272,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WikiEducationFoundation:master","ref":"master","sha":"85bed5dd40620db56f26cfc1f56b0922973d778c","user":{"login":"WikiEducationFoundation","id":9489865,"avatar_url":"https://avatars1.githubusercontent.com/u/9489865?v=4","gravatar_id":"","url":"https://api.github.com/users/WikiEducationFoundation","html_url":"https://github.com/WikiEducationFoundation","followers_url":"https://api.github.com/users/WikiEducationFoundation/followers","following_url":"https://api.github.com/users/WikiEducationFoundation/following{/other_user}","gists_url":"https://api.github.com/users/WikiEducationFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiEducationFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiEducationFoundation/subscriptions","organizations_url":"https://api.github.com/users/WikiEducationFoundation/orgs","repos_url":"https://api.github.com/users/WikiEducationFoundation/repos","events_url":"https://api.github.com/users/WikiEducationFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/WikiEducationFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":27940263,"name":"WikiEduDashboard","full_name":"WikiEducationFoundation/WikiEduDashboard","owner":{"login":"WikiEducationFoundation","id":9489865,"avatar_url":"https://avatars1.githubusercontent.com/u/9489865?v=4","gravatar_id":"","url":"https://api.github.com/users/WikiEducationFoundation","html_url":"https://github.com/WikiEducationFoundation","followers_url":"https://api.github.com/users/WikiEducationFoundation/followers","following_url":"https://api.github.com/users/WikiEducationFoundation/following{/other_user}","gists_url":"https://api.github.com/users/WikiEducationFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiEducationFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiEducationFoundation/subscriptions","organizations_url":"https://api.github.com/users/WikiEducationFoundation/orgs","repos_url":"https://api.github.com/users/WikiEducationFoundation/repos","events_url":"https://api.github.com/users/WikiEducationFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/WikiEducationFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard","description":"Wiki Education Foundation's Wikipedia course dashboard system","fork":false,"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard","forks_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/forks","keys_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/teams","hooks_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/hooks","issue_events_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/events{/number}","events_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/events","assignees_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/assignees{/user}","branches_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/branches{/branch}","tags_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/tags","blobs_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/languages","stargazers_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/stargazers","contributors_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/contributors","subscribers_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/subscribers","subscription_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/subscription","commits_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/contents/{+path}","compare_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/merges","archive_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/downloads","issues_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues{/number}","pulls_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels{/name}","releases_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/releases{/id}","deployments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/deployments","created_at":"2014-12-12T22:13:19Z","updated_at":"2018-03-12T18:09:46Z","pushed_at":"2018-03-12T18:26:10Z","git_url":"git://github.com/WikiEducationFoundation/WikiEduDashboard.git","ssh_url":"git@github.com:WikiEducationFoundation/WikiEduDashboard.git","clone_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard.git","svn_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard","homepage":"https://dashboard.wikiedu.org","size":66172,"stargazers_count":85,"watchers_count":85,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":171,"mirror_url":null,"archived":false,"open_issues_count":216,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":171,"open_issues":216,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785"},"html":{"href":"https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/1785"},"issue":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/1785"},"comments":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/1785/comments"},"review_comments":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785/comments"},"review_comment":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/pulls/1785/commits"},"statuses":{"href":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/statuses/0ebc696e1f0275566df867b74e54d679c931cece"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AmitJoki"}}