{"action":"created","comment":{"url":"https://api.github.com/repos/systers/vms/pulls/comments/167393955","pull_request_review_id":95617576,"id":167393955,"diff_hunk":"@@ -64,6 +65,20 @@ def delete_resume(request, volunteer_id):\n     else:\r\n         return HttpResponse(status=403)\r\n \r\n+def get_job_list(request):\r\n+    result = []\r\n+    user = request.user\r\n+    volunteer_id = user.volunteer.id\r\n+    event_name = request.GET.get('event_name', None)\r\n+    event = get_event_by_name(event_name)\r\n+    event_id = event.id\r\n+    jobs = get_jobs_by_event_id(event_id)\r","path":"vms/volunteer/views.py","position":30,"original_position":30,"commit_id":"702050fa76d48bb4447fe75c23e2357c95a6799a","original_commit_id":"702050fa76d48bb4447fe75c23e2357c95a6799a","user":{"login":"tonythomas01","id":4214481,"avatar_url":"https://avatars3.githubusercontent.com/u/4214481?v=4","gravatar_id":"","url":"https://api.github.com/users/tonythomas01","html_url":"https://github.com/tonythomas01","followers_url":"https://api.github.com/users/tonythomas01/followers","following_url":"https://api.github.com/users/tonythomas01/following{/other_user}","gists_url":"https://api.github.com/users/tonythomas01/gists{/gist_id}","starred_url":"https://api.github.com/users/tonythomas01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonythomas01/subscriptions","organizations_url":"https://api.github.com/users/tonythomas01/orgs","repos_url":"https://api.github.com/users/tonythomas01/repos","events_url":"https://api.github.com/users/tonythomas01/events{/privacy}","received_events_url":"https://api.github.com/users/tonythomas01/received_events","type":"User","site_admin":false},"body":"```\r\nevent_name = request.GET.get('event_name', None)\r\nif not event_name: \r\n       return something. \r\njobs = get_jobs_by_event_id(get_event_by_name(event_name))\r\n```","created_at":"2018-02-10T09:20:43Z","updated_at":"2018-02-10T09:21:32Z","html_url":"https://github.com/systers/vms/pull/606#discussion_r167393955","pull_request_url":"https://api.github.com/repos/systers/vms/pulls/606","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/systers/vms/pulls/comments/167393955"},"html":{"href":"https://github.com/systers/vms/pull/606#discussion_r167393955"},"pull_request":{"href":"https://api.github.com/repos/systers/vms/pulls/606"}}},"pull_request":{"url":"https://api.github.com/repos/systers/vms/pulls/606","id":168360685,"html_url":"https://github.com/systers/vms/pull/606","diff_url":"https://github.com/systers/vms/pull/606.diff","patch_url":"https://github.com/systers/vms/pull/606.patch","issue_url":"https://api.github.com/repos/systers/vms/issues/606","number":606,"state":"open","locked":false,"title":"Show job names on report page","user":{"login":"pradeepgangwar","id":21259802,"avatar_url":"https://avatars1.githubusercontent.com/u/21259802?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgangwar","html_url":"https://github.com/pradeepgangwar","followers_url":"https://api.github.com/users/pradeepgangwar/followers","following_url":"https://api.github.com/users/pradeepgangwar/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgangwar/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgangwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgangwar/subscriptions","organizations_url":"https://api.github.com/users/pradeepgangwar/orgs","repos_url":"https://api.github.com/users/pradeepgangwar/repos","events_url":"https://api.github.com/users/pradeepgangwar/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgangwar/received_events","type":"User","site_admin":false},"body":"# Description\r\n- Currently job names are not listed on volunteer/report page.\r\n- This PR fixes it and dynamically adds job names according to the event selected and jobs to which volunteer is assigned.\r\n\r\nFixes #383 \r\n\r\n# Type of Change:\r\n- Code\r\n- User Interface\r\n\r\n## GIF\r\n![ezgif com-video-to-gif 2](https://user-images.githubusercontent.com/21259802/36053899-b12302b8-0e19-11e8-9714-5ff885faf4ea.gif)\r\n\r\n\r\n# Checklist:\r\n**Delete irrelevant options.**\r\n\r\n- [x] My PR follows the style guidelines of this project\r\n- [x] I have performed a self-review of my own code or materials\r\n\r\n**Code/Quality Assurance Only**\r\n- [x] My changes generate no new warnings \r\n","created_at":"2018-02-09T22:48:29Z","updated_at":"2018-02-10T09:21:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"098f7bcb029d43788ba985f1aa657b5810e950bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/systers/vms/pulls/606/commits","review_comments_url":"https://api.github.com/repos/systers/vms/pulls/606/comments","review_comment_url":"https://api.github.com/repos/systers/vms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/vms/issues/606/comments","statuses_url":"https://api.github.com/repos/systers/vms/statuses/702050fa76d48bb4447fe75c23e2357c95a6799a","head":{"label":"pradeepgangwar:issue383","ref":"issue383","sha":"702050fa76d48bb4447fe75c23e2357c95a6799a","user":{"login":"pradeepgangwar","id":21259802,"avatar_url":"https://avatars1.githubusercontent.com/u/21259802?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgangwar","html_url":"https://github.com/pradeepgangwar","followers_url":"https://api.github.com/users/pradeepgangwar/followers","following_url":"https://api.github.com/users/pradeepgangwar/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgangwar/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgangwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgangwar/subscriptions","organizations_url":"https://api.github.com/users/pradeepgangwar/orgs","repos_url":"https://api.github.com/users/pradeepgangwar/repos","events_url":"https://api.github.com/users/pradeepgangwar/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgangwar/received_events","type":"User","site_admin":false},"repo":{"id":110284560,"name":"vms","full_name":"pradeepgangwar/vms","owner":{"login":"pradeepgangwar","id":21259802,"avatar_url":"https://avatars1.githubusercontent.com/u/21259802?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgangwar","html_url":"https://github.com/pradeepgangwar","followers_url":"https://api.github.com/users/pradeepgangwar/followers","following_url":"https://api.github.com/users/pradeepgangwar/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgangwar/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgangwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgangwar/subscriptions","organizations_url":"https://api.github.com/users/pradeepgangwar/orgs","repos_url":"https://api.github.com/users/pradeepgangwar/repos","events_url":"https://api.github.com/users/pradeepgangwar/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgangwar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pradeepgangwar/vms","description":"Volunteer Management System","fork":true,"url":"https://api.github.com/repos/pradeepgangwar/vms","forks_url":"https://api.github.com/repos/pradeepgangwar/vms/forks","keys_url":"https://api.github.com/repos/pradeepgangwar/vms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pradeepgangwar/vms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pradeepgangwar/vms/teams","hooks_url":"https://api.github.com/repos/pradeepgangwar/vms/hooks","issue_events_url":"https://api.github.com/repos/pradeepgangwar/vms/issues/events{/number}","events_url":"https://api.github.com/repos/pradeepgangwar/vms/events","assignees_url":"https://api.github.com/repos/pradeepgangwar/vms/assignees{/user}","branches_url":"https://api.github.com/repos/pradeepgangwar/vms/branches{/branch}","tags_url":"https://api.github.com/repos/pradeepgangwar/vms/tags","blobs_url":"https://api.github.com/repos/pradeepgangwar/vms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pradeepgangwar/vms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pradeepgangwar/vms/git/refs{/sha}","trees_url":"https://api.github.com/repos/pradeepgangwar/vms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pradeepgangwar/vms/statuses/{sha}","languages_url":"https://api.github.com/repos/pradeepgangwar/vms/languages","stargazers_url":"https://api.github.com/repos/pradeepgangwar/vms/stargazers","contributors_url":"https://api.github.com/repos/pradeepgangwar/vms/contributors","subscribers_url":"https://api.github.com/repos/pradeepgangwar/vms/subscribers","subscription_url":"https://api.github.com/repos/pradeepgangwar/vms/subscription","commits_url":"https://api.github.com/repos/pradeepgangwar/vms/commits{/sha}","git_commits_url":"https://api.github.com/repos/pradeepgangwar/vms/git/commits{/sha}","comments_url":"https://api.github.com/repos/pradeepgangwar/vms/comments{/number}","issue_comment_url":"https://api.github.com/repos/pradeepgangwar/vms/issues/comments{/number}","contents_url":"https://api.github.com/repos/pradeepgangwar/vms/contents/{+path}","compare_url":"https://api.github.com/repos/pradeepgangwar/vms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pradeepgangwar/vms/merges","archive_url":"https://api.github.com/repos/pradeepgangwar/vms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pradeepgangwar/vms/downloads","issues_url":"https://api.github.com/repos/pradeepgangwar/vms/issues{/number}","pulls_url":"https://api.github.com/repos/pradeepgangwar/vms/pulls{/number}","milestones_url":"https://api.github.com/repos/pradeepgangwar/vms/milestones{/number}","notifications_url":"https://api.github.com/repos/pradeepgangwar/vms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pradeepgangwar/vms/labels{/name}","releases_url":"https://api.github.com/repos/pradeepgangwar/vms/releases{/id}","deployments_url":"https://api.github.com/repos/pradeepgangwar/vms/deployments","created_at":"2017-11-10T19:25:56Z","updated_at":"2017-11-10T19:25:58Z","pushed_at":"2018-02-09T23:01:22Z","git_url":"git://github.com/pradeepgangwar/vms.git","ssh_url":"git@github.com:pradeepgangwar/vms.git","clone_url":"https://github.com/pradeepgangwar/vms.git","svn_url":"https://github.com/pradeepgangwar/vms","homepage":null,"size":2778,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"systers:develop","ref":"develop","sha":"587ba0abd82fb234b2779131d0eaca597edb0338","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":19032264,"name":"vms","full_name":"systers/vms","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/vms","description":"Volunteer Management System","fork":false,"url":"https://api.github.com/repos/systers/vms","forks_url":"https://api.github.com/repos/systers/vms/forks","keys_url":"https://api.github.com/repos/systers/vms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/vms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/vms/teams","hooks_url":"https://api.github.com/repos/systers/vms/hooks","issue_events_url":"https://api.github.com/repos/systers/vms/issues/events{/number}","events_url":"https://api.github.com/repos/systers/vms/events","assignees_url":"https://api.github.com/repos/systers/vms/assignees{/user}","branches_url":"https://api.github.com/repos/systers/vms/branches{/branch}","tags_url":"https://api.github.com/repos/systers/vms/tags","blobs_url":"https://api.github.com/repos/systers/vms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/vms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/vms/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/vms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/vms/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/vms/languages","stargazers_url":"https://api.github.com/repos/systers/vms/stargazers","contributors_url":"https://api.github.com/repos/systers/vms/contributors","subscribers_url":"https://api.github.com/repos/systers/vms/subscribers","subscription_url":"https://api.github.com/repos/systers/vms/subscription","commits_url":"https://api.github.com/repos/systers/vms/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/vms/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/vms/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/vms/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/vms/contents/{+path}","compare_url":"https://api.github.com/repos/systers/vms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/vms/merges","archive_url":"https://api.github.com/repos/systers/vms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/vms/downloads","issues_url":"https://api.github.com/repos/systers/vms/issues{/number}","pulls_url":"https://api.github.com/repos/systers/vms/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/vms/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/vms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/vms/labels{/name}","releases_url":"https://api.github.com/repos/systers/vms/releases{/id}","deployments_url":"https://api.github.com/repos/systers/vms/deployments","created_at":"2014-04-22T14:13:57Z","updated_at":"2018-02-08T19:33:17Z","pushed_at":"2018-02-09T23:01:23Z","git_url":"git://github.com/systers/vms.git","ssh_url":"git@github.com:systers/vms.git","clone_url":"https://github.com/systers/vms.git","svn_url":"https://github.com/systers/vms","homepage":null,"size":2780,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"archived":false,"open_issues_count":113,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":118,"open_issues":113,"watchers":44,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/vms/pulls/606"},"html":{"href":"https://github.com/systers/vms/pull/606"},"issue":{"href":"https://api.github.com/repos/systers/vms/issues/606"},"comments":{"href":"https://api.github.com/repos/systers/vms/issues/606/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/vms/pulls/606/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/vms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/vms/pulls/606/commits"},"statuses":{"href":"https://api.github.com/repos/systers/vms/statuses/702050fa76d48bb4447fe75c23e2357c95a6799a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tonythomas01"}}