{"action":"created","comment":{"url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/comments/22639409","id":22639409,"diff_hunk":"@@ -1,12 +1,12 @@\n <div class=\"dc-engagement-index-sharing\">\n   <h2>Sharing</h2>\n-  <form data-ng-submit=\"setEngagementIndexStatus()\">\n+  <form data-ng-submit=\"saveEngagementIndexStatus()\">\n     <div>\n-      <input type=\"checkbox\" data-ng-model=\"currStudent.share\" data-ng-change=\"resizeIFrame()\" id=\"dc-engagement-index-choice\">\n+      <input type=\"checkbox\" data-ng-model=\"currStudent.share\" data-ng-change=\"changeEngagementIndexStatus()\" id=\"dc-engagement-index-choice\">\n       <label for=\"dc-engagement-index-choice\">Yes, I want to share my score on the Engagement Index.</label>\n     </div>\n-    <div>\n-      <button type=\"submit\" class=\"btn btn-info\">Save</button>\n+    <div data-ng-if=\"!currStudent.has_answered_share_question\">","path":"app/assets/templates/engagement_index_sharing_option.html","position":12,"original_position":12,"commit_id":"560e8f54e8bc5a44c5f2ce59929c6a90d3a03875","original_commit_id":"d5d27da17aa052f5dc0d28ef3771462618424839","user":{"login":"christianv","id":127199,"avatar_url":"https://avatars.githubusercontent.com/u/127199?v=3","gravatar_id":"","url":"https://api.github.com/users/christianv","html_url":"https://github.com/christianv","followers_url":"https://api.github.com/users/christianv/followers","following_url":"https://api.github.com/users/christianv/following{/other_user}","gists_url":"https://api.github.com/users/christianv/gists{/gist_id}","starred_url":"https://api.github.com/users/christianv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianv/subscriptions","organizations_url":"https://api.github.com/users/christianv/orgs","repos_url":"https://api.github.com/users/christianv/repos","events_url":"https://api.github.com/users/christianv/events{/privacy}","received_events_url":"https://api.github.com/users/christianv/received_events","type":"User","site_admin":false},"body":"@nicolaasmatthijs sounds gtm, thanks for verifying.","created_at":"2015-01-08T08:11:15Z","updated_at":"2015-01-08T08:11:15Z","html_url":"https://github.com/ets-berkeley-edu/datacultures/pull/247#discussion_r22639409","pull_request_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247","_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/comments/22639409"},"html":{"href":"https://github.com/ets-berkeley-edu/datacultures/pull/247#discussion_r22639409"},"pull_request":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247"}}},"pull_request":{"url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247","id":26924822,"html_url":"https://github.com/ets-berkeley-edu/datacultures/pull/247","diff_url":"https://github.com/ets-berkeley-edu/datacultures/pull/247.diff","patch_url":"https://github.com/ets-berkeley-edu/datacultures/pull/247.patch","issue_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues/247","number":247,"state":"open","locked":false,"title":"CYB-371 - User interface tweaks","user":{"login":"nicolaasmatthijs","id":109850,"avatar_url":"https://avatars.githubusercontent.com/u/109850?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaasmatthijs","html_url":"https://github.com/nicolaasmatthijs","followers_url":"https://api.github.com/users/nicolaasmatthijs/followers","following_url":"https://api.github.com/users/nicolaasmatthijs/following{/other_user}","gists_url":"https://api.github.com/users/nicolaasmatthijs/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaasmatthijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaasmatthijs/subscriptions","organizations_url":"https://api.github.com/users/nicolaasmatthijs/orgs","repos_url":"https://api.github.com/users/nicolaasmatthijs/repos","events_url":"https://api.github.com/users/nicolaasmatthijs/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaasmatthijs/received_events","type":"User","site_admin":false},"body":"- Styling improvements to give the various tools an overall better and more consistent look\r\n- Improved the interactions around sharing your points on the engagement index\r\n- Improved the engagement index instructions\r\n\r\nhttps://jira.ets.berkeley.edu/jira/browse/CYB-371\r\nhttps://jira.ets.berkeley.edu/jira/browse/CYB-399\r\nhttps://jira.ets.berkeley.edu/jira/browse/CYB-387","created_at":"2015-01-06T22:54:46Z","updated_at":"2015-01-08T08:11:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5117888d1f3ad3763581d524ac9ca62fda659b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247/commits","review_comments_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247/comments","review_comment_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues/247/comments","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/statuses/560e8f54e8bc5a44c5f2ce59929c6a90d3a03875","head":{"label":"nicolaasmatthijs:CYB-371","ref":"CYB-371","sha":"560e8f54e8bc5a44c5f2ce59929c6a90d3a03875","user":{"login":"nicolaasmatthijs","id":109850,"avatar_url":"https://avatars.githubusercontent.com/u/109850?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaasmatthijs","html_url":"https://github.com/nicolaasmatthijs","followers_url":"https://api.github.com/users/nicolaasmatthijs/followers","following_url":"https://api.github.com/users/nicolaasmatthijs/following{/other_user}","gists_url":"https://api.github.com/users/nicolaasmatthijs/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaasmatthijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaasmatthijs/subscriptions","organizations_url":"https://api.github.com/users/nicolaasmatthijs/orgs","repos_url":"https://api.github.com/users/nicolaasmatthijs/repos","events_url":"https://api.github.com/users/nicolaasmatthijs/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaasmatthijs/received_events","type":"User","site_admin":false},"repo":{"id":27849167,"name":"datacultures","full_name":"nicolaasmatthijs/datacultures","owner":{"login":"nicolaasmatthijs","id":109850,"avatar_url":"https://avatars.githubusercontent.com/u/109850?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaasmatthijs","html_url":"https://github.com/nicolaasmatthijs","followers_url":"https://api.github.com/users/nicolaasmatthijs/followers","following_url":"https://api.github.com/users/nicolaasmatthijs/following{/other_user}","gists_url":"https://api.github.com/users/nicolaasmatthijs/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaasmatthijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaasmatthijs/subscriptions","organizations_url":"https://api.github.com/users/nicolaasmatthijs/orgs","repos_url":"https://api.github.com/users/nicolaasmatthijs/repos","events_url":"https://api.github.com/users/nicolaasmatthijs/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaasmatthijs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicolaasmatthijs/datacultures","description":"The Data Cultures running in Canvas","fork":true,"url":"https://api.github.com/repos/nicolaasmatthijs/datacultures","forks_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/forks","keys_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/teams","hooks_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/hooks","issue_events_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/issues/events{/number}","events_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/events","assignees_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/assignees{/user}","branches_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/branches{/branch}","tags_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/tags","blobs_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/statuses/{sha}","languages_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/languages","stargazers_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/stargazers","contributors_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/contributors","subscribers_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/subscribers","subscription_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/subscription","commits_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/issues/comments/{number}","contents_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/contents/{+path}","compare_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/merges","archive_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/downloads","issues_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/issues{/number}","pulls_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/pulls{/number}","milestones_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/milestones{/number}","notifications_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/labels{/name}","releases_url":"https://api.github.com/repos/nicolaasmatthijs/datacultures/releases{/id}","created_at":"2014-12-11T01:53:23Z","updated_at":"2015-01-05T17:39:34Z","pushed_at":"2015-01-08T00:41:59Z","git_url":"git://github.com/nicolaasmatthijs/datacultures.git","ssh_url":"git@github.com:nicolaasmatthijs/datacultures.git","clone_url":"https://github.com/nicolaasmatthijs/datacultures.git","svn_url":"https://github.com/nicolaasmatthijs/datacultures","homepage":null,"size":1258,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ets-berkeley-edu:master","ref":"master","sha":"248f843ad6f5c2dfadcf28cc13658b0c014ed07f","user":{"login":"ets-berkeley-edu","id":283538,"avatar_url":"https://avatars.githubusercontent.com/u/283538?v=3","gravatar_id":"","url":"https://api.github.com/users/ets-berkeley-edu","html_url":"https://github.com/ets-berkeley-edu","followers_url":"https://api.github.com/users/ets-berkeley-edu/followers","following_url":"https://api.github.com/users/ets-berkeley-edu/following{/other_user}","gists_url":"https://api.github.com/users/ets-berkeley-edu/gists{/gist_id}","starred_url":"https://api.github.com/users/ets-berkeley-edu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ets-berkeley-edu/subscriptions","organizations_url":"https://api.github.com/users/ets-berkeley-edu/orgs","repos_url":"https://api.github.com/users/ets-berkeley-edu/repos","events_url":"https://api.github.com/users/ets-berkeley-edu/events{/privacy}","received_events_url":"https://api.github.com/users/ets-berkeley-edu/received_events","type":"Organization","site_admin":false},"repo":{"id":20739026,"name":"datacultures","full_name":"ets-berkeley-edu/datacultures","owner":{"login":"ets-berkeley-edu","id":283538,"avatar_url":"https://avatars.githubusercontent.com/u/283538?v=3","gravatar_id":"","url":"https://api.github.com/users/ets-berkeley-edu","html_url":"https://github.com/ets-berkeley-edu","followers_url":"https://api.github.com/users/ets-berkeley-edu/followers","following_url":"https://api.github.com/users/ets-berkeley-edu/following{/other_user}","gists_url":"https://api.github.com/users/ets-berkeley-edu/gists{/gist_id}","starred_url":"https://api.github.com/users/ets-berkeley-edu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ets-berkeley-edu/subscriptions","organizations_url":"https://api.github.com/users/ets-berkeley-edu/orgs","repos_url":"https://api.github.com/users/ets-berkeley-edu/repos","events_url":"https://api.github.com/users/ets-berkeley-edu/events{/privacy}","received_events_url":"https://api.github.com/users/ets-berkeley-edu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ets-berkeley-edu/datacultures","description":"The Data Cultures running in Canvas","fork":false,"url":"https://api.github.com/repos/ets-berkeley-edu/datacultures","forks_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/forks","keys_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/teams","hooks_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/hooks","issue_events_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues/events{/number}","events_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/events","assignees_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/assignees{/user}","branches_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/branches{/branch}","tags_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/tags","blobs_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/git/refs{/sha}","trees_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/statuses/{sha}","languages_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/languages","stargazers_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/stargazers","contributors_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/contributors","subscribers_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/subscribers","subscription_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/subscription","commits_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/commits{/sha}","git_commits_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/git/commits{/sha}","comments_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/comments{/number}","issue_comment_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues/comments/{number}","contents_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/contents/{+path}","compare_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/merges","archive_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/downloads","issues_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues{/number}","pulls_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls{/number}","milestones_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/milestones{/number}","notifications_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/labels{/name}","releases_url":"https://api.github.com/repos/ets-berkeley-edu/datacultures/releases{/id}","created_at":"2014-06-11T19:59:56Z","updated_at":"2015-01-08T08:06:06Z","pushed_at":"2015-01-08T08:06:05Z","git_url":"git://github.com/ets-berkeley-edu/datacultures.git","ssh_url":"git@github.com:ets-berkeley-edu/datacultures.git","clone_url":"https://github.com/ets-berkeley-edu/datacultures.git","svn_url":"https://github.com/ets-berkeley-edu/datacultures","homepage":null,"size":3247,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247"},"html":{"href":"https://github.com/ets-berkeley-edu/datacultures/pull/247"},"issue":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues/247"},"comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/ets-berkeley-edu/datacultures/statuses/560e8f54e8bc5a44c5f2ce59929c6a90d3a03875"}}}}