{"action":"created","comment":{"url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/comments/67873155","id":67873155,"diff_hunk":"@@ -0,0 +1,123 @@\n+function toggleChevron(e) {\r\n+    $(e.target)\r\n+        .prev('.panel-heading')\r\n+        .find(\"i.fa\")\r\n+        .toggleClass('fa-caret-right fa-chevron-down');\r\n+}\r\n+$('.panel-body').on('hidden.bs.collapse', toggleChevron);\r\n+$('.panel-body').on('shown.bs.collapse', toggleChevron);\r\n+\r\n+$(\".gp-btn-presenca\").on(\"click\", function(event) {\r\n+\tevent.preventDefault();\r\n+\t\r\n+\tvar botaoPresenca = $(event.currentTarget); \r\n+\tvar urlPresenca = botaoPresenca.attr(\"href\");\r\n+\t\r\n+\tvar response = $.ajax({\r\n+\t    url: urlPresenca,\r\n+\t    type: 'GET'\r\n+\t});\r\n+\t\r\n+\r\n+    response.done(function(resultadoPresenca) {\r\n+    \tif(resultadoPresenca) {\r\n+    \t\tswal(\"Bom trabalho!\", \"Presença realizada!\", \"success\");\r\n+    \t}\r\n+    \telse {\r\n+        \tswal(\"Opss!\", \"Presença não permitida, fale com o supervisor(a).\", \"error\");\r\n+    \t}\r\n+\r\n+    \tbotaoPresenca.hide();\r\n+    });\r\n+    \r\n+    response.fail(function(e) {\r","path":"aplicacoes/gestao-pessoas/src/main/resources/static/js/gestao-pessoas.js","position":33,"original_position":33,"commit_id":"10828f39014ed41ac857cb2f79509f1c23acf427","original_commit_id":"10828f39014ed41ac857cb2f79509f1c23acf427","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [\"e\" is defined but never used](https://www.codacy.com/app/NPI-UFC/gestao-pessoas/file/2805426056/issues/source?bid=3239934&fileBranchId=3373255#l33)","created_at":"2016-06-21T13:59:23Z","updated_at":"2016-06-21T13:59:23Z","html_url":"https://github.com/npi-ufc-qxd/gestao-pessoas/pull/108#discussion_r67873155","pull_request_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/comments/67873155"},"html":{"href":"https://github.com/npi-ufc-qxd/gestao-pessoas/pull/108#discussion_r67873155"},"pull_request":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108","id":74616006,"html_url":"https://github.com/npi-ufc-qxd/gestao-pessoas/pull/108","diff_url":"https://github.com/npi-ufc-qxd/gestao-pessoas/pull/108.diff","patch_url":"https://github.com/npi-ufc-qxd/gestao-pessoas/pull/108.patch","issue_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/108","number":108,"state":"open","locked":false,"title":"Gp 78 cadastrar expediente","user":{"login":"lullabyh","id":10870592,"avatar_url":"https://avatars.githubusercontent.com/u/10870592?v=3","gravatar_id":"","url":"https://api.github.com/users/lullabyh","html_url":"https://github.com/lullabyh","followers_url":"https://api.github.com/users/lullabyh/followers","following_url":"https://api.github.com/users/lullabyh/following{/other_user}","gists_url":"https://api.github.com/users/lullabyh/gists{/gist_id}","starred_url":"https://api.github.com/users/lullabyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lullabyh/subscriptions","organizations_url":"https://api.github.com/users/lullabyh/orgs","repos_url":"https://api.github.com/users/lullabyh/repos","events_url":"https://api.github.com/users/lullabyh/events{/privacy}","received_events_url":"https://api.github.com/users/lullabyh/received_events","type":"User","site_admin":false},"body":"Adicionando expediente e exibindo mensagens de sucesso e erro.","created_at":"2016-06-21T13:55:55Z","updated_at":"2016-06-21T13:59:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ff4d5745595513c4d3e3dfe34df11095738edd8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108/commits","review_comments_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108/comments","review_comment_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/108/comments","statuses_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/statuses/10828f39014ed41ac857cb2f79509f1c23acf427","head":{"label":"npi-ufc-qxd:gp_78_cadastrar_expediente","ref":"gp_78_cadastrar_expediente","sha":"10828f39014ed41ac857cb2f79509f1c23acf427","user":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"repo":{"id":24675369,"name":"gestao-pessoas","full_name":"npi-ufc-qxd/gestao-pessoas","owner":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npi-ufc-qxd/gestao-pessoas","description":"","fork":false,"url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas","forks_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/forks","keys_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/teams","hooks_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/hooks","issue_events_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/events{/number}","events_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/events","assignees_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/assignees{/user}","branches_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/branches{/branch}","tags_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/tags","blobs_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/refs{/sha}","trees_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/statuses/{sha}","languages_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/languages","stargazers_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/stargazers","contributors_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/contributors","subscribers_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/subscribers","subscription_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/subscription","commits_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/commits{/sha}","git_commits_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/commits{/sha}","comments_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/comments{/number}","issue_comment_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/comments{/number}","contents_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/contents/{+path}","compare_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/merges","archive_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/downloads","issues_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues{/number}","pulls_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls{/number}","milestones_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/milestones{/number}","notifications_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/labels{/name}","releases_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/releases{/id}","deployments_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/deployments","created_at":"2014-10-01T11:05:17Z","updated_at":"2016-01-17T18:31:50Z","pushed_at":"2016-06-21T13:58:19Z","git_url":"git://github.com/npi-ufc-qxd/gestao-pessoas.git","ssh_url":"git@github.com:npi-ufc-qxd/gestao-pessoas.git","clone_url":"https://github.com/npi-ufc-qxd/gestao-pessoas.git","svn_url":"https://github.com/npi-ufc-qxd/gestao-pessoas","homepage":null,"size":17356,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"npi-ufc-qxd:master","ref":"master","sha":"7824fad856ac28c6b1788c6d03ebb11150eb5e6f","user":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"repo":{"id":24675369,"name":"gestao-pessoas","full_name":"npi-ufc-qxd/gestao-pessoas","owner":{"login":"npi-ufc-qxd","id":6740262,"avatar_url":"https://avatars.githubusercontent.com/u/6740262?v=3","gravatar_id":"","url":"https://api.github.com/users/npi-ufc-qxd","html_url":"https://github.com/npi-ufc-qxd","followers_url":"https://api.github.com/users/npi-ufc-qxd/followers","following_url":"https://api.github.com/users/npi-ufc-qxd/following{/other_user}","gists_url":"https://api.github.com/users/npi-ufc-qxd/gists{/gist_id}","starred_url":"https://api.github.com/users/npi-ufc-qxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npi-ufc-qxd/subscriptions","organizations_url":"https://api.github.com/users/npi-ufc-qxd/orgs","repos_url":"https://api.github.com/users/npi-ufc-qxd/repos","events_url":"https://api.github.com/users/npi-ufc-qxd/events{/privacy}","received_events_url":"https://api.github.com/users/npi-ufc-qxd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npi-ufc-qxd/gestao-pessoas","description":"","fork":false,"url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas","forks_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/forks","keys_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/teams","hooks_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/hooks","issue_events_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/events{/number}","events_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/events","assignees_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/assignees{/user}","branches_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/branches{/branch}","tags_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/tags","blobs_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/refs{/sha}","trees_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/statuses/{sha}","languages_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/languages","stargazers_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/stargazers","contributors_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/contributors","subscribers_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/subscribers","subscription_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/subscription","commits_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/commits{/sha}","git_commits_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/git/commits{/sha}","comments_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/comments{/number}","issue_comment_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/comments{/number}","contents_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/contents/{+path}","compare_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/merges","archive_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/downloads","issues_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues{/number}","pulls_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls{/number}","milestones_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/milestones{/number}","notifications_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/labels{/name}","releases_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/releases{/id}","deployments_url":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/deployments","created_at":"2014-10-01T11:05:17Z","updated_at":"2016-01-17T18:31:50Z","pushed_at":"2016-06-21T13:58:19Z","git_url":"git://github.com/npi-ufc-qxd/gestao-pessoas.git","ssh_url":"git@github.com:npi-ufc-qxd/gestao-pessoas.git","clone_url":"https://github.com/npi-ufc-qxd/gestao-pessoas.git","svn_url":"https://github.com/npi-ufc-qxd/gestao-pessoas","homepage":null,"size":17356,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108"},"html":{"href":"https://github.com/npi-ufc-qxd/gestao-pessoas/pull/108"},"issue":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/108"},"comments":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/npi-ufc-qxd/gestao-pessoas/statuses/10828f39014ed41ac857cb2f79509f1c23acf427"}}}}
{"actor":{"display_login":"codacy-bot"}}