{"action":"created","comment":{"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/55593433","id":55593433,"diff_hunk":"@@ -0,0 +1,185 @@\n+<div class=\"cc-page-widget-profile-section-content-item-editing\">\n+  <div class=\"cc-page-widget-profile-section-content-error cc-text-red\" data-ng-if=\"errorMessage\">\n+    <i class=\"cc-icon-red fa fa-exclamation-circle\"></i>\n+    <span data-ng-bind=\"errorMessage\"></span>\n+  </div>\n+  <div data-ng-if=\"!isDeleting\">\n+    <form data-ng-submit=\"save(currentObject.data)\" name=\"cc_page_widget_profile_work_experience\">\n+\n+      <div>\n+        <label for=\"cc-page-widget-profile-work-experience-employment-descr\">\n+            <strong>Employer</strong> <span class=\"cc-text-light\">(Required)</span>\n+        </label>\n+        <input type=\"text\" data-ng-model=\"currentObject.data.employmentDescr\" id=\"cc-page-widget-profile-work-experience-employment-descr\" required aria-required=\"true\" />\n+      </div>\n+\n+    <br/>\n+\n+      <div>\n+        <div>\n+          <label for=\"cc-page-widget-profile-work-experience-country\">\n+            <strong>Country</strong> <span class=\"cc-text-light\">(Required)</span>\n+          </label>\n+        </div>\n+        <div class=\"cc-select\">\n+          <select data-ng-options=\"country.country as country.descr for country in countries\" data-ng-model=\"currentObject.data.country\" id=\"cc-page-widget-profile-work-experience-country\" required aria-required=\"true\" />\n+        </div>\n+      </div>\n+\n+      <div data-cc-spinner-directive=\"currentObject.stateFieldLoading\">\n+        <div data-ng-repeat=\"field in currentObject.fields\">\n+          <div data-ng-if=\"field.field !== 'state'\">\n+            <label data-ng-attr-for=\"cc-page-widget-profile-field-{{$index}}\">\n+              <strong><span data-ng-bind=\"field.label\"></span></strong>\n+            </label>\n+            <input type=\"text\" data-ng-attr-id=\"cc-page-widget-profile-field-{{$index}}\" data-ng-model=\"currentObject.data[field.field]\" data-ng-attr-maxlength=\"{{field.length}}\" />\n+          </div>\n+          <div data-ng-if=\"field.field === 'state' && states.length\">\n+            <label data-ng-attr-for=\"cc-page-widget-profile-field-{{$index}}\">\n+              <strong><span data-ng-bind=\"field.label\"></span></strong>\n+            </label>\n+            <div class=\"cc-select\">\n+              <select data-ng-options=\"state.state as state.descr for state in states\" data-ng-attr-id=\"cc-page-widget-profile-field-{{$index}}\" data-ng-attr-id=\"cc-page-widget-profile-field-{{$index}}\" data-ng-model=\"currentObject.data[field.field]\">\n+                <option value=\"\" data-ng-bind-template=\"-- Choose {{field.label}} --\"></option>\n+              </select>\n+            </div>\n+          </div>\n+        </div>\n+      </div>\n+\n+    <br/>\n+\n+      <div>\n+        <label for=\"cc-page-widget-profile-work-experience-phone-number\">\n+          <strong>Phone Number</strong>\n+        </label>\n+      </div>\n+      <div>\n+        <input type=\"text\" id=\"cc-page-widget-profile-work-experience-phone-number\" data-ng-model=\"currentObject.data.phone\" maxlength=\"24\" />\n+      </div>\n+\n+    <br/>\n+\n+      <div>\n+        <label for=\"cc-page-widget-profile-work-experience-start-date\">\n+          <strong>Start Date</strong>\n+        </label>\n+      </div>\n+      <div class=\"row collapse\">\n+        <div class=\"medium-10 small-10 columns cc-widget-tasks-date-input\">\n+          <input type=\"text\"\n+            data-ng-model=\"currentObject.data.startDt\"\n+            name=\"cc_page_widget_profile_work_experience_start_date\"\n+            id=\"cc-page-widget-profile-work-experience-start-date\"\n+            placeholder=\"mm/dd/yyyy\"\n+            data-cc-date-validator-directive />\n+          <p class=\"cc-alert cc-alert-text\" role=\"alert\" data-ng-show=\"cc_page_widget_profile_work_experience.cc_page_widget_profile_work_experience_start_date.$error.ccDateValidator\">\n+            Please use mm/dd/yyyy date format\n+          </p>\n+        </div>\n+        <div class=\"medium-2 small-2 columns\">\n+          <button class=\"cc-button-transparent cc-page-widget-profile-section-calendar-icon\" data-ng-click=\"api.util.preventBubble($event)\" tabindex=\"-1\" data-cc-datepicker-directive=\"cc-page-widget-profile-work-experience-start-date\">\n+            <i class=\"fa fa-calendar\"></i>\n+          </button>\n+        </div>\n+      </div>\n+\n+      <div>\n+        <label for=\"cc-page-widget-profile-work-experience-end-date\">\n+          <strong>End Date</strong>\n+        </label>\n+      </div>\n+      <div class=\"row collapse\">","path":"src/assets/templates/widgets/profile/work_experience_editor.html","position":92,"original_position":92,"commit_id":"05f76f4f8a570621698522997bbf8afa36f9e42b","original_commit_id":"05f76f4f8a570621698522997bbf8afa36f9e42b","user":{"login":"davidlimcheng","id":12127480,"avatar_url":"https://avatars.githubusercontent.com/u/12127480?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlimcheng","html_url":"https://github.com/davidlimcheng","followers_url":"https://api.github.com/users/davidlimcheng/followers","following_url":"https://api.github.com/users/davidlimcheng/following{/other_user}","gists_url":"https://api.github.com/users/davidlimcheng/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlimcheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlimcheng/subscriptions","organizations_url":"https://api.github.com/users/davidlimcheng/orgs","repos_url":"https://api.github.com/users/davidlimcheng/repos","events_url":"https://api.github.com/users/davidlimcheng/events{/privacy}","received_events_url":"https://api.github.com/users/davidlimcheng/received_events","type":"User","site_admin":false},"body":"@christianvuerings Sure thing, I'll look into this.","created_at":"2016-03-09T21:33:29Z","updated_at":"2016-03-09T21:33:29Z","html_url":"https://github.com/ets-berkeley-edu/calcentral/pull/5040#discussion_r55593433","pull_request_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040","_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/comments/55593433"},"html":{"href":"https://github.com/ets-berkeley-edu/calcentral/pull/5040#discussion_r55593433"},"pull_request":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040"}}},"pull_request":{"url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040","id":62166707,"html_url":"https://github.com/ets-berkeley-edu/calcentral/pull/5040","diff_url":"https://github.com/ets-berkeley-edu/calcentral/pull/5040.diff","patch_url":"https://github.com/ets-berkeley-edu/calcentral/pull/5040.patch","issue_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/5040","number":5040,"state":"open","locked":false,"title":"SISRP-10786 - Front End Dev: Credentials Tab - Work Experience Card - Edit","user":{"login":"davidlimcheng","id":12127480,"avatar_url":"https://avatars.githubusercontent.com/u/12127480?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlimcheng","html_url":"https://github.com/davidlimcheng","followers_url":"https://api.github.com/users/davidlimcheng/followers","following_url":"https://api.github.com/users/davidlimcheng/following{/other_user}","gists_url":"https://api.github.com/users/davidlimcheng/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlimcheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlimcheng/subscriptions","organizations_url":"https://api.github.com/users/davidlimcheng/orgs","repos_url":"https://api.github.com/users/davidlimcheng/repos","events_url":"https://api.github.com/users/davidlimcheng/events{/privacy}","received_events_url":"https://api.github.com/users/davidlimcheng/received_events","type":"User","site_admin":false},"body":"https://jira.berkeley.edu/browse/SISRP-10786\r\n\r\nAlso includes Delete functionality.  Apologies for the size!\r\nTravis, please be kind.","created_at":"2016-03-09T01:32:23Z","updated_at":"2016-03-09T21:33:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7141c54f38a12760a12f25515f764594cece4ba4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040/commits","review_comments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040/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/5040/comments","statuses_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/05f76f4f8a570621698522997bbf8afa36f9e42b","head":{"label":"davidlimcheng:SISRP-10786","ref":"SISRP-10786","sha":"05f76f4f8a570621698522997bbf8afa36f9e42b","user":{"login":"davidlimcheng","id":12127480,"avatar_url":"https://avatars.githubusercontent.com/u/12127480?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlimcheng","html_url":"https://github.com/davidlimcheng","followers_url":"https://api.github.com/users/davidlimcheng/followers","following_url":"https://api.github.com/users/davidlimcheng/following{/other_user}","gists_url":"https://api.github.com/users/davidlimcheng/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlimcheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlimcheng/subscriptions","organizations_url":"https://api.github.com/users/davidlimcheng/orgs","repos_url":"https://api.github.com/users/davidlimcheng/repos","events_url":"https://api.github.com/users/davidlimcheng/events{/privacy}","received_events_url":"https://api.github.com/users/davidlimcheng/received_events","type":"User","site_admin":false},"repo":{"id":34630716,"name":"calcentral","full_name":"davidlimcheng/calcentral","owner":{"login":"davidlimcheng","id":12127480,"avatar_url":"https://avatars.githubusercontent.com/u/12127480?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlimcheng","html_url":"https://github.com/davidlimcheng","followers_url":"https://api.github.com/users/davidlimcheng/followers","following_url":"https://api.github.com/users/davidlimcheng/following{/other_user}","gists_url":"https://api.github.com/users/davidlimcheng/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlimcheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlimcheng/subscriptions","organizations_url":"https://api.github.com/users/davidlimcheng/orgs","repos_url":"https://api.github.com/users/davidlimcheng/repos","events_url":"https://api.github.com/users/davidlimcheng/events{/privacy}","received_events_url":"https://api.github.com/users/davidlimcheng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidlimcheng/calcentral","description":"","fork":true,"url":"https://api.github.com/repos/davidlimcheng/calcentral","forks_url":"https://api.github.com/repos/davidlimcheng/calcentral/forks","keys_url":"https://api.github.com/repos/davidlimcheng/calcentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidlimcheng/calcentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidlimcheng/calcentral/teams","hooks_url":"https://api.github.com/repos/davidlimcheng/calcentral/hooks","issue_events_url":"https://api.github.com/repos/davidlimcheng/calcentral/issues/events{/number}","events_url":"https://api.github.com/repos/davidlimcheng/calcentral/events","assignees_url":"https://api.github.com/repos/davidlimcheng/calcentral/assignees{/user}","branches_url":"https://api.github.com/repos/davidlimcheng/calcentral/branches{/branch}","tags_url":"https://api.github.com/repos/davidlimcheng/calcentral/tags","blobs_url":"https://api.github.com/repos/davidlimcheng/calcentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidlimcheng/calcentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidlimcheng/calcentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidlimcheng/calcentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidlimcheng/calcentral/statuses/{sha}","languages_url":"https://api.github.com/repos/davidlimcheng/calcentral/languages","stargazers_url":"https://api.github.com/repos/davidlimcheng/calcentral/stargazers","contributors_url":"https://api.github.com/repos/davidlimcheng/calcentral/contributors","subscribers_url":"https://api.github.com/repos/davidlimcheng/calcentral/subscribers","subscription_url":"https://api.github.com/repos/davidlimcheng/calcentral/subscription","commits_url":"https://api.github.com/repos/davidlimcheng/calcentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidlimcheng/calcentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidlimcheng/calcentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidlimcheng/calcentral/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidlimcheng/calcentral/contents/{+path}","compare_url":"https://api.github.com/repos/davidlimcheng/calcentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidlimcheng/calcentral/merges","archive_url":"https://api.github.com/repos/davidlimcheng/calcentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidlimcheng/calcentral/downloads","issues_url":"https://api.github.com/repos/davidlimcheng/calcentral/issues{/number}","pulls_url":"https://api.github.com/repos/davidlimcheng/calcentral/pulls{/number}","milestones_url":"https://api.github.com/repos/davidlimcheng/calcentral/milestones{/number}","notifications_url":"https://api.github.com/repos/davidlimcheng/calcentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidlimcheng/calcentral/labels{/name}","releases_url":"https://api.github.com/repos/davidlimcheng/calcentral/releases{/id}","deployments_url":"https://api.github.com/repos/davidlimcheng/calcentral/deployments","created_at":"2015-04-26T20:47:36Z","updated_at":"2015-04-26T20:47:39Z","pushed_at":"2016-03-09T01:30:02Z","git_url":"git://github.com/davidlimcheng/calcentral.git","ssh_url":"git@github.com:davidlimcheng/calcentral.git","clone_url":"https://github.com/davidlimcheng/calcentral.git","svn_url":"https://github.com/davidlimcheng/calcentral","homepage":"https://calcentral.berkeley.edu","size":23158,"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":"75ee711722f5a5f1c181ca5d6afbcc931e63149f","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}","deployments_url":"https://api.github.com/repos/ets-berkeley-edu/calcentral/deployments","created_at":"2012-08-20T16:45:39Z","updated_at":"2016-01-20T21:04:36Z","pushed_at":"2016-03-09T20:54:50Z","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":26834,"stargazers_count":55,"watchers_count":55,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":2,"forks":59,"open_issues":2,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040"},"html":{"href":"https://github.com/ets-berkeley-edu/calcentral/pull/5040"},"issue":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/5040"},"comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/issues/5040/comments"},"review_comments":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/pulls/5040/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/5040/commits"},"statuses":{"href":"https://api.github.com/repos/ets-berkeley-edu/calcentral/statuses/05f76f4f8a570621698522997bbf8afa36f9e42b"}}}}