{"action":"created","comment":{"url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/comments/225081679","pull_request_review_id":164601572,"id":225081679,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTA4MTY3OQ==","diff_hunk":"@@ -92,7 +91,22 @@ <h3 class=\"govuk-heading-m\">Event overview</h3>\n             </div>\n             <div class=\"course-attendees\">\n               <h3 class=\"govuk-heading-m\">Course attendees</h3>\n-              {% if course.attendees > 0 %}\n+              {% if eventRecord.length > 0 %}\n+                <ul class=\"attendees headers\">\n+                  <li class=\"list-headers\"><p class=\"govuk-body header title\"><strong>Name</strong></p><p class=\"govuk-body header payment\"><strong>Payment</strong></p><span class=\"button-header\"></span></li>\n+                </ul>\n+                <ul class=\"attendees list\">\n+                  {% for attendee in eventRecord %}\n+                      {% if attendee.status === 0 %}\n+                        {% set payment = \"Booked\" %}\n+                      {% elif attendee.status === 1 %}\n+                        {% set payment = \"Cancelled\" %}\n+                      {% elif attendee.status === 2 %} \n+                         {% set payment = \"Pending\" %}\n+                      {% endif %}\n+                      <li class=\"list-details\"><p class=\"govuk-body title\">{{ attendee.delegateEmailAddress}}</p><p class=\"govuk-body payment\">{{ payment }}</p><p class=\"buttons govuk-body\"><a class=\"govuk-link\" href=\"#\">View</a></p></li>\n+                  {% endfor %}","path":"views/page/course/module/events/events-overview.html","position":27,"original_position":27,"commit_id":"a46524e390cea4552d67658867b17c8e15a82f99","original_commit_id":"a46524e390cea4552d67658867b17c8e15a82f99","user":{"login":"m24murray","id":11790473,"node_id":"MDQ6VXNlcjExNzkwNDcz","avatar_url":"https://avatars2.githubusercontent.com/u/11790473?v=4","gravatar_id":"","url":"https://api.github.com/users/m24murray","html_url":"https://github.com/m24murray","followers_url":"https://api.github.com/users/m24murray/followers","following_url":"https://api.github.com/users/m24murray/following{/other_user}","gists_url":"https://api.github.com/users/m24murray/gists{/gist_id}","starred_url":"https://api.github.com/users/m24murray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m24murray/subscriptions","organizations_url":"https://api.github.com/users/m24murray/orgs","repos_url":"https://api.github.com/users/m24murray/repos","events_url":"https://api.github.com/users/m24murray/events{/privacy}","received_events_url":"https://api.github.com/users/m24murray/received_events","type":"User","site_admin":false},"body":"Where should the href be going to here?","created_at":"2018-10-15T08:41:48Z","updated_at":"2018-10-15T08:41:48Z","html_url":"https://github.com/Civil-Service-Human-Resources/lpg-management/pull/92#discussion_r225081679","pull_request_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/comments/225081679"},"html":{"href":"https://github.com/Civil-Service-Human-Resources/lpg-management/pull/92#discussion_r225081679"},"pull_request":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92","id":222091282,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMDkxMjgy","html_url":"https://github.com/Civil-Service-Human-Resources/lpg-management/pull/92","diff_url":"https://github.com/Civil-Service-Human-Resources/lpg-management/pull/92.diff","patch_url":"https://github.com/Civil-Service-Human-Resources/lpg-management/pull/92.patch","issue_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/92","number":92,"state":"open","locked":false,"title":"Lpfg 828 Attendee list on event overview page","user":{"login":"mick-jones","id":41327919,"node_id":"MDQ6VXNlcjQxMzI3OTE5","avatar_url":"https://avatars0.githubusercontent.com/u/41327919?v=4","gravatar_id":"","url":"https://api.github.com/users/mick-jones","html_url":"https://github.com/mick-jones","followers_url":"https://api.github.com/users/mick-jones/followers","following_url":"https://api.github.com/users/mick-jones/following{/other_user}","gists_url":"https://api.github.com/users/mick-jones/gists{/gist_id}","starred_url":"https://api.github.com/users/mick-jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mick-jones/subscriptions","organizations_url":"https://api.github.com/users/mick-jones/orgs","repos_url":"https://api.github.com/users/mick-jones/repos","events_url":"https://api.github.com/users/mick-jones/events{/privacy}","received_events_url":"https://api.github.com/users/mick-jones/received_events","type":"User","site_admin":false},"body":"- Added new _events-overview stylesheet with styles for attendee list\r\n- Added attendee listing on events overview page. \r\n- Mobile responsiveness added","created_at":"2018-10-11T10:48:55Z","updated_at":"2018-10-15T08:41:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8da971b87f9f1fd02722ef0e48b5b5f9483f129d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"elxsy","id":36735726,"node_id":"MDQ6VXNlcjM2NzM1NzI2","avatar_url":"https://avatars2.githubusercontent.com/u/36735726?v=4","gravatar_id":"","url":"https://api.github.com/users/elxsy","html_url":"https://github.com/elxsy","followers_url":"https://api.github.com/users/elxsy/followers","following_url":"https://api.github.com/users/elxsy/following{/other_user}","gists_url":"https://api.github.com/users/elxsy/gists{/gist_id}","starred_url":"https://api.github.com/users/elxsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elxsy/subscriptions","organizations_url":"https://api.github.com/users/elxsy/orgs","repos_url":"https://api.github.com/users/elxsy/repos","events_url":"https://api.github.com/users/elxsy/events{/privacy}","received_events_url":"https://api.github.com/users/elxsy/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92/commits","review_comments_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92/comments","review_comment_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/92/comments","statuses_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/statuses/a46524e390cea4552d67658867b17c8e15a82f99","head":{"label":"Civil-Service-Human-Resources:LPFG-828","ref":"LPFG-828","sha":"a46524e390cea4552d67658867b17c8e15a82f99","user":{"login":"Civil-Service-Human-Resources","id":34069677,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDY5Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/34069677?v=4","gravatar_id":"","url":"https://api.github.com/users/Civil-Service-Human-Resources","html_url":"https://github.com/Civil-Service-Human-Resources","followers_url":"https://api.github.com/users/Civil-Service-Human-Resources/followers","following_url":"https://api.github.com/users/Civil-Service-Human-Resources/following{/other_user}","gists_url":"https://api.github.com/users/Civil-Service-Human-Resources/gists{/gist_id}","starred_url":"https://api.github.com/users/Civil-Service-Human-Resources/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Civil-Service-Human-Resources/subscriptions","organizations_url":"https://api.github.com/users/Civil-Service-Human-Resources/orgs","repos_url":"https://api.github.com/users/Civil-Service-Human-Resources/repos","events_url":"https://api.github.com/users/Civil-Service-Human-Resources/events{/privacy}","received_events_url":"https://api.github.com/users/Civil-Service-Human-Resources/received_events","type":"Organization","site_admin":false},"repo":{"id":139962221,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NjIyMjE=","name":"lpg-management","full_name":"Civil-Service-Human-Resources/lpg-management","private":false,"owner":{"login":"Civil-Service-Human-Resources","id":34069677,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDY5Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/34069677?v=4","gravatar_id":"","url":"https://api.github.com/users/Civil-Service-Human-Resources","html_url":"https://github.com/Civil-Service-Human-Resources","followers_url":"https://api.github.com/users/Civil-Service-Human-Resources/followers","following_url":"https://api.github.com/users/Civil-Service-Human-Resources/following{/other_user}","gists_url":"https://api.github.com/users/Civil-Service-Human-Resources/gists{/gist_id}","starred_url":"https://api.github.com/users/Civil-Service-Human-Resources/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Civil-Service-Human-Resources/subscriptions","organizations_url":"https://api.github.com/users/Civil-Service-Human-Resources/orgs","repos_url":"https://api.github.com/users/Civil-Service-Human-Resources/repos","events_url":"https://api.github.com/users/Civil-Service-Human-Resources/events{/privacy}","received_events_url":"https://api.github.com/users/Civil-Service-Human-Resources/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Civil-Service-Human-Resources/lpg-management","description":"Admin service for LPG","fork":false,"url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management","forks_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/forks","keys_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/teams","hooks_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/hooks","issue_events_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/events{/number}","events_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/events","assignees_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/assignees{/user}","branches_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/branches{/branch}","tags_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/tags","blobs_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/refs{/sha}","trees_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/statuses/{sha}","languages_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/languages","stargazers_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/stargazers","contributors_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/contributors","subscribers_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/subscribers","subscription_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/subscription","commits_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/commits{/sha}","git_commits_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/commits{/sha}","comments_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/comments{/number}","issue_comment_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/comments{/number}","contents_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/contents/{+path}","compare_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/merges","archive_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/downloads","issues_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues{/number}","pulls_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls{/number}","milestones_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/milestones{/number}","notifications_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/labels{/name}","releases_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/releases{/id}","deployments_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/deployments","created_at":"2018-07-06T09:16:35Z","updated_at":"2018-10-12T13:47:14Z","pushed_at":"2018-10-12T15:59:27Z","git_url":"git://github.com/Civil-Service-Human-Resources/lpg-management.git","ssh_url":"git@github.com:Civil-Service-Human-Resources/lpg-management.git","clone_url":"https://github.com/Civil-Service-Human-Resources/lpg-management.git","svn_url":"https://github.com/Civil-Service-Human-Resources/lpg-management","homepage":null,"size":1872,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Civil-Service-Human-Resources:master","ref":"master","sha":"a4037000668da4b001fb4f0ea326630c8295ebe5","user":{"login":"Civil-Service-Human-Resources","id":34069677,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDY5Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/34069677?v=4","gravatar_id":"","url":"https://api.github.com/users/Civil-Service-Human-Resources","html_url":"https://github.com/Civil-Service-Human-Resources","followers_url":"https://api.github.com/users/Civil-Service-Human-Resources/followers","following_url":"https://api.github.com/users/Civil-Service-Human-Resources/following{/other_user}","gists_url":"https://api.github.com/users/Civil-Service-Human-Resources/gists{/gist_id}","starred_url":"https://api.github.com/users/Civil-Service-Human-Resources/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Civil-Service-Human-Resources/subscriptions","organizations_url":"https://api.github.com/users/Civil-Service-Human-Resources/orgs","repos_url":"https://api.github.com/users/Civil-Service-Human-Resources/repos","events_url":"https://api.github.com/users/Civil-Service-Human-Resources/events{/privacy}","received_events_url":"https://api.github.com/users/Civil-Service-Human-Resources/received_events","type":"Organization","site_admin":false},"repo":{"id":139962221,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NjIyMjE=","name":"lpg-management","full_name":"Civil-Service-Human-Resources/lpg-management","private":false,"owner":{"login":"Civil-Service-Human-Resources","id":34069677,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MDY5Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/34069677?v=4","gravatar_id":"","url":"https://api.github.com/users/Civil-Service-Human-Resources","html_url":"https://github.com/Civil-Service-Human-Resources","followers_url":"https://api.github.com/users/Civil-Service-Human-Resources/followers","following_url":"https://api.github.com/users/Civil-Service-Human-Resources/following{/other_user}","gists_url":"https://api.github.com/users/Civil-Service-Human-Resources/gists{/gist_id}","starred_url":"https://api.github.com/users/Civil-Service-Human-Resources/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Civil-Service-Human-Resources/subscriptions","organizations_url":"https://api.github.com/users/Civil-Service-Human-Resources/orgs","repos_url":"https://api.github.com/users/Civil-Service-Human-Resources/repos","events_url":"https://api.github.com/users/Civil-Service-Human-Resources/events{/privacy}","received_events_url":"https://api.github.com/users/Civil-Service-Human-Resources/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Civil-Service-Human-Resources/lpg-management","description":"Admin service for LPG","fork":false,"url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management","forks_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/forks","keys_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/teams","hooks_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/hooks","issue_events_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/events{/number}","events_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/events","assignees_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/assignees{/user}","branches_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/branches{/branch}","tags_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/tags","blobs_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/refs{/sha}","trees_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/statuses/{sha}","languages_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/languages","stargazers_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/stargazers","contributors_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/contributors","subscribers_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/subscribers","subscription_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/subscription","commits_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/commits{/sha}","git_commits_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/git/commits{/sha}","comments_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/comments{/number}","issue_comment_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/comments{/number}","contents_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/contents/{+path}","compare_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/merges","archive_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/downloads","issues_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues{/number}","pulls_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls{/number}","milestones_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/milestones{/number}","notifications_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/labels{/name}","releases_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/releases{/id}","deployments_url":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/deployments","created_at":"2018-07-06T09:16:35Z","updated_at":"2018-10-12T13:47:14Z","pushed_at":"2018-10-12T15:59:27Z","git_url":"git://github.com/Civil-Service-Human-Resources/lpg-management.git","ssh_url":"git@github.com:Civil-Service-Human-Resources/lpg-management.git","clone_url":"https://github.com/Civil-Service-Human-Resources/lpg-management.git","svn_url":"https://github.com/Civil-Service-Human-Resources/lpg-management","homepage":null,"size":1872,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92"},"html":{"href":"https://github.com/Civil-Service-Human-Resources/lpg-management/pull/92"},"issue":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/92"},"comments":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/Civil-Service-Human-Resources/lpg-management/statuses/a46524e390cea4552d67658867b17c8e15a82f99"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"m24murray"}}