{"action":"created","comment":{"url":"https://api.github.com/repos/mitodl/micromasters/pulls/comments/80095746","id":80095746,"diff_hunk":"@@ -104,11 +104,37 @@\n     </div>\n   </div>\n \n+  {% if page.faculty_members.count > 0 %}\n+    <div class=\"faculty-section\">\n+      <h3 class=\"title\">Faculty</h3>\n+      {% if page.faculty_description|length > 0 %}\n+        <p class=\"description\">{{ page.faculty_description }}</p>\n+      {% endif %}\n+      <div id=\"faculty-carousel\" class=\"single-column-wide\">","path":"cms/templates/cms/program_page.html","position":55,"original_position":55,"commit_id":"43610e2b4c0cf4d6f2f317d6ebc5cc913d9c3690","original_commit_id":"43610e2b4c0cf4d6f2f317d6ebc5cc913d9c3690","user":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"body":"A future version of `ReactDOM.render` may leave the HTML below in place so the behavior of replacing the contents of the container is not guaranteed. See the red box: https://facebook.github.io/react/docs/top-level-api.html#reactdom.render\r\n\r\nInstead can we populate a JS array with the faculty data? This would also make `FacultyCarousel` easier to test","created_at":"2016-09-22T17:42:08Z","updated_at":"2016-09-22T17:48:14Z","html_url":"https://github.com/mitodl/micromasters/pull/1079#discussion_r80095746","pull_request_url":"https://api.github.com/repos/mitodl/micromasters/pulls/1079","_links":{"self":{"href":"https://api.github.com/repos/mitodl/micromasters/pulls/comments/80095746"},"html":{"href":"https://github.com/mitodl/micromasters/pull/1079#discussion_r80095746"},"pull_request":{"href":"https://api.github.com/repos/mitodl/micromasters/pulls/1079"}}},"pull_request":{"url":"https://api.github.com/repos/mitodl/micromasters/pulls/1079","id":86051147,"html_url":"https://github.com/mitodl/micromasters/pull/1079","diff_url":"https://github.com/mitodl/micromasters/pull/1079.diff","patch_url":"https://github.com/mitodl/micromasters/pull/1079.patch","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/1079","number":1079,"state":"open","locked":false,"title":"Faculty carousel","user":{"login":"singingwolfboy","id":132355,"avatar_url":"https://avatars.githubusercontent.com/u/132355?v=3","gravatar_id":"","url":"https://api.github.com/users/singingwolfboy","html_url":"https://github.com/singingwolfboy","followers_url":"https://api.github.com/users/singingwolfboy/followers","following_url":"https://api.github.com/users/singingwolfboy/following{/other_user}","gists_url":"https://api.github.com/users/singingwolfboy/gists{/gist_id}","starred_url":"https://api.github.com/users/singingwolfboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singingwolfboy/subscriptions","organizations_url":"https://api.github.com/users/singingwolfboy/orgs","repos_url":"https://api.github.com/users/singingwolfboy/repos","events_url":"https://api.github.com/users/singingwolfboy/events{/privacy}","received_events_url":"https://api.github.com/users/singingwolfboy/received_events","type":"User","site_admin":false},"body":"Fixes #923. Pulls faculty information from database and renders it in Django Templates. Then that information is parsed and passed to [react-slick](https://github.com/akiran/react-slick) for a nice image carousel effect.","created_at":"2016-09-20T20:34:12Z","updated_at":"2016-09-22T17:48:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f20ad31c4e7246d74707028622a30d5038c9410","assignee":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"assignees":[{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mitodl/micromasters/pulls/1079/commits","review_comments_url":"https://api.github.com/repos/mitodl/micromasters/pulls/1079/comments","review_comment_url":"https://api.github.com/repos/mitodl/micromasters/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/1079/comments","statuses_url":"https://api.github.com/repos/mitodl/micromasters/statuses/43610e2b4c0cf4d6f2f317d6ebc5cc913d9c3690","head":{"label":"singingwolfboy:faculty-carousel","ref":"faculty-carousel","sha":"43610e2b4c0cf4d6f2f317d6ebc5cc913d9c3690","user":{"login":"singingwolfboy","id":132355,"avatar_url":"https://avatars.githubusercontent.com/u/132355?v=3","gravatar_id":"","url":"https://api.github.com/users/singingwolfboy","html_url":"https://github.com/singingwolfboy","followers_url":"https://api.github.com/users/singingwolfboy/followers","following_url":"https://api.github.com/users/singingwolfboy/following{/other_user}","gists_url":"https://api.github.com/users/singingwolfboy/gists{/gist_id}","starred_url":"https://api.github.com/users/singingwolfboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singingwolfboy/subscriptions","organizations_url":"https://api.github.com/users/singingwolfboy/orgs","repos_url":"https://api.github.com/users/singingwolfboy/repos","events_url":"https://api.github.com/users/singingwolfboy/events{/privacy}","received_events_url":"https://api.github.com/users/singingwolfboy/received_events","type":"User","site_admin":false},"repo":{"id":68638751,"name":"micromasters","full_name":"singingwolfboy/micromasters","owner":{"login":"singingwolfboy","id":132355,"avatar_url":"https://avatars.githubusercontent.com/u/132355?v=3","gravatar_id":"","url":"https://api.github.com/users/singingwolfboy","html_url":"https://github.com/singingwolfboy","followers_url":"https://api.github.com/users/singingwolfboy/followers","following_url":"https://api.github.com/users/singingwolfboy/following{/other_user}","gists_url":"https://api.github.com/users/singingwolfboy/gists{/gist_id}","starred_url":"https://api.github.com/users/singingwolfboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singingwolfboy/subscriptions","organizations_url":"https://api.github.com/users/singingwolfboy/orgs","repos_url":"https://api.github.com/users/singingwolfboy/repos","events_url":"https://api.github.com/users/singingwolfboy/events{/privacy}","received_events_url":"https://api.github.com/users/singingwolfboy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/singingwolfboy/micromasters","description":"Portal for learners and course teams to access MITx micromasters programs: https://goo.gl/tsUTSO","fork":true,"url":"https://api.github.com/repos/singingwolfboy/micromasters","forks_url":"https://api.github.com/repos/singingwolfboy/micromasters/forks","keys_url":"https://api.github.com/repos/singingwolfboy/micromasters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/singingwolfboy/micromasters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/singingwolfboy/micromasters/teams","hooks_url":"https://api.github.com/repos/singingwolfboy/micromasters/hooks","issue_events_url":"https://api.github.com/repos/singingwolfboy/micromasters/issues/events{/number}","events_url":"https://api.github.com/repos/singingwolfboy/micromasters/events","assignees_url":"https://api.github.com/repos/singingwolfboy/micromasters/assignees{/user}","branches_url":"https://api.github.com/repos/singingwolfboy/micromasters/branches{/branch}","tags_url":"https://api.github.com/repos/singingwolfboy/micromasters/tags","blobs_url":"https://api.github.com/repos/singingwolfboy/micromasters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/singingwolfboy/micromasters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/singingwolfboy/micromasters/git/refs{/sha}","trees_url":"https://api.github.com/repos/singingwolfboy/micromasters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/singingwolfboy/micromasters/statuses/{sha}","languages_url":"https://api.github.com/repos/singingwolfboy/micromasters/languages","stargazers_url":"https://api.github.com/repos/singingwolfboy/micromasters/stargazers","contributors_url":"https://api.github.com/repos/singingwolfboy/micromasters/contributors","subscribers_url":"https://api.github.com/repos/singingwolfboy/micromasters/subscribers","subscription_url":"https://api.github.com/repos/singingwolfboy/micromasters/subscription","commits_url":"https://api.github.com/repos/singingwolfboy/micromasters/commits{/sha}","git_commits_url":"https://api.github.com/repos/singingwolfboy/micromasters/git/commits{/sha}","comments_url":"https://api.github.com/repos/singingwolfboy/micromasters/comments{/number}","issue_comment_url":"https://api.github.com/repos/singingwolfboy/micromasters/issues/comments{/number}","contents_url":"https://api.github.com/repos/singingwolfboy/micromasters/contents/{+path}","compare_url":"https://api.github.com/repos/singingwolfboy/micromasters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/singingwolfboy/micromasters/merges","archive_url":"https://api.github.com/repos/singingwolfboy/micromasters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/singingwolfboy/micromasters/downloads","issues_url":"https://api.github.com/repos/singingwolfboy/micromasters/issues{/number}","pulls_url":"https://api.github.com/repos/singingwolfboy/micromasters/pulls{/number}","milestones_url":"https://api.github.com/repos/singingwolfboy/micromasters/milestones{/number}","notifications_url":"https://api.github.com/repos/singingwolfboy/micromasters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/singingwolfboy/micromasters/labels{/name}","releases_url":"https://api.github.com/repos/singingwolfboy/micromasters/releases{/id}","deployments_url":"https://api.github.com/repos/singingwolfboy/micromasters/deployments","created_at":"2016-09-19T19:26:00Z","updated_at":"2016-09-19T19:26:02Z","pushed_at":"2016-09-22T16:01:53Z","git_url":"git://github.com/singingwolfboy/micromasters.git","ssh_url":"git@github.com:singingwolfboy/micromasters.git","clone_url":"https://github.com/singingwolfboy/micromasters.git","svn_url":"https://github.com/singingwolfboy/micromasters","homepage":"","size":12515,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"mitodl:master","ref":"master","sha":"10041484cd617b7ca59e446048849f7f2c8d7d85","user":{"login":"mitodl","id":7918516,"avatar_url":"https://avatars.githubusercontent.com/u/7918516?v=3","gravatar_id":"","url":"https://api.github.com/users/mitodl","html_url":"https://github.com/mitodl","followers_url":"https://api.github.com/users/mitodl/followers","following_url":"https://api.github.com/users/mitodl/following{/other_user}","gists_url":"https://api.github.com/users/mitodl/gists{/gist_id}","starred_url":"https://api.github.com/users/mitodl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitodl/subscriptions","organizations_url":"https://api.github.com/users/mitodl/orgs","repos_url":"https://api.github.com/users/mitodl/repos","events_url":"https://api.github.com/users/mitodl/events{/privacy}","received_events_url":"https://api.github.com/users/mitodl/received_events","type":"Organization","site_admin":false},"repo":{"id":52919185,"name":"micromasters","full_name":"mitodl/micromasters","owner":{"login":"mitodl","id":7918516,"avatar_url":"https://avatars.githubusercontent.com/u/7918516?v=3","gravatar_id":"","url":"https://api.github.com/users/mitodl","html_url":"https://github.com/mitodl","followers_url":"https://api.github.com/users/mitodl/followers","following_url":"https://api.github.com/users/mitodl/following{/other_user}","gists_url":"https://api.github.com/users/mitodl/gists{/gist_id}","starred_url":"https://api.github.com/users/mitodl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitodl/subscriptions","organizations_url":"https://api.github.com/users/mitodl/orgs","repos_url":"https://api.github.com/users/mitodl/repos","events_url":"https://api.github.com/users/mitodl/events{/privacy}","received_events_url":"https://api.github.com/users/mitodl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mitodl/micromasters","description":"Portal for learners and course teams to access MITx micromasters programs: https://goo.gl/tsUTSO","fork":false,"url":"https://api.github.com/repos/mitodl/micromasters","forks_url":"https://api.github.com/repos/mitodl/micromasters/forks","keys_url":"https://api.github.com/repos/mitodl/micromasters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitodl/micromasters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitodl/micromasters/teams","hooks_url":"https://api.github.com/repos/mitodl/micromasters/hooks","issue_events_url":"https://api.github.com/repos/mitodl/micromasters/issues/events{/number}","events_url":"https://api.github.com/repos/mitodl/micromasters/events","assignees_url":"https://api.github.com/repos/mitodl/micromasters/assignees{/user}","branches_url":"https://api.github.com/repos/mitodl/micromasters/branches{/branch}","tags_url":"https://api.github.com/repos/mitodl/micromasters/tags","blobs_url":"https://api.github.com/repos/mitodl/micromasters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitodl/micromasters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitodl/micromasters/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitodl/micromasters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitodl/micromasters/statuses/{sha}","languages_url":"https://api.github.com/repos/mitodl/micromasters/languages","stargazers_url":"https://api.github.com/repos/mitodl/micromasters/stargazers","contributors_url":"https://api.github.com/repos/mitodl/micromasters/contributors","subscribers_url":"https://api.github.com/repos/mitodl/micromasters/subscribers","subscription_url":"https://api.github.com/repos/mitodl/micromasters/subscription","commits_url":"https://api.github.com/repos/mitodl/micromasters/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitodl/micromasters/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitodl/micromasters/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitodl/micromasters/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitodl/micromasters/contents/{+path}","compare_url":"https://api.github.com/repos/mitodl/micromasters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitodl/micromasters/merges","archive_url":"https://api.github.com/repos/mitodl/micromasters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitodl/micromasters/downloads","issues_url":"https://api.github.com/repos/mitodl/micromasters/issues{/number}","pulls_url":"https://api.github.com/repos/mitodl/micromasters/pulls{/number}","milestones_url":"https://api.github.com/repos/mitodl/micromasters/milestones{/number}","notifications_url":"https://api.github.com/repos/mitodl/micromasters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitodl/micromasters/labels{/name}","releases_url":"https://api.github.com/repos/mitodl/micromasters/releases{/id}","deployments_url":"https://api.github.com/repos/mitodl/micromasters/deployments","created_at":"2016-03-01T23:53:17Z","updated_at":"2016-08-19T01:46:48Z","pushed_at":"2016-09-22T17:22:00Z","git_url":"git://github.com/mitodl/micromasters.git","ssh_url":"git@github.com:mitodl/micromasters.git","clone_url":"https://github.com/mitodl/micromasters.git","svn_url":"https://github.com/mitodl/micromasters","homepage":"","size":12852,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":154,"forks":3,"open_issues":154,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitodl/micromasters/pulls/1079"},"html":{"href":"https://github.com/mitodl/micromasters/pull/1079"},"issue":{"href":"https://api.github.com/repos/mitodl/micromasters/issues/1079"},"comments":{"href":"https://api.github.com/repos/mitodl/micromasters/issues/1079/comments"},"review_comments":{"href":"https://api.github.com/repos/mitodl/micromasters/pulls/1079/comments"},"review_comment":{"href":"https://api.github.com/repos/mitodl/micromasters/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitodl/micromasters/pulls/1079/commits"},"statuses":{"href":"https://api.github.com/repos/mitodl/micromasters/statuses/43610e2b4c0cf4d6f2f317d6ebc5cc913d9c3690"}}}}
{"actor":{"display_login":"noisecapella"}}