{"action":"created","comment":{"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/24192302","id":24192302,"diff_hunk":"@@ -0,0 +1,83 @@\n+<div data-ng-controller=\"CanvasSiteCreationController\" class=\"cc-page-site-creation\">\n+\n+  <div data-ng-hide=\"feedRequestCompleted\" data-cc-spinner-directive></div>\n+\n+  <div data-ng-if=\"feedRequestCompleted && authorizationError\" class=\"cc-page-site-creation-authorization-error\">\n+    <div data-ng-if=\"authorizationError === 'failure'\">\n+      <h2 class=\"cc-page-site-creation-header cc-page-site-creation-header3\">\n+        <i class=\"fa fa-warning\"></i>\n+        Error: There was an issue authorizing your access to this tool.\n+      </h2>\n+      <p>Please contact <a href=\"http://ets.berkeley.edu/bcourses/support\" target=\"_blank\">bCourses support</a> for further assistance.</p>\n+    </div>\n+\n+    <div data-ng-if=\"authorizationError === 'unauthorized'\">\n+      <h2 class=\"cc-page-site-creation-header cc-page-site-creation-header3\">\n+        <i class=\"fa fa-warning\"></i>\n+        Access Denied\n+      </h2>\n+      <p>Only staff and faculty members are authorized to use this tool.</p>\n+    </div>\n+  </div>\n+\n+  <div data-ng-if=\"feedRequestCompleted && authorized\" class=\"cc-page-site-creation-container\">\n+\n+    <h2 class=\"cc-page-site-creation-header cc-page-site-creation-header2\">Create a Site</h2>\n+\n+    <div class=\"row\">\n+      <div class=\"large-12\">\n+\n+        <div class=\"small-12 medium-3 columns\">\n+          <div class=\"cc-page-site-creation-feature-icon-container\">\n+            <div class=\"cc-page-site-creation-feature-icon-box\">\n+              <i class=\"fa fa-graduation-cap cc-page-site-creation-feature-icon\" data-ng-class=\"{'cc-page-site-creation-feature-icon-disabled':(!authorizations.canCreateCourseSite)}\"></i>\n+            </div>\n+          </div>\n+        </div>\n+\n+        <div class=\"small-12 medium-5 columns end\">\n+          <div class=\"cc-page-site-creation-feature-details\">\n+            <h3 class=\"cc-page-site-creation-header cc-page-site-creation-header3\">Course Sites</h3>\n+            <h5 class=\"cc-page-site-creation-header cc-page-site-creation-header5\" data-ng-if=\"authorizations.canCreateCourseSite\">\n+              Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do euismod tempor incididunt ut labore et dolore manga aliqua.\n+            </h5>\n+            <h5 class=\"cc-page-site-creation-header cc-page-site-creation-header5\" data-ng-if=\"!authorizations.canCreateCourseSite\">\n+              It appears that you do not have permissions to create a Course Site in the current or upcoming terms.\n+              If you still wish to request a Course Site, please contact the\n+              <a href=\"http://ets.berkeley.edu/bcourses/support\" target=\"_blank\">bCourses Helpdesk</a>.\n+            </h5>\n+            <button data-ng-disabled=\"!authorizations.canCreateCourseSite\" class=\"bc-canvas-button bc-canvas-button-primary cc-page-site-creation-feature-button-margin\" data-ng-click=\"linkToCreateCourseSite()\">Create a Course Site</button>","path":"src/assets/templates/canvas_embedded/site_creation.html","position":null,"original_position":49,"commit_id":"08d321800db935ec9658041e0ffe1db8f3b5bc7b","original_commit_id":"7be66b4fb0487a4defcaefce9d92a00cee621fc9","user":{"login":"raydavis","id":98528,"avatar_url":"https://avatars.githubusercontent.com/u/98528?v=3","gravatar_id":"","url":"https://api.github.com/users/raydavis","html_url":"https://github.com/raydavis","followers_url":"https://api.github.com/users/raydavis/followers","following_url":"https://api.github.com/users/raydavis/following{/other_user}","gists_url":"https://api.github.com/users/raydavis/gists{/gist_id}","starred_url":"https://api.github.com/users/raydavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raydavis/subscriptions","organizations_url":"https://api.github.com/users/raydavis/orgs","repos_url":"https://api.github.com/users/raydavis/repos","events_url":"https://api.github.com/users/raydavis/events{/privacy}","received_events_url":"https://api.github.com/users/raydavis/received_events","type":"User","site_admin":false},"body":"@christianv , as a general principle I'm not crazy about delaying one developer's scheduled work for the sake of non-urgent unscheduled work.\r\n\r\n@redconfetti , OK with you if we look at the proposed new change before merging your PR?","created_at":"2015-02-05T19:40:43Z","updated_at":"2015-02-05T19:40:43Z","html_url":"https://github.com/ets-berkeley-edu/calcentral/pull/3335#discussion_r24192302","pull_request_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335","_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/24192302"},"html":{"href":"https://github.com/ets-berkeley-edu/calcentral/pull/3335#discussion_r24192302"},"pull_request":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335"}}},"pull_request":{"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335","id":28688914,"html_url":"https://github.com/ets-berkeley-edu/calcentral/pull/3335","diff_url":"https://github.com/ets-berkeley-edu/calcentral/pull/3335.diff","patch_url":"https://github.com/ets-berkeley-edu/calcentral/pull/3335.patch","issue_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/3335","number":3335,"state":"open","locked":false,"title":"CLC-4778 - Site Provisioning: Implement 'Create a Site' overview page","user":{"login":"redconfetti","id":746759,"avatar_url":"https://avatars.githubusercontent.com/u/746759?v=3","gravatar_id":"","url":"https://api.github.com/users/redconfetti","html_url":"https://github.com/redconfetti","followers_url":"https://api.github.com/users/redconfetti/followers","following_url":"https://api.github.com/users/redconfetti/following{/other_user}","gists_url":"https://api.github.com/users/redconfetti/gists{/gist_id}","starred_url":"https://api.github.com/users/redconfetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redconfetti/subscriptions","organizations_url":"https://api.github.com/users/redconfetti/orgs","repos_url":"https://api.github.com/users/redconfetti/repos","events_url":"https://api.github.com/users/redconfetti/events{/privacy}","received_events_url":"https://api.github.com/users/redconfetti/received_events","type":"User","site_admin":false},"body":"https://jira.ets.berkeley.edu/jira/browse/CLC-4778","created_at":"2015-02-05T00:24:52Z","updated_at":"2015-02-05T19:40:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dac3ab62af72c38367e7a870548e933029a6f57d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335/commits","review_comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335/comments","review_comment_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/3335/comments","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/08d321800db935ec9658041e0ffe1db8f3b5bc7b","head":{"label":"redconfetti:CLC-4778-create-site-overview","ref":"CLC-4778-create-site-overview","sha":"08d321800db935ec9658041e0ffe1db8f3b5bc7b","user":{"login":"redconfetti","id":746759,"avatar_url":"https://avatars.githubusercontent.com/u/746759?v=3","gravatar_id":"","url":"https://api.github.com/users/redconfetti","html_url":"https://github.com/redconfetti","followers_url":"https://api.github.com/users/redconfetti/followers","following_url":"https://api.github.com/users/redconfetti/following{/other_user}","gists_url":"https://api.github.com/users/redconfetti/gists{/gist_id}","starred_url":"https://api.github.com/users/redconfetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redconfetti/subscriptions","organizations_url":"https://api.github.com/users/redconfetti/orgs","repos_url":"https://api.github.com/users/redconfetti/repos","events_url":"https://api.github.com/users/redconfetti/events{/privacy}","received_events_url":"https://api.github.com/users/redconfetti/received_events","type":"User","site_admin":false},"repo":{"id":13281926,"name":"calcentral","full_name":"redconfetti/calcentral","owner":{"login":"redconfetti","id":746759,"avatar_url":"https://avatars.githubusercontent.com/u/746759?v=3","gravatar_id":"","url":"https://api.github.com/users/redconfetti","html_url":"https://github.com/redconfetti","followers_url":"https://api.github.com/users/redconfetti/followers","following_url":"https://api.github.com/users/redconfetti/following{/other_user}","gists_url":"https://api.github.com/users/redconfetti/gists{/gist_id}","starred_url":"https://api.github.com/users/redconfetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redconfetti/subscriptions","organizations_url":"https://api.github.com/users/redconfetti/orgs","repos_url":"https://api.github.com/users/redconfetti/repos","events_url":"https://api.github.com/users/redconfetti/events{/privacy}","received_events_url":"https://api.github.com/users/redconfetti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redconfetti/calcentral","description":"","fork":true,"url":"https://api.github.com/repos/redconfetti/calcentral","forks_url":"https://api.github.com/repos/redconfetti/calcentral/forks","keys_url":"https://api.github.com/repos/redconfetti/calcentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redconfetti/calcentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redconfetti/calcentral/teams","hooks_url":"https://api.github.com/repos/redconfetti/calcentral/hooks","issue_events_url":"https://api.github.com/repos/redconfetti/calcentral/issues/events{/number}","events_url":"https://api.github.com/repos/redconfetti/calcentral/events","assignees_url":"https://api.github.com/repos/redconfetti/calcentral/assignees{/user}","branches_url":"https://api.github.com/repos/redconfetti/calcentral/branches{/branch}","tags_url":"https://api.github.com/repos/redconfetti/calcentral/tags","blobs_url":"https://api.github.com/repos/redconfetti/calcentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redconfetti/calcentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redconfetti/calcentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/redconfetti/calcentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redconfetti/calcentral/statuses/{sha}","languages_url":"https://api.github.com/repos/redconfetti/calcentral/languages","stargazers_url":"https://api.github.com/repos/redconfetti/calcentral/stargazers","contributors_url":"https://api.github.com/repos/redconfetti/calcentral/contributors","subscribers_url":"https://api.github.com/repos/redconfetti/calcentral/subscribers","subscription_url":"https://api.github.com/repos/redconfetti/calcentral/subscription","commits_url":"https://api.github.com/repos/redconfetti/calcentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/redconfetti/calcentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/redconfetti/calcentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/redconfetti/calcentral/issues/comments/{number}","contents_url":"https://api.github.com/repos/redconfetti/calcentral/contents/{+path}","compare_url":"https://api.github.com/repos/redconfetti/calcentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redconfetti/calcentral/merges","archive_url":"https://api.github.com/repos/redconfetti/calcentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redconfetti/calcentral/downloads","issues_url":"https://api.github.com/repos/redconfetti/calcentral/issues{/number}","pulls_url":"https://api.github.com/repos/redconfetti/calcentral/pulls{/number}","milestones_url":"https://api.github.com/repos/redconfetti/calcentral/milestones{/number}","notifications_url":"https://api.github.com/repos/redconfetti/calcentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redconfetti/calcentral/labels{/name}","releases_url":"https://api.github.com/repos/redconfetti/calcentral/releases{/id}","created_at":"2013-10-02T20:26:39Z","updated_at":"2015-02-03T17:35:34Z","pushed_at":"2015-02-05T19:28:18Z","git_url":"git://github.com/redconfetti/calcentral.git","ssh_url":"git@github.com:redconfetti/calcentral.git","clone_url":"https://github.com/redconfetti/calcentral.git","svn_url":"https://github.com/redconfetti/calcentral","homepage":null,"size":15581,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ets-berkeley-edu:master","ref":"master","sha":"7dfd18733f77232e37163ddf008fa71fd70aff46","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":5483921,"name":"calcentral","full_name":"ets-berkeley-edu/calcentral","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/calcentral","description":"","fork":false,"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral","forks_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/forks","keys_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/teams","hooks_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/hooks","issue_events_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/events{/number}","events_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/events","assignees_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/assignees{/user}","branches_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/branches{/branch}","tags_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/tags","blobs_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/{sha}","languages_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/languages","stargazers_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/stargazers","contributors_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/contributors","subscribers_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/subscribers","subscription_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/subscription","commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/comments/{number}","contents_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/contents/{+path}","compare_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/merges","archive_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/downloads","issues_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues{/number}","pulls_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls{/number}","milestones_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/milestones{/number}","notifications_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/labels{/name}","releases_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/releases{/id}","created_at":"2012-08-20T16:45:39Z","updated_at":"2015-02-05T18:10:24Z","pushed_at":"2015-02-05T18:10:24Z","git_url":"git://github.com/ets-berkeley-edu/calcentral.git","ssh_url":"git@github.com:ets-berkeley-edu/calcentral.git","clone_url":"https://github.com/ets-berkeley-edu/calcentral.git","svn_url":"https://github.com/ets-berkeley-edu/calcentral","homepage":"https://calcentral.berkeley.edu","size":30222,"stargazers_count":41,"watchers_count":41,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":3,"forks":42,"open_issues":3,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335"},"html":{"href":"https://github.com/ets-berkeley-edu/calcentral/pull/3335"},"issue":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/3335"},"comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/3335/comments"},"review_comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335/comments"},"review_comment":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/3335/commits"},"statuses":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/08d321800db935ec9658041e0ffe1db8f3b5bc7b"}}}}