{"action":"created","comment":{"url":"https://api.github.com/repos/appsembler/edx-theme/pulls/comments/165267698","pull_request_review_id":93175304,"id":165267698,"diff_hunk":"@@ -5,35 +5,20 @@\n <%namespace name='static' file='../static_content.html'/>\n <%block name=\"js_extra\">\n   <%static:js group='certificates_wv'/>\n+  <script type=\"text/javascript\" src=\"https://mandrillapp.com/api/docs/js/mandrill.js\"></script>\n+  <script type=\"text/javascript\" src=\"${static.url('themes/extracare-dogwood/js/email_cert.js')}\"></script>\n   <script type=\"text/javascript\">\n-      $(document).ready(function() {\n-          FaceBook.init({\"facebook_app_id\": '${facebook_app_id}'});\n-          $.ajaxSetup({\n-              headers: {\n-                  'X-CSRFToken': $.cookie('csrftoken')\n-              },\n-              dataType: 'json'\n-          });\n-          $(\".action-linkedin-profile\").click(function() {\n-              var data = {\n-                  user_id: '${accomplishment_user_id}',\n-                  course_id: $(this).data('course-id'),\n-                  enrollment_mode: $(this).data('certificate-mode'),\n-                  certificate_id: '${certificate_id_number}',\n-                  certificate_url: window.location.href,\n-                  social_network: 'LinkedIn'\n-              };\n-              Logger.log('edx.certificate.shared', data);\n-              window.open('${linked_in_url}');\n-          });\n-      });\n-\n-      function popupWindow(url, title, width, height) {\n-          // popup a window at center of the screen.\n-          var left = (screen.width/2)-(width/2);\n-          var top = (screen.height/2)-(height/2);\n-          return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width='+width+', height='+height+', top='+top+', left='+left);\n-      }\n+      var subject = decodeURIComponent(\"${email_share_subj}\");\n+      var body = decodeURIComponent(\"${email_share_body}\");\n+      var to = decodeURIComponent(\"${email_share_to}\");\n+      var params = {\n+          \"message\": {\n+              \"from_email\":\"technical+extracare@appsembler.com\",\n+              \"to\":[{\"email\":\"amir@appsembler.com\"}],","path":"templates/certificates/_accomplishment-banner.html","position":41,"original_position":41,"commit_id":"ea678d7f44aa03846e1aca7674caa93003daa998","original_commit_id":"ea678d7f44aa03846e1aca7674caa93003daa998","user":{"login":"bryanlandia","id":1289191,"avatar_url":"https://avatars1.githubusercontent.com/u/1289191?v=4","gravatar_id":"","url":"https://api.github.com/users/bryanlandia","html_url":"https://github.com/bryanlandia","followers_url":"https://api.github.com/users/bryanlandia/followers","following_url":"https://api.github.com/users/bryanlandia/following{/other_user}","gists_url":"https://api.github.com/users/bryanlandia/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanlandia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanlandia/subscriptions","organizations_url":"https://api.github.com/users/bryanlandia/orgs","repos_url":"https://api.github.com/users/bryanlandia/repos","events_url":"https://api.github.com/users/bryanlandia/events{/privacy}","received_events_url":"https://api.github.com/users/bryanlandia/received_events","type":"User","site_admin":false},"body":"test data still in here  `amir@appsembler.com`","created_at":"2018-02-01T06:13:54Z","updated_at":"2018-02-01T06:14:58Z","html_url":"https://github.com/appsembler/edx-theme/pull/76#discussion_r165267698","pull_request_url":"https://api.github.com/repos/appsembler/edx-theme/pulls/76","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/appsembler/edx-theme/pulls/comments/165267698"},"html":{"href":"https://github.com/appsembler/edx-theme/pull/76#discussion_r165267698"},"pull_request":{"href":"https://api.github.com/repos/appsembler/edx-theme/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/appsembler/edx-theme/pulls/76","id":166414943,"html_url":"https://github.com/appsembler/edx-theme/pull/76","diff_url":"https://github.com/appsembler/edx-theme/pull/76.diff","patch_url":"https://github.com/appsembler/edx-theme/pull/76.patch","issue_url":"https://api.github.com/repos/appsembler/edx-theme/issues/76","number":76,"state":"open","locked":false,"title":"Appsembler/extracare dogwood amir email certificate","user":{"login":"amirtds","id":5863396,"avatar_url":"https://avatars1.githubusercontent.com/u/5863396?v=4","gravatar_id":"","url":"https://api.github.com/users/amirtds","html_url":"https://github.com/amirtds","followers_url":"https://api.github.com/users/amirtds/followers","following_url":"https://api.github.com/users/amirtds/following{/other_user}","gists_url":"https://api.github.com/users/amirtds/gists{/gist_id}","starred_url":"https://api.github.com/users/amirtds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirtds/subscriptions","organizations_url":"https://api.github.com/users/amirtds/orgs","repos_url":"https://api.github.com/users/amirtds/repos","events_url":"https://api.github.com/users/amirtds/events{/privacy}","received_events_url":"https://api.github.com/users/amirtds/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-01T00:35:31Z","updated_at":"2018-02-01T06:14:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54c7ff82d7b513beebae03fc28d3db29c059730f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/appsembler/edx-theme/pulls/76/commits","review_comments_url":"https://api.github.com/repos/appsembler/edx-theme/pulls/76/comments","review_comment_url":"https://api.github.com/repos/appsembler/edx-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appsembler/edx-theme/issues/76/comments","statuses_url":"https://api.github.com/repos/appsembler/edx-theme/statuses/ea678d7f44aa03846e1aca7674caa93003daa998","head":{"label":"appsembler:appsembler/extracare-dogwood-amir-email-certificate","ref":"appsembler/extracare-dogwood-amir-email-certificate","sha":"ea678d7f44aa03846e1aca7674caa93003daa998","user":{"login":"appsembler","id":1369373,"avatar_url":"https://avatars0.githubusercontent.com/u/1369373?v=4","gravatar_id":"","url":"https://api.github.com/users/appsembler","html_url":"https://github.com/appsembler","followers_url":"https://api.github.com/users/appsembler/followers","following_url":"https://api.github.com/users/appsembler/following{/other_user}","gists_url":"https://api.github.com/users/appsembler/gists{/gist_id}","starred_url":"https://api.github.com/users/appsembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsembler/subscriptions","organizations_url":"https://api.github.com/users/appsembler/orgs","repos_url":"https://api.github.com/users/appsembler/repos","events_url":"https://api.github.com/users/appsembler/events{/privacy}","received_events_url":"https://api.github.com/users/appsembler/received_events","type":"Organization","site_admin":false},"repo":{"id":23258355,"name":"edx-theme","full_name":"appsembler/edx-theme","owner":{"login":"appsembler","id":1369373,"avatar_url":"https://avatars0.githubusercontent.com/u/1369373?v=4","gravatar_id":"","url":"https://api.github.com/users/appsembler","html_url":"https://github.com/appsembler","followers_url":"https://api.github.com/users/appsembler/followers","following_url":"https://api.github.com/users/appsembler/following{/other_user}","gists_url":"https://api.github.com/users/appsembler/gists{/gist_id}","starred_url":"https://api.github.com/users/appsembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsembler/subscriptions","organizations_url":"https://api.github.com/users/appsembler/orgs","repos_url":"https://api.github.com/users/appsembler/repos","events_url":"https://api.github.com/users/appsembler/events{/privacy}","received_events_url":"https://api.github.com/users/appsembler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appsembler/edx-theme","description":null,"fork":true,"url":"https://api.github.com/repos/appsembler/edx-theme","forks_url":"https://api.github.com/repos/appsembler/edx-theme/forks","keys_url":"https://api.github.com/repos/appsembler/edx-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appsembler/edx-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appsembler/edx-theme/teams","hooks_url":"https://api.github.com/repos/appsembler/edx-theme/hooks","issue_events_url":"https://api.github.com/repos/appsembler/edx-theme/issues/events{/number}","events_url":"https://api.github.com/repos/appsembler/edx-theme/events","assignees_url":"https://api.github.com/repos/appsembler/edx-theme/assignees{/user}","branches_url":"https://api.github.com/repos/appsembler/edx-theme/branches{/branch}","tags_url":"https://api.github.com/repos/appsembler/edx-theme/tags","blobs_url":"https://api.github.com/repos/appsembler/edx-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appsembler/edx-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appsembler/edx-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/appsembler/edx-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appsembler/edx-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/appsembler/edx-theme/languages","stargazers_url":"https://api.github.com/repos/appsembler/edx-theme/stargazers","contributors_url":"https://api.github.com/repos/appsembler/edx-theme/contributors","subscribers_url":"https://api.github.com/repos/appsembler/edx-theme/subscribers","subscription_url":"https://api.github.com/repos/appsembler/edx-theme/subscription","commits_url":"https://api.github.com/repos/appsembler/edx-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/appsembler/edx-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/appsembler/edx-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/appsembler/edx-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/appsembler/edx-theme/contents/{+path}","compare_url":"https://api.github.com/repos/appsembler/edx-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appsembler/edx-theme/merges","archive_url":"https://api.github.com/repos/appsembler/edx-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appsembler/edx-theme/downloads","issues_url":"https://api.github.com/repos/appsembler/edx-theme/issues{/number}","pulls_url":"https://api.github.com/repos/appsembler/edx-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/appsembler/edx-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/appsembler/edx-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appsembler/edx-theme/labels{/name}","releases_url":"https://api.github.com/repos/appsembler/edx-theme/releases{/id}","deployments_url":"https://api.github.com/repos/appsembler/edx-theme/deployments","created_at":"2014-08-23T14:50:25Z","updated_at":"2017-07-21T19:39:40Z","pushed_at":"2018-02-01T00:35:32Z","git_url":"git://github.com/appsembler/edx-theme.git","ssh_url":"git@github.com:appsembler/edx-theme.git","clone_url":"https://github.com/appsembler/edx-theme.git","svn_url":"https://github.com/appsembler/edx-theme","homepage":null,"size":106080,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"appsembler:appsembler/extracare-dogwood","ref":"appsembler/extracare-dogwood","sha":"5c3f2b2730c130d9c41c6d3f5b30b8b2bc526c21","user":{"login":"appsembler","id":1369373,"avatar_url":"https://avatars0.githubusercontent.com/u/1369373?v=4","gravatar_id":"","url":"https://api.github.com/users/appsembler","html_url":"https://github.com/appsembler","followers_url":"https://api.github.com/users/appsembler/followers","following_url":"https://api.github.com/users/appsembler/following{/other_user}","gists_url":"https://api.github.com/users/appsembler/gists{/gist_id}","starred_url":"https://api.github.com/users/appsembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsembler/subscriptions","organizations_url":"https://api.github.com/users/appsembler/orgs","repos_url":"https://api.github.com/users/appsembler/repos","events_url":"https://api.github.com/users/appsembler/events{/privacy}","received_events_url":"https://api.github.com/users/appsembler/received_events","type":"Organization","site_admin":false},"repo":{"id":23258355,"name":"edx-theme","full_name":"appsembler/edx-theme","owner":{"login":"appsembler","id":1369373,"avatar_url":"https://avatars0.githubusercontent.com/u/1369373?v=4","gravatar_id":"","url":"https://api.github.com/users/appsembler","html_url":"https://github.com/appsembler","followers_url":"https://api.github.com/users/appsembler/followers","following_url":"https://api.github.com/users/appsembler/following{/other_user}","gists_url":"https://api.github.com/users/appsembler/gists{/gist_id}","starred_url":"https://api.github.com/users/appsembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsembler/subscriptions","organizations_url":"https://api.github.com/users/appsembler/orgs","repos_url":"https://api.github.com/users/appsembler/repos","events_url":"https://api.github.com/users/appsembler/events{/privacy}","received_events_url":"https://api.github.com/users/appsembler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appsembler/edx-theme","description":null,"fork":true,"url":"https://api.github.com/repos/appsembler/edx-theme","forks_url":"https://api.github.com/repos/appsembler/edx-theme/forks","keys_url":"https://api.github.com/repos/appsembler/edx-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appsembler/edx-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appsembler/edx-theme/teams","hooks_url":"https://api.github.com/repos/appsembler/edx-theme/hooks","issue_events_url":"https://api.github.com/repos/appsembler/edx-theme/issues/events{/number}","events_url":"https://api.github.com/repos/appsembler/edx-theme/events","assignees_url":"https://api.github.com/repos/appsembler/edx-theme/assignees{/user}","branches_url":"https://api.github.com/repos/appsembler/edx-theme/branches{/branch}","tags_url":"https://api.github.com/repos/appsembler/edx-theme/tags","blobs_url":"https://api.github.com/repos/appsembler/edx-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appsembler/edx-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appsembler/edx-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/appsembler/edx-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appsembler/edx-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/appsembler/edx-theme/languages","stargazers_url":"https://api.github.com/repos/appsembler/edx-theme/stargazers","contributors_url":"https://api.github.com/repos/appsembler/edx-theme/contributors","subscribers_url":"https://api.github.com/repos/appsembler/edx-theme/subscribers","subscription_url":"https://api.github.com/repos/appsembler/edx-theme/subscription","commits_url":"https://api.github.com/repos/appsembler/edx-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/appsembler/edx-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/appsembler/edx-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/appsembler/edx-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/appsembler/edx-theme/contents/{+path}","compare_url":"https://api.github.com/repos/appsembler/edx-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appsembler/edx-theme/merges","archive_url":"https://api.github.com/repos/appsembler/edx-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appsembler/edx-theme/downloads","issues_url":"https://api.github.com/repos/appsembler/edx-theme/issues{/number}","pulls_url":"https://api.github.com/repos/appsembler/edx-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/appsembler/edx-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/appsembler/edx-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appsembler/edx-theme/labels{/name}","releases_url":"https://api.github.com/repos/appsembler/edx-theme/releases{/id}","deployments_url":"https://api.github.com/repos/appsembler/edx-theme/deployments","created_at":"2014-08-23T14:50:25Z","updated_at":"2017-07-21T19:39:40Z","pushed_at":"2018-02-01T00:35:32Z","git_url":"git://github.com/appsembler/edx-theme.git","ssh_url":"git@github.com:appsembler/edx-theme.git","clone_url":"https://github.com/appsembler/edx-theme.git","svn_url":"https://github.com/appsembler/edx-theme","homepage":null,"size":106080,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appsembler/edx-theme/pulls/76"},"html":{"href":"https://github.com/appsembler/edx-theme/pull/76"},"issue":{"href":"https://api.github.com/repos/appsembler/edx-theme/issues/76"},"comments":{"href":"https://api.github.com/repos/appsembler/edx-theme/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/appsembler/edx-theme/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/appsembler/edx-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appsembler/edx-theme/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/appsembler/edx-theme/statuses/ea678d7f44aa03846e1aca7674caa93003daa998"}},"author_association":"NONE"}}
{"actor":{"display_login":"bryanlandia"}}