{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/comments/58224931","id":58224931,"diff_hunk":"@@ -0,0 +1,36 @@\n+.container\n+  .row\n+    .col-md-10.col-md-offset-1\n+      .page-header\n+        %h1\n+          Registrations (#{@event_registrations.length}/#{@event.max_attendees})\n+        .text-muted\n+          for\n+          = @event.title\n+\n+      .well\n+        %table.table.table-hover.table-borderd.table-striped.datatable#registrations\n+          %thead\n+            %th\n+            %th Name\n+            %th Email\n+            %th Created AT\n+            %th Attended\n+            %th Attended Conference\n+          %tbody\n+            - @event_registrations.each_with_index do |event_registration, index|","path":"app/views/proposal/registrations.html.haml","position":21,"original_position":21,"commit_id":"cf0687e8663f39466d786e9007d4ae2e4a0e27c7","original_commit_id":"cf0687e8663f39466d786e9007d4ae2e4a0e27c7","user":{"login":"ChrisBr","id":3799140,"avatar_url":"https://avatars.githubusercontent.com/u/3799140?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBr","html_url":"https://github.com/ChrisBr","followers_url":"https://api.github.com/users/ChrisBr/followers","following_url":"https://api.github.com/users/ChrisBr/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBr/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBr/subscriptions","organizations_url":"https://api.github.com/users/ChrisBr/orgs","repos_url":"https://api.github.com/users/ChrisBr/repos","events_url":"https://api.github.com/users/ChrisBr/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBr/received_events","type":"User","site_admin":false},"body":"When you use\r\n```\r\n@event_registrations.each.with_index(1) do |event_registration, index|\r\n```\r\nyou could drop the ``index + 1`` in the table row!\r\n","created_at":"2016-04-01T15:46:13Z","updated_at":"2016-04-01T15:46:13Z","html_url":"https://github.com/openSUSE/osem/pull/923#discussion_r58224931","pull_request_url":"https://api.github.com/repos/openSUSE/osem/pulls/923","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments/58224931"},"html":{"href":"https://github.com/openSUSE/osem/pull/923#discussion_r58224931"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/923"}}},"pull_request":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/923","id":64317486,"html_url":"https://github.com/openSUSE/osem/pull/923","diff_url":"https://github.com/openSUSE/osem/pull/923.diff","patch_url":"https://github.com/openSUSE/osem/pull/923.patch","issue_url":"https://api.github.com/repos/openSUSE/osem/issues/923","number":923,"state":"open","locked":false,"title":"Enable event registration for proposals","user":{"login":"differentreality","id":4322737,"avatar_url":"https://avatars.githubusercontent.com/u/4322737?v=3","gravatar_id":"","url":"https://api.github.com/users/differentreality","html_url":"https://github.com/differentreality","followers_url":"https://api.github.com/users/differentreality/followers","following_url":"https://api.github.com/users/differentreality/following{/other_user}","gists_url":"https://api.github.com/users/differentreality/gists{/gist_id}","starred_url":"https://api.github.com/users/differentreality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differentreality/subscriptions","organizations_url":"https://api.github.com/users/differentreality/orgs","repos_url":"https://api.github.com/users/differentreality/repos","events_url":"https://api.github.com/users/differentreality/events{/privacy}","received_events_url":"https://api.github.com/users/differentreality/received_events","type":"User","site_admin":false},"body":"https://github.com/openSUSE/osem/issues/632\r\n\r\n* Enables event registration and setting of max attendees by submitter\r\n* Adds indication to events that require registration\r\n* Shows registration list of people for event\r\n  * Shows who attended the event (organizers can toggle attendance)\r\n* Refactors the event registration during conference registration\r\n* It validates max_attendees attribute of event against room.size, if the event is scheduled when enabling require_registration\r\n\r\nTODO: Add PDF/XLS generation of registration list","created_at":"2016-03-28T12:36:43Z","updated_at":"2016-04-01T15:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b47fb387f8a69fb138d3f08a0eda70d48462645","assignee":{"login":"hennevogel","id":514785,"avatar_url":"https://avatars.githubusercontent.com/u/514785?v=3","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/osem/pulls/923/commits","review_comments_url":"https://api.github.com/repos/openSUSE/osem/pulls/923/comments","review_comment_url":"https://api.github.com/repos/openSUSE/osem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/osem/issues/923/comments","statuses_url":"https://api.github.com/repos/openSUSE/osem/statuses/cf0687e8663f39466d786e9007d4ae2e4a0e27c7","head":{"label":"differentreality:event_registration","ref":"event_registration","sha":"cf0687e8663f39466d786e9007d4ae2e4a0e27c7","user":{"login":"differentreality","id":4322737,"avatar_url":"https://avatars.githubusercontent.com/u/4322737?v=3","gravatar_id":"","url":"https://api.github.com/users/differentreality","html_url":"https://github.com/differentreality","followers_url":"https://api.github.com/users/differentreality/followers","following_url":"https://api.github.com/users/differentreality/following{/other_user}","gists_url":"https://api.github.com/users/differentreality/gists{/gist_id}","starred_url":"https://api.github.com/users/differentreality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differentreality/subscriptions","organizations_url":"https://api.github.com/users/differentreality/orgs","repos_url":"https://api.github.com/users/differentreality/repos","events_url":"https://api.github.com/users/differentreality/events{/privacy}","received_events_url":"https://api.github.com/users/differentreality/received_events","type":"User","site_admin":false},"repo":{"id":9815207,"name":"osem","full_name":"differentreality/osem","owner":{"login":"differentreality","id":4322737,"avatar_url":"https://avatars.githubusercontent.com/u/4322737?v=3","gravatar_id":"","url":"https://api.github.com/users/differentreality","html_url":"https://github.com/differentreality","followers_url":"https://api.github.com/users/differentreality/followers","following_url":"https://api.github.com/users/differentreality/following{/other_user}","gists_url":"https://api.github.com/users/differentreality/gists{/gist_id}","starred_url":"https://api.github.com/users/differentreality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differentreality/subscriptions","organizations_url":"https://api.github.com/users/differentreality/orgs","repos_url":"https://api.github.com/users/differentreality/repos","events_url":"https://api.github.com/users/differentreality/events{/privacy}","received_events_url":"https://api.github.com/users/differentreality/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/differentreality/osem","description":"Open Source Event Manager","fork":true,"url":"https://api.github.com/repos/differentreality/osem","forks_url":"https://api.github.com/repos/differentreality/osem/forks","keys_url":"https://api.github.com/repos/differentreality/osem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/differentreality/osem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/differentreality/osem/teams","hooks_url":"https://api.github.com/repos/differentreality/osem/hooks","issue_events_url":"https://api.github.com/repos/differentreality/osem/issues/events{/number}","events_url":"https://api.github.com/repos/differentreality/osem/events","assignees_url":"https://api.github.com/repos/differentreality/osem/assignees{/user}","branches_url":"https://api.github.com/repos/differentreality/osem/branches{/branch}","tags_url":"https://api.github.com/repos/differentreality/osem/tags","blobs_url":"https://api.github.com/repos/differentreality/osem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/differentreality/osem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/differentreality/osem/git/refs{/sha}","trees_url":"https://api.github.com/repos/differentreality/osem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/differentreality/osem/statuses/{sha}","languages_url":"https://api.github.com/repos/differentreality/osem/languages","stargazers_url":"https://api.github.com/repos/differentreality/osem/stargazers","contributors_url":"https://api.github.com/repos/differentreality/osem/contributors","subscribers_url":"https://api.github.com/repos/differentreality/osem/subscribers","subscription_url":"https://api.github.com/repos/differentreality/osem/subscription","commits_url":"https://api.github.com/repos/differentreality/osem/commits{/sha}","git_commits_url":"https://api.github.com/repos/differentreality/osem/git/commits{/sha}","comments_url":"https://api.github.com/repos/differentreality/osem/comments{/number}","issue_comment_url":"https://api.github.com/repos/differentreality/osem/issues/comments{/number}","contents_url":"https://api.github.com/repos/differentreality/osem/contents/{+path}","compare_url":"https://api.github.com/repos/differentreality/osem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/differentreality/osem/merges","archive_url":"https://api.github.com/repos/differentreality/osem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/differentreality/osem/downloads","issues_url":"https://api.github.com/repos/differentreality/osem/issues{/number}","pulls_url":"https://api.github.com/repos/differentreality/osem/pulls{/number}","milestones_url":"https://api.github.com/repos/differentreality/osem/milestones{/number}","notifications_url":"https://api.github.com/repos/differentreality/osem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/differentreality/osem/labels{/name}","releases_url":"https://api.github.com/repos/differentreality/osem/releases{/id}","deployments_url":"https://api.github.com/repos/differentreality/osem/deployments","created_at":"2013-05-02T14:46:10Z","updated_at":"2015-04-22T15:53:13Z","pushed_at":"2016-03-31T21:43:30Z","git_url":"git://github.com/differentreality/osem.git","ssh_url":"git@github.com:differentreality/osem.git","clone_url":"https://github.com/differentreality/osem.git","svn_url":"https://github.com/differentreality/osem","homepage":null,"size":5806,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openSUSE:master","ref":"master","sha":"ae917abbc64e9b9f17387a8129a6e06cc8115562","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":5911225,"name":"osem","full_name":"openSUSE/osem","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/osem","description":"Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.","fork":false,"url":"https://api.github.com/repos/openSUSE/osem","forks_url":"https://api.github.com/repos/openSUSE/osem/forks","keys_url":"https://api.github.com/repos/openSUSE/osem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/osem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/osem/teams","hooks_url":"https://api.github.com/repos/openSUSE/osem/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/osem/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/osem/events","assignees_url":"https://api.github.com/repos/openSUSE/osem/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/osem/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/osem/tags","blobs_url":"https://api.github.com/repos/openSUSE/osem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/osem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/osem/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/osem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/osem/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/osem/languages","stargazers_url":"https://api.github.com/repos/openSUSE/osem/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/osem/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/osem/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/osem/subscription","commits_url":"https://api.github.com/repos/openSUSE/osem/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/osem/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/osem/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/osem/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/osem/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/osem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/osem/merges","archive_url":"https://api.github.com/repos/openSUSE/osem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/osem/downloads","issues_url":"https://api.github.com/repos/openSUSE/osem/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/osem/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/osem/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/osem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/osem/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/osem/releases{/id}","deployments_url":"https://api.github.com/repos/openSUSE/osem/deployments","created_at":"2012-09-22T07:40:18Z","updated_at":"2016-03-27T11:19:54Z","pushed_at":"2016-04-01T15:41:10Z","git_url":"git://github.com/openSUSE/osem.git","ssh_url":"git@github.com:openSUSE/osem.git","clone_url":"https://github.com/openSUSE/osem.git","svn_url":"https://github.com/openSUSE/osem","homepage":"http://osem.io","size":21854,"stargazers_count":120,"watchers_count":120,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":96,"mirror_url":null,"open_issues_count":97,"forks":96,"open_issues":97,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/923"},"html":{"href":"https://github.com/openSUSE/osem/pull/923"},"issue":{"href":"https://api.github.com/repos/openSUSE/osem/issues/923"},"comments":{"href":"https://api.github.com/repos/openSUSE/osem/issues/923/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/923/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/923/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/osem/statuses/cf0687e8663f39466d786e9007d4ae2e4a0e27c7"}}}}