{"action":"created","comment":{"url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/comments/72203323","id":72203323,"diff_hunk":"@@ -6,26 +6,246 @@\n <%@page contentType=\"text/html;charset=UTF-8\" %>\n <spring:url value=\"/secure/application_state\" var=\"application_state\"/>\n <atsy:secure_page>\n-    <jsp:body>\n-        <div id=\"settings\">\n-            <h1 class=\"page-header\"><spring:message code=\"application.state.title\"/></h1>\n-            <div id=\"state_table\">\n-                <div>\n-                    <table class=\"table table-hover\" id=\"states_table\"  data-toggle=\"table\" data-url=\"../secure/applications_states/${applicationId}\" data-height=\"500\"\n-                    data-sort-name=\"name\">\n-                        <thead>\n-                            <tr>\n-                                <th data-field=\"stateType\" data-align=\"left\"><spring:message\n-                                                code=\"application.table.state\"/></th>\n-                                <th data-field=\"creationDate\" data-align=\"left\"><spring:message\n-                                                code=\"application.table.creationdate\"/></th>\n-                                <th data-field=\"description\" data-align=\"left\"><spring:message\n-                                                code=\"application.table.description\"/></th>\n-                            </tr>\n-                        </thead>\n-                    </table>\n-                </div>\n-            </div>\n-        </div>\n-    </jsp:body>\n+    <jsp:attribute name=\"pageJs\">\n+        <script src=\"<c:url value=\"/resources/js/atsy-statehistory.js\" />\"></script>\n+    </jsp:attribute>\n+  <jsp:body>\n+      <div class=\"page-header\">\n+          <h1><spring:message code=\"application.state.title\"/>\n+              <small id=\"positionName\">${states[0].position.name}</small>\n+          </h1>\n+      </div>\n+      <spring:message code=\"candidate.table.state.newstate\" var=\"newstate\" />\n+      <spring:message code=\"candidate.table.state.cv\" var=\"cv\" />\n+      <spring:message code=\"candidate.table.state.hr\" var=\"hr\" />\n+      <spring:message code=\"candidate.table.state.firstTest\" var=\"firstTest\" />\n+      <spring:message code=\"candidate.table.state.tech\" var=\"tech\" />\n+      <spring:message code=\"candidate.table.state.coding\" var=\"coding\" />\n+      <spring:message code=\"candidate.table.state.profInterview\" var=\"profInterview\" />\n+      <spring:message code=\"candidate.table.state.clientInterview\" var=\"clientInterview\" />\n+      <spring:message code=\"candidate.table.state.wageOffer\" var=\"wageOffer\" />\n+      <spring:message code=\"candidate.table.state.agree\" var=\"agree\" />\n+      <spring:message code=\"candidate.table.state.accept\" var=\"accept\" />\n+      <spring:message code=\"candidate.table.state.reject\" var=\"reject\" />\n+      <spring:message code=\"candidate.table.state.pause\" var=\"pause\" />\n+      <div class=\"button-panel clearfix\">\n+          <form class=\"form-inline pull-right\">\n+              <c:if test=\"${states[0].stateDTO.name != reject && states[0].stateDTO.name != accept}\">\n+              <div class=\"form-group\">\n+                  <label class=\"form-label\">Következő lépés:</label>\n+              </div>\n+              <div class=\"form-group\">\n+                  <div class=\"btn-group\" role=\"group\">\n+                      <c:choose>\n+                          <c:when test=\"${states[0].stateDTO.name == newstate}\">","path":"web/src/main/webapp/WEB-INF/pages/application_state.jsp","position":57,"original_position":57,"commit_id":"412758a84973885177c2e38e18e7c9e15132ba4e","original_commit_id":"412758a84973885177c2e38e18e7c9e15132ba4e","user":{"login":"kbertalan","id":14853575,"avatar_url":"https://avatars.githubusercontent.com/u/14853575?v=3","gravatar_id":"","url":"https://api.github.com/users/kbertalan","html_url":"https://github.com/kbertalan","followers_url":"https://api.github.com/users/kbertalan/followers","following_url":"https://api.github.com/users/kbertalan/following{/other_user}","gists_url":"https://api.github.com/users/kbertalan/gists{/gist_id}","starred_url":"https://api.github.com/users/kbertalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbertalan/subscriptions","organizations_url":"https://api.github.com/users/kbertalan/orgs","repos_url":"https://api.github.com/users/kbertalan/repos","events_url":"https://api.github.com/users/kbertalan/events{/privacy}","received_events_url":"https://api.github.com/users/kbertalan/received_events","type":"User","site_admin":false},"body":"Don't use the localized message to find out which section should be displayed. Use the internal name of the state instead.","created_at":"2016-07-26T07:52:52Z","updated_at":"2016-07-26T07:52:52Z","html_url":"https://github.com/epam-debrecen-rft-2015/atsy/pull/67#discussion_r72203323","pull_request_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/comments/72203323"},"html":{"href":"https://github.com/epam-debrecen-rft-2015/atsy/pull/67#discussion_r72203323"},"pull_request":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67","id":78801964,"html_url":"https://github.com/epam-debrecen-rft-2015/atsy/pull/67","diff_url":"https://github.com/epam-debrecen-rft-2015/atsy/pull/67.diff","patch_url":"https://github.com/epam-debrecen-rft-2015/atsy/pull/67.patch","issue_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/67","number":67,"state":"open","locked":false,"title":"As the user I want to see details of an application of a candidate so that I can check the candidate history","user":{"login":"kbertalan","id":14853575,"avatar_url":"https://avatars.githubusercontent.com/u/14853575?v=3","gravatar_id":"","url":"https://api.github.com/users/kbertalan","html_url":"https://github.com/kbertalan","followers_url":"https://api.github.com/users/kbertalan/followers","following_url":"https://api.github.com/users/kbertalan/following{/other_user}","gists_url":"https://api.github.com/users/kbertalan/gists{/gist_id}","starred_url":"https://api.github.com/users/kbertalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbertalan/subscriptions","organizations_url":"https://api.github.com/users/kbertalan/orgs","repos_url":"https://api.github.com/users/kbertalan/repos","events_url":"https://api.github.com/users/kbertalan/events{/privacy}","received_events_url":"https://api.github.com/users/kbertalan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-26T07:12:54Z","updated_at":"2016-07-26T07:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67/commits","review_comments_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67/comments","review_comment_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/67/comments","statuses_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/statuses/412758a84973885177c2e38e18e7c9e15132ba4e","head":{"label":"epam-debrecen-rft-2015:details-of-an-application-of-a-candidate","ref":"details-of-an-application-of-a-candidate","sha":"412758a84973885177c2e38e18e7c9e15132ba4e","user":{"login":"epam-debrecen-rft-2015","id":14853614,"avatar_url":"https://avatars.githubusercontent.com/u/14853614?v=3","gravatar_id":"","url":"https://api.github.com/users/epam-debrecen-rft-2015","html_url":"https://github.com/epam-debrecen-rft-2015","followers_url":"https://api.github.com/users/epam-debrecen-rft-2015/followers","following_url":"https://api.github.com/users/epam-debrecen-rft-2015/following{/other_user}","gists_url":"https://api.github.com/users/epam-debrecen-rft-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/epam-debrecen-rft-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epam-debrecen-rft-2015/subscriptions","organizations_url":"https://api.github.com/users/epam-debrecen-rft-2015/orgs","repos_url":"https://api.github.com/users/epam-debrecen-rft-2015/repos","events_url":"https://api.github.com/users/epam-debrecen-rft-2015/events{/privacy}","received_events_url":"https://api.github.com/users/epam-debrecen-rft-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":43246449,"name":"atsy","full_name":"epam-debrecen-rft-2015/atsy","owner":{"login":"epam-debrecen-rft-2015","id":14853614,"avatar_url":"https://avatars.githubusercontent.com/u/14853614?v=3","gravatar_id":"","url":"https://api.github.com/users/epam-debrecen-rft-2015","html_url":"https://github.com/epam-debrecen-rft-2015","followers_url":"https://api.github.com/users/epam-debrecen-rft-2015/followers","following_url":"https://api.github.com/users/epam-debrecen-rft-2015/following{/other_user}","gists_url":"https://api.github.com/users/epam-debrecen-rft-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/epam-debrecen-rft-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epam-debrecen-rft-2015/subscriptions","organizations_url":"https://api.github.com/users/epam-debrecen-rft-2015/orgs","repos_url":"https://api.github.com/users/epam-debrecen-rft-2015/repos","events_url":"https://api.github.com/users/epam-debrecen-rft-2015/events{/privacy}","received_events_url":"https://api.github.com/users/epam-debrecen-rft-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epam-debrecen-rft-2015/atsy","description":"Applicant Tracking System","fork":false,"url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy","forks_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/forks","keys_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/teams","hooks_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/hooks","issue_events_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/events{/number}","events_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/events","assignees_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/assignees{/user}","branches_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/branches{/branch}","tags_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/tags","blobs_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/refs{/sha}","trees_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/statuses/{sha}","languages_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/languages","stargazers_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/stargazers","contributors_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/contributors","subscribers_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/subscribers","subscription_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/subscription","commits_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/commits{/sha}","git_commits_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/commits{/sha}","comments_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/comments{/number}","issue_comment_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/comments{/number}","contents_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/contents/{+path}","compare_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/merges","archive_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/downloads","issues_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues{/number}","pulls_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls{/number}","milestones_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/milestones{/number}","notifications_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/labels{/name}","releases_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/releases{/id}","deployments_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/deployments","created_at":"2015-09-27T12:54:07Z","updated_at":"2016-07-06T09:41:33Z","pushed_at":"2016-07-26T07:12:54Z","git_url":"git://github.com/epam-debrecen-rft-2015/atsy.git","ssh_url":"git@github.com:epam-debrecen-rft-2015/atsy.git","clone_url":"https://github.com/epam-debrecen-rft-2015/atsy.git","svn_url":"https://github.com/epam-debrecen-rft-2015/atsy","homepage":null,"size":1652,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"epam-debrecen-rft-2015:master","ref":"master","sha":"229aa1502dd845517571c632e479c518b8e8cbcf","user":{"login":"epam-debrecen-rft-2015","id":14853614,"avatar_url":"https://avatars.githubusercontent.com/u/14853614?v=3","gravatar_id":"","url":"https://api.github.com/users/epam-debrecen-rft-2015","html_url":"https://github.com/epam-debrecen-rft-2015","followers_url":"https://api.github.com/users/epam-debrecen-rft-2015/followers","following_url":"https://api.github.com/users/epam-debrecen-rft-2015/following{/other_user}","gists_url":"https://api.github.com/users/epam-debrecen-rft-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/epam-debrecen-rft-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epam-debrecen-rft-2015/subscriptions","organizations_url":"https://api.github.com/users/epam-debrecen-rft-2015/orgs","repos_url":"https://api.github.com/users/epam-debrecen-rft-2015/repos","events_url":"https://api.github.com/users/epam-debrecen-rft-2015/events{/privacy}","received_events_url":"https://api.github.com/users/epam-debrecen-rft-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":43246449,"name":"atsy","full_name":"epam-debrecen-rft-2015/atsy","owner":{"login":"epam-debrecen-rft-2015","id":14853614,"avatar_url":"https://avatars.githubusercontent.com/u/14853614?v=3","gravatar_id":"","url":"https://api.github.com/users/epam-debrecen-rft-2015","html_url":"https://github.com/epam-debrecen-rft-2015","followers_url":"https://api.github.com/users/epam-debrecen-rft-2015/followers","following_url":"https://api.github.com/users/epam-debrecen-rft-2015/following{/other_user}","gists_url":"https://api.github.com/users/epam-debrecen-rft-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/epam-debrecen-rft-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epam-debrecen-rft-2015/subscriptions","organizations_url":"https://api.github.com/users/epam-debrecen-rft-2015/orgs","repos_url":"https://api.github.com/users/epam-debrecen-rft-2015/repos","events_url":"https://api.github.com/users/epam-debrecen-rft-2015/events{/privacy}","received_events_url":"https://api.github.com/users/epam-debrecen-rft-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epam-debrecen-rft-2015/atsy","description":"Applicant Tracking System","fork":false,"url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy","forks_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/forks","keys_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/teams","hooks_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/hooks","issue_events_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/events{/number}","events_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/events","assignees_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/assignees{/user}","branches_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/branches{/branch}","tags_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/tags","blobs_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/refs{/sha}","trees_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/statuses/{sha}","languages_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/languages","stargazers_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/stargazers","contributors_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/contributors","subscribers_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/subscribers","subscription_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/subscription","commits_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/commits{/sha}","git_commits_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/git/commits{/sha}","comments_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/comments{/number}","issue_comment_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/comments{/number}","contents_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/contents/{+path}","compare_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/merges","archive_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/downloads","issues_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues{/number}","pulls_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls{/number}","milestones_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/milestones{/number}","notifications_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/labels{/name}","releases_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/releases{/id}","deployments_url":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/deployments","created_at":"2015-09-27T12:54:07Z","updated_at":"2016-07-06T09:41:33Z","pushed_at":"2016-07-26T07:12:54Z","git_url":"git://github.com/epam-debrecen-rft-2015/atsy.git","ssh_url":"git@github.com:epam-debrecen-rft-2015/atsy.git","clone_url":"https://github.com/epam-debrecen-rft-2015/atsy.git","svn_url":"https://github.com/epam-debrecen-rft-2015/atsy","homepage":null,"size":1652,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67"},"html":{"href":"https://github.com/epam-debrecen-rft-2015/atsy/pull/67"},"issue":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/67"},"comments":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/epam-debrecen-rft-2015/atsy/statuses/412758a84973885177c2e38e18e7c9e15132ba4e"}}}}
{"actor":{"display_login":"kbertalan"}}