{"action":"created","comment":{"url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments/142070361","pull_request_review_id":66379256,"id":142070361,"diff_hunk":"@@ -132,49 +145,56 @@ <h4 class=\"job-detail__content__title\">{{ 'job-detail.application.title' | trans\n \n         <div class=\"col-12 col-md order-12 base__related\">\n             <div class=\"sticky-top\">\n-                <div>\n-                    <p>\n-                        <a *ngIf=\"job.applicationUrl\"\n-                           class=\"btn btn-primary btn-block btn-sm\"\n-                           href=\"{{job.applicationUrl}}\" target=\"{{job.id}}\">\n-                            {{'job-detail.action.applyNow' | translate}}\n-                        </a>\n-                        <a *ngIf=\"job.externalUrl\"\n-                           class=\"btn btn-secondary btn-block btn-sm\"\n-                           href=\"{{job.externalUrl}}\" target=\"{{job.id}}\">\n-                            {{'job-detail.action.showExternalPage' | translate}}\n-                        </a>\n-                    </p>\n-\n-                    <ul class=\"nav filter-nav flex-column\">\n-                        <!--<li class=\"nav-item\">-->\n-                        <!--<a class=\"nav-link\" href=\"#\"><i class=\"fa fa-star-o\"-->\n-                        <!--aria-hidden=\"true\"></i>-->\n-                        <!--{{'job-detail.action.saveJob' | translate}}</a>-->\n-                        <!--</li>-->\n-                        <li class=\"nav-item\">\n-                            <a class=\"nav-link\" [class.active]=\"isCopied\" ngxClipboard\n-                               [cbContent]=\"jobUrl\" (cbOnSuccess)=\"isCopied = true\">\n-                                <i class=\"fa fa-share\" aria-hidden=\"true\"></i>\n-                                {{'job-detail.action.copyLink' | translate}}</a>\n-                        </li>\n-                        <!--<li class=\"nav-item\">-->\n-                        <!--<a class=\"nav-link\" href=\"#\"><i class=\"fa fa-envelope\"-->\n-                        <!--aria-hidden=\"true\"></i>-->\n-                        <!--{{'job-detail.action.sendEmail' | translate}}</a>-->\n-                        <!--</li>-->\n-                        <li class=\"nav-item\">\n-                            <a class=\"nav-link\" (click)=\"printJob()\">\n-                                <i class=\"fa fa-print\" aria-hidden=\"true\"></i>\n-                                {{'job-detail.action.print' | translate}}</a>\n-                        </li>\n-                        <!--<li class=\"nav-item\">-->\n-                        <!--<a class=\"nav-link\" href=\"#\"><i class=\"fa fa-file-pdf-o\"-->\n-                        <!--aria-hidden=\"true\"></i>-->\n-                        <!--{{'job-detail.action.savePdf' | translate}}</a>-->\n-                        <!--</li>-->\n-                    </ul>\n-                </div>\n+                <ul *ngIf=\"jobNavigationEnabled$ | async\" class=\"pagination pagination--block pagination-alv\">\n+                    <li class=\"page-item\">\n+                        <a class=\"page-link\" (click)=\"nextJob(true)\"><i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i> Previous</a>","path":"src/main/webapp/app/job-search/job-detail/job-detail.component.html","position":121,"original_position":121,"commit_id":"4810f16e4f69095b057cf1fd138ae893af2d5713","original_commit_id":"4810f16e4f69095b057cf1fd138ae893af2d5713","user":{"login":"Invizible","id":6739134,"avatar_url":"https://avatars1.githubusercontent.com/u/6739134?v=4","gravatar_id":"","url":"https://api.github.com/users/Invizible","html_url":"https://github.com/Invizible","followers_url":"https://api.github.com/users/Invizible/followers","following_url":"https://api.github.com/users/Invizible/following{/other_user}","gists_url":"https://api.github.com/users/Invizible/gists{/gist_id}","starred_url":"https://api.github.com/users/Invizible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Invizible/subscriptions","organizations_url":"https://api.github.com/users/Invizible/orgs","repos_url":"https://api.github.com/users/Invizible/repos","events_url":"https://api.github.com/users/Invizible/events{/privacy}","received_events_url":"https://api.github.com/users/Invizible/received_events","type":"User","site_admin":false},"body":"yep, I can use totalJobCount, I was thinking about situation, when user gets to the last job, and next button is disabled forever even if new job is added on the server, unless he reloads the page, or tries to scroll down again, but agree that nobody will loop through all jobs :) so it's not a case in my opinion","created_at":"2017-10-02T07:37:27Z","updated_at":"2017-10-02T07:37:27Z","html_url":"https://github.com/alv-ch/jobroom2/pull/113#discussion_r142070361","pull_request_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments/142070361"},"html":{"href":"https://github.com/alv-ch/jobroom2/pull/113#discussion_r142070361"},"pull_request":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113"}},"in_reply_to_id":141890954},"pull_request":{"url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113","id":143897573,"html_url":"https://github.com/alv-ch/jobroom2/pull/113","diff_url":"https://github.com/alv-ch/jobroom2/pull/113.diff","patch_url":"https://github.com/alv-ch/jobroom2/pull/113.patch","issue_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/113","number":113,"state":"open","locked":false,"title":"JR2-253 Add Pagination links","user":{"login":"Invizible","id":6739134,"avatar_url":"https://avatars1.githubusercontent.com/u/6739134?v=4","gravatar_id":"","url":"https://api.github.com/users/Invizible","html_url":"https://github.com/Invizible","followers_url":"https://api.github.com/users/Invizible/followers","following_url":"https://api.github.com/users/Invizible/following{/other_user}","gists_url":"https://api.github.com/users/Invizible/gists{/gist_id}","starred_url":"https://api.github.com/users/Invizible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Invizible/subscriptions","organizations_url":"https://api.github.com/users/Invizible/orgs","repos_url":"https://api.github.com/users/Invizible/repos","events_url":"https://api.github.com/users/Invizible/events{/privacy}","received_events_url":"https://api.github.com/users/Invizible/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-29T14:08:56Z","updated_at":"2017-10-02T07:37:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4982287f6426765fa88fcb3a2e9727587e4ff97","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113/commits","review_comments_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113/comments","review_comment_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/113/comments","statuses_url":"https://api.github.com/repos/alv-ch/jobroom2/statuses/4810f16e4f69095b057cf1fd138ae893af2d5713","head":{"label":"alv-ch:feature/JR2-253","ref":"feature/JR2-253","sha":"4810f16e4f69095b057cf1fd138ae893af2d5713","user":{"login":"alv-ch","id":7008756,"avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":18153573,"name":"jobroom2","full_name":"alv-ch/jobroom2","owner":{"login":"alv-ch","id":7008756,"avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alv-ch/jobroom2","description":"Future web gateway of www.job-room.ch","fork":false,"url":"https://api.github.com/repos/alv-ch/jobroom2","forks_url":"https://api.github.com/repos/alv-ch/jobroom2/forks","keys_url":"https://api.github.com/repos/alv-ch/jobroom2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alv-ch/jobroom2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alv-ch/jobroom2/teams","hooks_url":"https://api.github.com/repos/alv-ch/jobroom2/hooks","issue_events_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/events{/number}","events_url":"https://api.github.com/repos/alv-ch/jobroom2/events","assignees_url":"https://api.github.com/repos/alv-ch/jobroom2/assignees{/user}","branches_url":"https://api.github.com/repos/alv-ch/jobroom2/branches{/branch}","tags_url":"https://api.github.com/repos/alv-ch/jobroom2/tags","blobs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alv-ch/jobroom2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/refs{/sha}","trees_url":"https://api.github.com/repos/alv-ch/jobroom2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alv-ch/jobroom2/statuses/{sha}","languages_url":"https://api.github.com/repos/alv-ch/jobroom2/languages","stargazers_url":"https://api.github.com/repos/alv-ch/jobroom2/stargazers","contributors_url":"https://api.github.com/repos/alv-ch/jobroom2/contributors","subscribers_url":"https://api.github.com/repos/alv-ch/jobroom2/subscribers","subscription_url":"https://api.github.com/repos/alv-ch/jobroom2/subscription","commits_url":"https://api.github.com/repos/alv-ch/jobroom2/commits{/sha}","git_commits_url":"https://api.github.com/repos/alv-ch/jobroom2/git/commits{/sha}","comments_url":"https://api.github.com/repos/alv-ch/jobroom2/comments{/number}","issue_comment_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/comments{/number}","contents_url":"https://api.github.com/repos/alv-ch/jobroom2/contents/{+path}","compare_url":"https://api.github.com/repos/alv-ch/jobroom2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alv-ch/jobroom2/merges","archive_url":"https://api.github.com/repos/alv-ch/jobroom2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alv-ch/jobroom2/downloads","issues_url":"https://api.github.com/repos/alv-ch/jobroom2/issues{/number}","pulls_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls{/number}","milestones_url":"https://api.github.com/repos/alv-ch/jobroom2/milestones{/number}","notifications_url":"https://api.github.com/repos/alv-ch/jobroom2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alv-ch/jobroom2/labels{/name}","releases_url":"https://api.github.com/repos/alv-ch/jobroom2/releases{/id}","deployments_url":"https://api.github.com/repos/alv-ch/jobroom2/deployments","created_at":"2014-03-26T20:56:10Z","updated_at":"2017-09-25T18:17:56Z","pushed_at":"2017-10-02T07:14:27Z","git_url":"git://github.com/alv-ch/jobroom2.git","ssh_url":"git@github.com:alv-ch/jobroom2.git","clone_url":"https://github.com/alv-ch/jobroom2.git","svn_url":"https://github.com/alv-ch/jobroom2","homepage":"","size":1465,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"base":{"label":"alv-ch:develop","ref":"develop","sha":"f8089be1d5fc2f05cc8dea7e9aa500ac2cea1373","user":{"login":"alv-ch","id":7008756,"avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":18153573,"name":"jobroom2","full_name":"alv-ch/jobroom2","owner":{"login":"alv-ch","id":7008756,"avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alv-ch/jobroom2","description":"Future web gateway of www.job-room.ch","fork":false,"url":"https://api.github.com/repos/alv-ch/jobroom2","forks_url":"https://api.github.com/repos/alv-ch/jobroom2/forks","keys_url":"https://api.github.com/repos/alv-ch/jobroom2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alv-ch/jobroom2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alv-ch/jobroom2/teams","hooks_url":"https://api.github.com/repos/alv-ch/jobroom2/hooks","issue_events_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/events{/number}","events_url":"https://api.github.com/repos/alv-ch/jobroom2/events","assignees_url":"https://api.github.com/repos/alv-ch/jobroom2/assignees{/user}","branches_url":"https://api.github.com/repos/alv-ch/jobroom2/branches{/branch}","tags_url":"https://api.github.com/repos/alv-ch/jobroom2/tags","blobs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alv-ch/jobroom2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/refs{/sha}","trees_url":"https://api.github.com/repos/alv-ch/jobroom2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alv-ch/jobroom2/statuses/{sha}","languages_url":"https://api.github.com/repos/alv-ch/jobroom2/languages","stargazers_url":"https://api.github.com/repos/alv-ch/jobroom2/stargazers","contributors_url":"https://api.github.com/repos/alv-ch/jobroom2/contributors","subscribers_url":"https://api.github.com/repos/alv-ch/jobroom2/subscribers","subscription_url":"https://api.github.com/repos/alv-ch/jobroom2/subscription","commits_url":"https://api.github.com/repos/alv-ch/jobroom2/commits{/sha}","git_commits_url":"https://api.github.com/repos/alv-ch/jobroom2/git/commits{/sha}","comments_url":"https://api.github.com/repos/alv-ch/jobroom2/comments{/number}","issue_comment_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/comments{/number}","contents_url":"https://api.github.com/repos/alv-ch/jobroom2/contents/{+path}","compare_url":"https://api.github.com/repos/alv-ch/jobroom2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alv-ch/jobroom2/merges","archive_url":"https://api.github.com/repos/alv-ch/jobroom2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alv-ch/jobroom2/downloads","issues_url":"https://api.github.com/repos/alv-ch/jobroom2/issues{/number}","pulls_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls{/number}","milestones_url":"https://api.github.com/repos/alv-ch/jobroom2/milestones{/number}","notifications_url":"https://api.github.com/repos/alv-ch/jobroom2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alv-ch/jobroom2/labels{/name}","releases_url":"https://api.github.com/repos/alv-ch/jobroom2/releases{/id}","deployments_url":"https://api.github.com/repos/alv-ch/jobroom2/deployments","created_at":"2014-03-26T20:56:10Z","updated_at":"2017-09-25T18:17:56Z","pushed_at":"2017-10-02T07:14:27Z","git_url":"git://github.com/alv-ch/jobroom2.git","ssh_url":"git@github.com:alv-ch/jobroom2.git","clone_url":"https://github.com/alv-ch/jobroom2.git","svn_url":"https://github.com/alv-ch/jobroom2","homepage":"","size":1465,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113"},"html":{"href":"https://github.com/alv-ch/jobroom2/pull/113"},"issue":{"href":"https://api.github.com/repos/alv-ch/jobroom2/issues/113"},"comments":{"href":"https://api.github.com/repos/alv-ch/jobroom2/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/alv-ch/jobroom2/statuses/4810f16e4f69095b057cf1fd138ae893af2d5713"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Invizible"}}