{"action":"created","comment":{"url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments/128491021","pull_request_review_id":51174647,"id":128491021,"diff_hunk":"@@ -59,6 +59,23 @@ def record_media_items(record, options = {})\n     Document::RecordPresenter.new(record, controller).media_web_resources(options).map(&:media_item)\n   end\n \n+  def record_annotations(annotations)\n+    {\n+      title: 'annotations',\n+      info: '/portal/en/annotations.html',\n+      sections: {\n+        title: 'Relations',\n+        items: annotations.map { |annotation|","path":"app/helpers/record_helper.rb","position":10,"original_position":10,"commit_id":"3fed2b7a1e0c0b83de01ae982edd72649bf3fdc7","original_commit_id":"3fed2b7a1e0c0b83de01ae982edd72649bf3fdc7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Avoid using {...} for multi-line blocks.","created_at":"2017-07-20T11:36:15Z","updated_at":"2017-07-20T11:36:15Z","html_url":"https://github.com/europeana/europeana-portal-collections/pull/934#discussion_r128491021","pull_request_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934","_links":{"self":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments/128491021"},"html":{"href":"https://github.com/europeana/europeana-portal-collections/pull/934#discussion_r128491021"},"pull_request":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934"}}},"pull_request":{"url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934","id":131532454,"html_url":"https://github.com/europeana/europeana-portal-collections/pull/934","diff_url":"https://github.com/europeana/europeana-portal-collections/pull/934.diff","patch_url":"https://github.com/europeana/europeana-portal-collections/pull/934.patch","issue_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/934","number":934,"state":"open","locked":false,"title":"Feat/1877 annotations ajax","user":{"login":"lbiedinger","id":1177719,"avatar_url":"https://avatars3.githubusercontent.com/u/1177719?v=4","gravatar_id":"","url":"https://api.github.com/users/lbiedinger","html_url":"https://github.com/lbiedinger","followers_url":"https://api.github.com/users/lbiedinger/followers","following_url":"https://api.github.com/users/lbiedinger/following{/other_user}","gists_url":"https://api.github.com/users/lbiedinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lbiedinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbiedinger/subscriptions","organizations_url":"https://api.github.com/users/lbiedinger/orgs","repos_url":"https://api.github.com/users/lbiedinger/repos","events_url":"https://api.github.com/users/lbiedinger/events{/privacy}","received_events_url":"https://api.github.com/users/lbiedinger/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-20T11:36:05Z","updated_at":"2017-07-20T11:36:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aacc1ec242dcdd0ab0a39ecf6c1080e6204aa91a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934/commits","review_comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934/comments","review_comment_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments{/number}","comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/934/comments","statuses_url":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/3fed2b7a1e0c0b83de01ae982edd72649bf3fdc7","head":{"label":"europeana:feat/1877-annotations-ajax","ref":"feat/1877-annotations-ajax","sha":"3fed2b7a1e0c0b83de01ae982edd72649bf3fdc7","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars3.githubusercontent.com/u/4570681?v=4","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":27171162,"name":"europeana-portal-collections","full_name":"europeana/europeana-portal-collections","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars3.githubusercontent.com/u/4570681?v=4","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/europeana-portal-collections","description":"Europeana Collections portal as a Rails + Blacklight application.","fork":false,"url":"https://api.github.com/repos/europeana/europeana-portal-collections","forks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/forks","keys_url":"https://api.github.com/repos/europeana/europeana-portal-collections/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/europeana-portal-collections/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/europeana-portal-collections/teams","hooks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/hooks","issue_events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/events","assignees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/europeana-portal-collections/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/tags","blobs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/europeana-portal-collections/languages","stargazers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/stargazers","contributors_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contributors","subscribers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscribers","subscription_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscription","commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/europeana-portal-collections/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/europeana-portal-collections/merges","archive_url":"https://api.github.com/repos/europeana/europeana-portal-collections/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/europeana-portal-collections/downloads","issues_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/europeana-portal-collections/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/europeana-portal-collections/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/europeana-portal-collections/labels{/name}","releases_url":"https://api.github.com/repos/europeana/europeana-portal-collections/releases{/id}","deployments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/deployments","created_at":"2014-11-26T10:14:22Z","updated_at":"2017-06-01T08:44:31Z","pushed_at":"2017-07-20T11:36:06Z","git_url":"git://github.com/europeana/europeana-portal-collections.git","ssh_url":"git@github.com:europeana/europeana-portal-collections.git","clone_url":"https://github.com/europeana/europeana-portal-collections.git","svn_url":"https://github.com/europeana/europeana-portal-collections","homepage":"http://www.europeana.eu/portal","size":4413,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":14,"default_branch":"develop"}},"base":{"label":"europeana:develop","ref":"develop","sha":"96d091d46d2fcdb79af31ac99f1e4dfbbd2d8569","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars3.githubusercontent.com/u/4570681?v=4","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":27171162,"name":"europeana-portal-collections","full_name":"europeana/europeana-portal-collections","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars3.githubusercontent.com/u/4570681?v=4","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/europeana-portal-collections","description":"Europeana Collections portal as a Rails + Blacklight application.","fork":false,"url":"https://api.github.com/repos/europeana/europeana-portal-collections","forks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/forks","keys_url":"https://api.github.com/repos/europeana/europeana-portal-collections/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/europeana-portal-collections/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/europeana-portal-collections/teams","hooks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/hooks","issue_events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/events","assignees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/europeana-portal-collections/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/tags","blobs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/europeana-portal-collections/languages","stargazers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/stargazers","contributors_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contributors","subscribers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscribers","subscription_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscription","commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/europeana-portal-collections/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/europeana-portal-collections/merges","archive_url":"https://api.github.com/repos/europeana/europeana-portal-collections/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/europeana-portal-collections/downloads","issues_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/europeana-portal-collections/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/europeana-portal-collections/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/europeana-portal-collections/labels{/name}","releases_url":"https://api.github.com/repos/europeana/europeana-portal-collections/releases{/id}","deployments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/deployments","created_at":"2014-11-26T10:14:22Z","updated_at":"2017-06-01T08:44:31Z","pushed_at":"2017-07-20T11:36:06Z","git_url":"git://github.com/europeana/europeana-portal-collections.git","ssh_url":"git@github.com:europeana/europeana-portal-collections.git","clone_url":"https://github.com/europeana/europeana-portal-collections.git","svn_url":"https://github.com/europeana/europeana-portal-collections","homepage":"http://www.europeana.eu/portal","size":4413,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":14,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934"},"html":{"href":"https://github.com/europeana/europeana-portal-collections/pull/934"},"issue":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/934"},"comments":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/934/comments"},"review_comments":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934/comments"},"review_comment":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/934/commits"},"statuses":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/3fed2b7a1e0c0b83de01ae982edd72649bf3fdc7"}}}}
{"actor":{"display_login":"houndci-bot"}}