{"action":"created","comment":{"url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/comments/209631375","pull_request_review_id":145680635,"id":209631375,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTYzMTM3NQ==","diff_hunk":"@@ -0,0 +1,30 @@\n+<div #modalRef>\n+  <app-local-alert [alerts]=\"alerts\"></app-local-alert>\n+  <div class=\"modal-header\">\n+    <h4 class=\"modal-title pull-left\">Add a new course</h4>\n+    <button type=\"button\"\n+            class=\"close pull-right\"\n+            aria-label=\"Close\"\n+            (click)=\"closeModal()\">\n+      <span aria-hidden=\"true\">&times;</span>\n+    </button>\n+  </div>\n+  <div class=\"modal-body\">\n+    <form [formGroup]=\"courseForm\" class=\"form-group\" (ngSubmit)=\"onSubmit()\">\n+      <div class=\"form-group\">\n+        <label for=\"name\" class=\"form-check-label\">Course name</label>\n+        <input formControlName=\"name\"\n+               type=\"text\"\n+               class=\"form-control\"\n+               [ngClass]=\"{ 'is-invalid': submitted && fields.name.errors }\"\n+               id=\"name\"\n+               autocomplete='on'","path":"src/app/modules/courses/components/add-course-modal/add-course-modal.component.html","position":21,"original_position":21,"commit_id":"5c13c47f6f76dc51c95be7ff3889c01c9329e36f","original_commit_id":"5c13c47f6f76dc51c95be7ff3889c01c9329e36f","user":{"login":"crischiucucu","id":31761956,"node_id":"MDQ6VXNlcjMxNzYxOTU2","avatar_url":"https://avatars1.githubusercontent.com/u/31761956?v=4","gravatar_id":"","url":"https://api.github.com/users/crischiucucu","html_url":"https://github.com/crischiucucu","followers_url":"https://api.github.com/users/crischiucucu/followers","following_url":"https://api.github.com/users/crischiucucu/following{/other_user}","gists_url":"https://api.github.com/users/crischiucucu/gists{/gist_id}","starred_url":"https://api.github.com/users/crischiucucu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crischiucucu/subscriptions","organizations_url":"https://api.github.com/users/crischiucucu/orgs","repos_url":"https://api.github.com/users/crischiucucu/repos","events_url":"https://api.github.com/users/crischiucucu/events{/privacy}","received_events_url":"https://api.github.com/users/crischiucucu/received_events","type":"User","site_admin":false},"body":"remove autocomple attr it's on by default","created_at":"2018-08-13T14:32:01Z","updated_at":"2018-08-13T14:39:43Z","html_url":"https://github.com/summer-troopers/better-moodle-ui/pull/40#discussion_r209631375","pull_request_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/comments/209631375"},"html":{"href":"https://github.com/summer-troopers/better-moodle-ui/pull/40#discussion_r209631375"},"pull_request":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40","id":207345105,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MzQ1MTA1","html_url":"https://github.com/summer-troopers/better-moodle-ui/pull/40","diff_url":"https://github.com/summer-troopers/better-moodle-ui/pull/40.diff","patch_url":"https://github.com/summer-troopers/better-moodle-ui/pull/40.patch","issue_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/40","number":40,"state":"open","locked":false,"title":"Courses module","user":{"login":"vtamazlicari","id":40422181,"node_id":"MDQ6VXNlcjQwNDIyMTgx","avatar_url":"https://avatars3.githubusercontent.com/u/40422181?v=4","gravatar_id":"","url":"https://api.github.com/users/vtamazlicari","html_url":"https://github.com/vtamazlicari","followers_url":"https://api.github.com/users/vtamazlicari/followers","following_url":"https://api.github.com/users/vtamazlicari/following{/other_user}","gists_url":"https://api.github.com/users/vtamazlicari/gists{/gist_id}","starred_url":"https://api.github.com/users/vtamazlicari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtamazlicari/subscriptions","organizations_url":"https://api.github.com/users/vtamazlicari/orgs","repos_url":"https://api.github.com/users/vtamazlicari/repos","events_url":"https://api.github.com/users/vtamazlicari/events{/privacy}","received_events_url":"https://api.github.com/users/vtamazlicari/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-09T14:54:52Z","updated_at":"2018-08-13T14:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fcca0ee421de9f25eee31706668dce7db838f35","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40/commits","review_comments_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40/comments","review_comment_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/40/comments","statuses_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/statuses/5c13c47f6f76dc51c95be7ff3889c01c9329e36f","head":{"label":"summer-troopers:courses-module","ref":"courses-module","sha":"5c13c47f6f76dc51c95be7ff3889c01c9329e36f","user":{"login":"summer-troopers","id":41292174,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMjkyMTc0","avatar_url":"https://avatars0.githubusercontent.com/u/41292174?v=4","gravatar_id":"","url":"https://api.github.com/users/summer-troopers","html_url":"https://github.com/summer-troopers","followers_url":"https://api.github.com/users/summer-troopers/followers","following_url":"https://api.github.com/users/summer-troopers/following{/other_user}","gists_url":"https://api.github.com/users/summer-troopers/gists{/gist_id}","starred_url":"https://api.github.com/users/summer-troopers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summer-troopers/subscriptions","organizations_url":"https://api.github.com/users/summer-troopers/orgs","repos_url":"https://api.github.com/users/summer-troopers/repos","events_url":"https://api.github.com/users/summer-troopers/events{/privacy}","received_events_url":"https://api.github.com/users/summer-troopers/received_events","type":"Organization","site_admin":false},"repo":{"id":141132835,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExMzI4MzU=","name":"better-moodle-ui","full_name":"summer-troopers/better-moodle-ui","owner":{"login":"summer-troopers","id":41292174,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMjkyMTc0","avatar_url":"https://avatars0.githubusercontent.com/u/41292174?v=4","gravatar_id":"","url":"https://api.github.com/users/summer-troopers","html_url":"https://github.com/summer-troopers","followers_url":"https://api.github.com/users/summer-troopers/followers","following_url":"https://api.github.com/users/summer-troopers/following{/other_user}","gists_url":"https://api.github.com/users/summer-troopers/gists{/gist_id}","starred_url":"https://api.github.com/users/summer-troopers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summer-troopers/subscriptions","organizations_url":"https://api.github.com/users/summer-troopers/orgs","repos_url":"https://api.github.com/users/summer-troopers/repos","events_url":"https://api.github.com/users/summer-troopers/events{/privacy}","received_events_url":"https://api.github.com/users/summer-troopers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/summer-troopers/better-moodle-ui","description":null,"fork":false,"url":"https://api.github.com/repos/summer-troopers/better-moodle-ui","forks_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/forks","keys_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/teams","hooks_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/hooks","issue_events_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/events{/number}","events_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/events","assignees_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/assignees{/user}","branches_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/branches{/branch}","tags_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/tags","blobs_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/languages","stargazers_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/stargazers","contributors_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/contributors","subscribers_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/subscribers","subscription_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/subscription","commits_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/contents/{+path}","compare_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/merges","archive_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/downloads","issues_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues{/number}","pulls_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/labels{/name}","releases_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/releases{/id}","deployments_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/deployments","created_at":"2018-07-16T12:01:16Z","updated_at":"2018-08-13T07:27:53Z","pushed_at":"2018-08-13T14:37:14Z","git_url":"git://github.com/summer-troopers/better-moodle-ui.git","ssh_url":"git@github.com:summer-troopers/better-moodle-ui.git","clone_url":"https://github.com/summer-troopers/better-moodle-ui.git","svn_url":"https://github.com/summer-troopers/better-moodle-ui","homepage":null,"size":476,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"summer-troopers:master","ref":"master","sha":"f33c2e8fb99a93d20373193417f68cb3d2556c2b","user":{"login":"summer-troopers","id":41292174,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMjkyMTc0","avatar_url":"https://avatars0.githubusercontent.com/u/41292174?v=4","gravatar_id":"","url":"https://api.github.com/users/summer-troopers","html_url":"https://github.com/summer-troopers","followers_url":"https://api.github.com/users/summer-troopers/followers","following_url":"https://api.github.com/users/summer-troopers/following{/other_user}","gists_url":"https://api.github.com/users/summer-troopers/gists{/gist_id}","starred_url":"https://api.github.com/users/summer-troopers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summer-troopers/subscriptions","organizations_url":"https://api.github.com/users/summer-troopers/orgs","repos_url":"https://api.github.com/users/summer-troopers/repos","events_url":"https://api.github.com/users/summer-troopers/events{/privacy}","received_events_url":"https://api.github.com/users/summer-troopers/received_events","type":"Organization","site_admin":false},"repo":{"id":141132835,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExMzI4MzU=","name":"better-moodle-ui","full_name":"summer-troopers/better-moodle-ui","owner":{"login":"summer-troopers","id":41292174,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMjkyMTc0","avatar_url":"https://avatars0.githubusercontent.com/u/41292174?v=4","gravatar_id":"","url":"https://api.github.com/users/summer-troopers","html_url":"https://github.com/summer-troopers","followers_url":"https://api.github.com/users/summer-troopers/followers","following_url":"https://api.github.com/users/summer-troopers/following{/other_user}","gists_url":"https://api.github.com/users/summer-troopers/gists{/gist_id}","starred_url":"https://api.github.com/users/summer-troopers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summer-troopers/subscriptions","organizations_url":"https://api.github.com/users/summer-troopers/orgs","repos_url":"https://api.github.com/users/summer-troopers/repos","events_url":"https://api.github.com/users/summer-troopers/events{/privacy}","received_events_url":"https://api.github.com/users/summer-troopers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/summer-troopers/better-moodle-ui","description":null,"fork":false,"url":"https://api.github.com/repos/summer-troopers/better-moodle-ui","forks_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/forks","keys_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/teams","hooks_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/hooks","issue_events_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/events{/number}","events_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/events","assignees_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/assignees{/user}","branches_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/branches{/branch}","tags_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/tags","blobs_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/languages","stargazers_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/stargazers","contributors_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/contributors","subscribers_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/subscribers","subscription_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/subscription","commits_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/contents/{+path}","compare_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/merges","archive_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/downloads","issues_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues{/number}","pulls_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/labels{/name}","releases_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/releases{/id}","deployments_url":"https://api.github.com/repos/summer-troopers/better-moodle-ui/deployments","created_at":"2018-07-16T12:01:16Z","updated_at":"2018-08-13T07:27:53Z","pushed_at":"2018-08-13T14:37:14Z","git_url":"git://github.com/summer-troopers/better-moodle-ui.git","ssh_url":"git@github.com:summer-troopers/better-moodle-ui.git","clone_url":"https://github.com/summer-troopers/better-moodle-ui.git","svn_url":"https://github.com/summer-troopers/better-moodle-ui","homepage":null,"size":476,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40"},"html":{"href":"https://github.com/summer-troopers/better-moodle-ui/pull/40"},"issue":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/40"},"comments":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/summer-troopers/better-moodle-ui/statuses/5c13c47f6f76dc51c95be7ff3889c01c9329e36f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"crischiucucu"}}