{"action":"created","comment":{"url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/comments/35895424","id":35895424,"diff_hunk":"@@ -0,0 +1,104 @@\n+﻿$(document).ready(function () {\n+    var evaluationStates = ['En curso', 'Esperando Eval Empleado', 'Esperando Eval Responsable', 'Esperando Eval Empresa', 'Lista para devolución', 'Abierta para devolución', 'Finalizada'];\n+\n+    var ReportDashboard = function (data) {\n+        var self = this;\n+        this.items = ko.observableArray();\n+        if (data) {\n+            this.fromJS(data);\n+        }\n+        this.headers = [\n+        { title: 'Periodo', sortable: true, sortPropertyName: 'period', defaultPropertyName: 'fullName', asc: true, activeSort: ko.observable(false) },\n+        { title: 'Empleado', sortable: true, sortPropertyName: 'fullName', defaultPropertyName: 'fullName', asc: true, activeSort: ko.observable(false) },\n+        { title: 'Puesto', sortable: true, sortPropertyName: 'currentPosition', defaultPropertyName: 'fullName', asc: true, activeSort: ko.observable(false) },\n+        { title: 'Seniority', sortable: true, sortPropertyName: 'seniority', defaultPropertyName: 'fullName', asc: true, activeSort: ko.observable(false) },\n+        { title: 'Responsable', sortable: true, sortPropertyName: 'responsibleId', defaultPropertyName: 'fullName', asc: true, activeSort: ko.observable(false) },\n+        { title: 'Estado', sortable: true, sortPropertyName: 'state', defaultPropertyName: 'fullName', asc: true, activeSort: ko.observable(false), observable: true },\n+        { title: '', sortable: false }\n+        ];\n+        this.sort = commonSort.bind(this);\n+        this.defaultSort = function () {\n+            this.headers[0].activeSort(false);\n+            this.sort(this.headers[0]);\n+        }\n+        this.isLoading = ko.observable(false);\n+    }\n+\n+    ReportDashboard.prototype.fromJS = function (data) {\n+        var self = this;","path":"source/CommonJobs/CommonJobs.MVC.UI/Scripts/Evaluations/dashboard-human-resources.js","position":28,"original_position":28,"commit_id":"61ca6cb3e2ec7435a314f19044bd349af43d79c2","original_commit_id":"61ca6cb3e2ec7435a314f19044bd349af43d79c2","user":{"login":"sofipacifico","id":4324343,"avatar_url":"https://avatars.githubusercontent.com/u/4324343?v=3","gravatar_id":"","url":"https://api.github.com/users/sofipacifico","html_url":"https://github.com/sofipacifico","followers_url":"https://api.github.com/users/sofipacifico/followers","following_url":"https://api.github.com/users/sofipacifico/following{/other_user}","gists_url":"https://api.github.com/users/sofipacifico/gists{/gist_id}","starred_url":"https://api.github.com/users/sofipacifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofipacifico/subscriptions","organizations_url":"https://api.github.com/users/sofipacifico/orgs","repos_url":"https://api.github.com/users/sofipacifico/repos","events_url":"https://api.github.com/users/sofipacifico/events{/privacy}","received_events_url":"https://api.github.com/users/sofipacifico/received_events","type":"User","site_admin":false},"body":"Deleted!","created_at":"2015-07-30T17:19:02Z","updated_at":"2015-07-30T17:19:02Z","html_url":"https://github.com/CommonJobs/CommonJobs/pull/451#discussion_r35895424","pull_request_url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451","_links":{"self":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/comments/35895424"},"html":{"href":"https://github.com/CommonJobs/CommonJobs/pull/451#discussion_r35895424"},"pull_request":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451"}}},"pull_request":{"url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451","id":41245902,"html_url":"https://github.com/CommonJobs/CommonJobs/pull/451","diff_url":"https://github.com/CommonJobs/CommonJobs/pull/451.diff","patch_url":"https://github.com/CommonJobs/CommonJobs/pull/451.patch","issue_url":"https://api.github.com/repos/CommonJobs/CommonJobs/issues/451","number":451,"state":"open","locked":false,"title":"Dashboard for Human Recourses","user":{"login":"sofipacifico","id":4324343,"avatar_url":"https://avatars.githubusercontent.com/u/4324343?v=3","gravatar_id":"","url":"https://api.github.com/users/sofipacifico","html_url":"https://github.com/sofipacifico","followers_url":"https://api.github.com/users/sofipacifico/followers","following_url":"https://api.github.com/users/sofipacifico/following{/other_user}","gists_url":"https://api.github.com/users/sofipacifico/gists{/gist_id}","starred_url":"https://api.github.com/users/sofipacifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofipacifico/subscriptions","organizations_url":"https://api.github.com/users/sofipacifico/orgs","repos_url":"https://api.github.com/users/sofipacifico/repos","events_url":"https://api.github.com/users/sofipacifico/events{/privacy}","received_events_url":"https://api.github.com/users/sofipacifico/received_events","type":"User","site_admin":false},"body":"* Dashboard for human resources about evaluated people (layout and logic), done!\r\n* To Do: Remove the line with the hardcode period\r\n\r\n@andresmoschini @AlphaGit @Gkolocsar  @joseguti84 \r\n\r\nCould you take a look? Thank you!","created_at":"2015-07-30T15:17:03Z","updated_at":"2015-07-30T17:19:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c51e519df06e675554852ff6f63b3738f5e5044","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451/commits","review_comments_url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451/comments","review_comment_url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CommonJobs/CommonJobs/issues/451/comments","statuses_url":"https://api.github.com/repos/CommonJobs/CommonJobs/statuses/61ca6cb3e2ec7435a314f19044bd349af43d79c2","head":{"label":"sofipacifico:dashboard-rrhh","ref":"dashboard-rrhh","sha":"61ca6cb3e2ec7435a314f19044bd349af43d79c2","user":{"login":"sofipacifico","id":4324343,"avatar_url":"https://avatars.githubusercontent.com/u/4324343?v=3","gravatar_id":"","url":"https://api.github.com/users/sofipacifico","html_url":"https://github.com/sofipacifico","followers_url":"https://api.github.com/users/sofipacifico/followers","following_url":"https://api.github.com/users/sofipacifico/following{/other_user}","gists_url":"https://api.github.com/users/sofipacifico/gists{/gist_id}","starred_url":"https://api.github.com/users/sofipacifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofipacifico/subscriptions","organizations_url":"https://api.github.com/users/sofipacifico/orgs","repos_url":"https://api.github.com/users/sofipacifico/repos","events_url":"https://api.github.com/users/sofipacifico/events{/privacy}","received_events_url":"https://api.github.com/users/sofipacifico/received_events","type":"User","site_admin":false},"repo":{"id":38000890,"name":"CommonJobs","full_name":"sofipacifico/CommonJobs","owner":{"login":"sofipacifico","id":4324343,"avatar_url":"https://avatars.githubusercontent.com/u/4324343?v=3","gravatar_id":"","url":"https://api.github.com/users/sofipacifico","html_url":"https://github.com/sofipacifico","followers_url":"https://api.github.com/users/sofipacifico/followers","following_url":"https://api.github.com/users/sofipacifico/following{/other_user}","gists_url":"https://api.github.com/users/sofipacifico/gists{/gist_id}","starred_url":"https://api.github.com/users/sofipacifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofipacifico/subscriptions","organizations_url":"https://api.github.com/users/sofipacifico/orgs","repos_url":"https://api.github.com/users/sofipacifico/repos","events_url":"https://api.github.com/users/sofipacifico/events{/privacy}","received_events_url":"https://api.github.com/users/sofipacifico/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sofipacifico/CommonJobs","description":"CommonJobs application","fork":true,"url":"https://api.github.com/repos/sofipacifico/CommonJobs","forks_url":"https://api.github.com/repos/sofipacifico/CommonJobs/forks","keys_url":"https://api.github.com/repos/sofipacifico/CommonJobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sofipacifico/CommonJobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sofipacifico/CommonJobs/teams","hooks_url":"https://api.github.com/repos/sofipacifico/CommonJobs/hooks","issue_events_url":"https://api.github.com/repos/sofipacifico/CommonJobs/issues/events{/number}","events_url":"https://api.github.com/repos/sofipacifico/CommonJobs/events","assignees_url":"https://api.github.com/repos/sofipacifico/CommonJobs/assignees{/user}","branches_url":"https://api.github.com/repos/sofipacifico/CommonJobs/branches{/branch}","tags_url":"https://api.github.com/repos/sofipacifico/CommonJobs/tags","blobs_url":"https://api.github.com/repos/sofipacifico/CommonJobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sofipacifico/CommonJobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sofipacifico/CommonJobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sofipacifico/CommonJobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sofipacifico/CommonJobs/statuses/{sha}","languages_url":"https://api.github.com/repos/sofipacifico/CommonJobs/languages","stargazers_url":"https://api.github.com/repos/sofipacifico/CommonJobs/stargazers","contributors_url":"https://api.github.com/repos/sofipacifico/CommonJobs/contributors","subscribers_url":"https://api.github.com/repos/sofipacifico/CommonJobs/subscribers","subscription_url":"https://api.github.com/repos/sofipacifico/CommonJobs/subscription","commits_url":"https://api.github.com/repos/sofipacifico/CommonJobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sofipacifico/CommonJobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sofipacifico/CommonJobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sofipacifico/CommonJobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sofipacifico/CommonJobs/contents/{+path}","compare_url":"https://api.github.com/repos/sofipacifico/CommonJobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sofipacifico/CommonJobs/merges","archive_url":"https://api.github.com/repos/sofipacifico/CommonJobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sofipacifico/CommonJobs/downloads","issues_url":"https://api.github.com/repos/sofipacifico/CommonJobs/issues{/number}","pulls_url":"https://api.github.com/repos/sofipacifico/CommonJobs/pulls{/number}","milestones_url":"https://api.github.com/repos/sofipacifico/CommonJobs/milestones{/number}","notifications_url":"https://api.github.com/repos/sofipacifico/CommonJobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sofipacifico/CommonJobs/labels{/name}","releases_url":"https://api.github.com/repos/sofipacifico/CommonJobs/releases{/id}","created_at":"2015-06-24T17:47:11Z","updated_at":"2015-06-24T17:47:20Z","pushed_at":"2015-07-30T15:06:50Z","git_url":"git://github.com/sofipacifico/CommonJobs.git","ssh_url":"git@github.com:sofipacifico/CommonJobs.git","clone_url":"https://github.com/sofipacifico/CommonJobs.git","svn_url":"https://github.com/sofipacifico/CommonJobs","homepage":"","size":162052,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"CommonJobs:eval-form-develop","ref":"eval-form-develop","sha":"c7ad514faab98b4b29fd4dddb4801e2995b1e95a","user":{"login":"CommonJobs","id":1264264,"avatar_url":"https://avatars.githubusercontent.com/u/1264264?v=3","gravatar_id":"","url":"https://api.github.com/users/CommonJobs","html_url":"https://github.com/CommonJobs","followers_url":"https://api.github.com/users/CommonJobs/followers","following_url":"https://api.github.com/users/CommonJobs/following{/other_user}","gists_url":"https://api.github.com/users/CommonJobs/gists{/gist_id}","starred_url":"https://api.github.com/users/CommonJobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CommonJobs/subscriptions","organizations_url":"https://api.github.com/users/CommonJobs/orgs","repos_url":"https://api.github.com/users/CommonJobs/repos","events_url":"https://api.github.com/users/CommonJobs/events{/privacy}","received_events_url":"https://api.github.com/users/CommonJobs/received_events","type":"Organization","site_admin":false},"repo":{"id":2984039,"name":"CommonJobs","full_name":"CommonJobs/CommonJobs","owner":{"login":"CommonJobs","id":1264264,"avatar_url":"https://avatars.githubusercontent.com/u/1264264?v=3","gravatar_id":"","url":"https://api.github.com/users/CommonJobs","html_url":"https://github.com/CommonJobs","followers_url":"https://api.github.com/users/CommonJobs/followers","following_url":"https://api.github.com/users/CommonJobs/following{/other_user}","gists_url":"https://api.github.com/users/CommonJobs/gists{/gist_id}","starred_url":"https://api.github.com/users/CommonJobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CommonJobs/subscriptions","organizations_url":"https://api.github.com/users/CommonJobs/orgs","repos_url":"https://api.github.com/users/CommonJobs/repos","events_url":"https://api.github.com/users/CommonJobs/events{/privacy}","received_events_url":"https://api.github.com/users/CommonJobs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CommonJobs/CommonJobs","description":"CommonJobs application","fork":false,"url":"https://api.github.com/repos/CommonJobs/CommonJobs","forks_url":"https://api.github.com/repos/CommonJobs/CommonJobs/forks","keys_url":"https://api.github.com/repos/CommonJobs/CommonJobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CommonJobs/CommonJobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CommonJobs/CommonJobs/teams","hooks_url":"https://api.github.com/repos/CommonJobs/CommonJobs/hooks","issue_events_url":"https://api.github.com/repos/CommonJobs/CommonJobs/issues/events{/number}","events_url":"https://api.github.com/repos/CommonJobs/CommonJobs/events","assignees_url":"https://api.github.com/repos/CommonJobs/CommonJobs/assignees{/user}","branches_url":"https://api.github.com/repos/CommonJobs/CommonJobs/branches{/branch}","tags_url":"https://api.github.com/repos/CommonJobs/CommonJobs/tags","blobs_url":"https://api.github.com/repos/CommonJobs/CommonJobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CommonJobs/CommonJobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CommonJobs/CommonJobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/CommonJobs/CommonJobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CommonJobs/CommonJobs/statuses/{sha}","languages_url":"https://api.github.com/repos/CommonJobs/CommonJobs/languages","stargazers_url":"https://api.github.com/repos/CommonJobs/CommonJobs/stargazers","contributors_url":"https://api.github.com/repos/CommonJobs/CommonJobs/contributors","subscribers_url":"https://api.github.com/repos/CommonJobs/CommonJobs/subscribers","subscription_url":"https://api.github.com/repos/CommonJobs/CommonJobs/subscription","commits_url":"https://api.github.com/repos/CommonJobs/CommonJobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/CommonJobs/CommonJobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/CommonJobs/CommonJobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/CommonJobs/CommonJobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/CommonJobs/CommonJobs/contents/{+path}","compare_url":"https://api.github.com/repos/CommonJobs/CommonJobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CommonJobs/CommonJobs/merges","archive_url":"https://api.github.com/repos/CommonJobs/CommonJobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CommonJobs/CommonJobs/downloads","issues_url":"https://api.github.com/repos/CommonJobs/CommonJobs/issues{/number}","pulls_url":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls{/number}","milestones_url":"https://api.github.com/repos/CommonJobs/CommonJobs/milestones{/number}","notifications_url":"https://api.github.com/repos/CommonJobs/CommonJobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CommonJobs/CommonJobs/labels{/name}","releases_url":"https://api.github.com/repos/CommonJobs/CommonJobs/releases{/id}","created_at":"2011-12-14T23:25:51Z","updated_at":"2015-04-08T21:41:02Z","pushed_at":"2015-07-30T15:17:03Z","git_url":"git://github.com/CommonJobs/CommonJobs.git","ssh_url":"git@github.com:CommonJobs/CommonJobs.git","clone_url":"https://github.com/CommonJobs/CommonJobs.git","svn_url":"https://github.com/CommonJobs/CommonJobs","homepage":"","size":164661,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":30,"forks":12,"open_issues":30,"watchers":4,"default_branch":"eval-form-develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451"},"html":{"href":"https://github.com/CommonJobs/CommonJobs/pull/451"},"issue":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/issues/451"},"comments":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/CommonJobs/CommonJobs/statuses/61ca6cb3e2ec7435a314f19044bd349af43d79c2"}}}}