{"action":"closed","number":251,"pull_request":{"url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/251","id":98701501,"html_url":"https://github.com/compucorp/civihr-employee-portal/pull/251","diff_url":"https://github.com/compucorp/civihr-employee-portal/pull/251.diff","patch_url":"https://github.com/compucorp/civihr-employee-portal/pull/251.patch","issue_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/251","number":251,"state":"closed","locked":false,"title":"PCHR-1793: Manager Leave page build.","user":{"login":"hitesh-jain","id":2689257,"avatar_url":"https://avatars.githubusercontent.com/u/2689257?v=3","gravatar_id":"","url":"https://api.github.com/users/hitesh-jain","html_url":"https://github.com/hitesh-jain","followers_url":"https://api.github.com/users/hitesh-jain/followers","following_url":"https://api.github.com/users/hitesh-jain/following{/other_user}","gists_url":"https://api.github.com/users/hitesh-jain/gists{/gist_id}","starred_url":"https://api.github.com/users/hitesh-jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitesh-jain/subscriptions","organizations_url":"https://api.github.com/users/hitesh-jain/orgs","repos_url":"https://api.github.com/users/hitesh-jain/repos","events_url":"https://api.github.com/users/hitesh-jain/events{/privacy}","received_events_url":"https://api.github.com/users/hitesh-jain/received_events","type":"User","site_admin":false},"body":"Problem:\r\nNeed to have simple drupal Page for Manager Leave that can be exported in a new \"Leave and Absences\" feature, that will contain the block called 'manager leave block' described in PCHR-1792. Basically a bare-bone container that provides a menu link - 'Manager Leave' in the top menu bar and a place where the user can access the angular app.Also need to add access permissions - \"Manage CiviHR Access Leave and Absences\" for Manager Leave page, so this page and menu should be available only for when the user has required permissions.\r\n\r\nSolution:\r\nCreated Panel page called manager-leave that contains the block called manager_leave which contains pre-defined template markup from block with required user access permissions \"Manage CiviHR Leave and Absences.\"\r\n<img width=\"1280\" alt=\"screen shot 2016-12-20 at 1 23 09 pm\" src=\"https://cloud.githubusercontent.com/assets/2689257/21342351/7f6623a4-c6b7-11e6-9957-52b218b9a6bd.png\">\r\n","created_at":"2016-12-20T07:53:47Z","updated_at":"2016-12-20T08:12:27Z","closed_at":"2016-12-20T08:12:27Z","merged_at":"2016-12-20T08:12:27Z","merge_commit_sha":"0bfbcd2fa00183d842734e44a729b354e171e6b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/251/commits","review_comments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/251/comments","review_comment_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/251/comments","statuses_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/statuses/963a38390adb9e804ffc5f0c2e9b113b80747d32","head":{"label":"compucorp:PCHR-1793-manager-leave-page","ref":"PCHR-1793-manager-leave-page","sha":"963a38390adb9e804ffc5f0c2e9b113b80747d32","user":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars.githubusercontent.com/u/2040164?v=3","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"repo":{"id":25817866,"name":"civihr-employee-portal","full_name":"compucorp/civihr-employee-portal","owner":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars.githubusercontent.com/u/2040164?v=3","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compucorp/civihr-employee-portal","description":"CiviHR employee portal custom Drupal modules","fork":false,"url":"https://api.github.com/repos/compucorp/civihr-employee-portal","forks_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/forks","keys_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/teams","hooks_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/hooks","issue_events_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/events{/number}","events_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/events","assignees_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/assignees{/user}","branches_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/branches{/branch}","tags_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/tags","blobs_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/languages","stargazers_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/stargazers","contributors_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/contributors","subscribers_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/subscribers","subscription_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/subscription","commits_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/contents/{+path}","compare_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/merges","archive_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/downloads","issues_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues{/number}","pulls_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/labels{/name}","releases_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/releases{/id}","deployments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/deployments","created_at":"2014-10-27T12:26:29Z","updated_at":"2016-10-27T09:58:56Z","pushed_at":"2016-12-20T08:12:27Z","git_url":"git://github.com/compucorp/civihr-employee-portal.git","ssh_url":"git@github.com:compucorp/civihr-employee-portal.git","clone_url":"https://github.com/compucorp/civihr-employee-portal.git","svn_url":"https://github.com/compucorp/civihr-employee-portal","homepage":null,"size":2931,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":3,"default_branch":"staging"}},"base":{"label":"compucorp:la-milestone-3","ref":"la-milestone-3","sha":"10e8e1221b42f2807a4b0936c8f671183614c69a","user":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars.githubusercontent.com/u/2040164?v=3","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"repo":{"id":25817866,"name":"civihr-employee-portal","full_name":"compucorp/civihr-employee-portal","owner":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars.githubusercontent.com/u/2040164?v=3","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compucorp/civihr-employee-portal","description":"CiviHR employee portal custom Drupal modules","fork":false,"url":"https://api.github.com/repos/compucorp/civihr-employee-portal","forks_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/forks","keys_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/teams","hooks_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/hooks","issue_events_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/events{/number}","events_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/events","assignees_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/assignees{/user}","branches_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/branches{/branch}","tags_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/tags","blobs_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/languages","stargazers_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/stargazers","contributors_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/contributors","subscribers_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/subscribers","subscription_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/subscription","commits_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/contents/{+path}","compare_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/merges","archive_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/downloads","issues_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues{/number}","pulls_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/labels{/name}","releases_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/releases{/id}","deployments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/deployments","created_at":"2014-10-27T12:26:29Z","updated_at":"2016-10-27T09:58:56Z","pushed_at":"2016-12-20T08:12:27Z","git_url":"git://github.com/compucorp/civihr-employee-portal.git","ssh_url":"git@github.com:compucorp/civihr-employee-portal.git","clone_url":"https://github.com/compucorp/civihr-employee-portal.git","svn_url":"https://github.com/compucorp/civihr-employee-portal","homepage":null,"size":2931,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":3,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/251"},"html":{"href":"https://github.com/compucorp/civihr-employee-portal/pull/251"},"issue":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/251"},"comments":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/compucorp/civihr-employee-portal/statuses/963a38390adb9e804ffc5f0c2e9b113b80747d32"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hitesh-jain","id":2689257,"avatar_url":"https://avatars.githubusercontent.com/u/2689257?v=3","gravatar_id":"","url":"https://api.github.com/users/hitesh-jain","html_url":"https://github.com/hitesh-jain","followers_url":"https://api.github.com/users/hitesh-jain/followers","following_url":"https://api.github.com/users/hitesh-jain/following{/other_user}","gists_url":"https://api.github.com/users/hitesh-jain/gists{/gist_id}","starred_url":"https://api.github.com/users/hitesh-jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitesh-jain/subscriptions","organizations_url":"https://api.github.com/users/hitesh-jain/orgs","repos_url":"https://api.github.com/users/hitesh-jain/repos","events_url":"https://api.github.com/users/hitesh-jain/events{/privacy}","received_events_url":"https://api.github.com/users/hitesh-jain/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":123,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"hitesh-jain"}}