{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/comments/26388364","id":26388364,"diff_hunk":"@@ -0,0 +1,31 @@\n+<div id=\"recommendation-{{ recommendationId }}\" class=\"ez-recommendation\">\n+    {{ 'Loading recommended items...'|trans }}\n+</div>\n+\n+<script id=\"recommendation-template-{{ recommendationId }}\" type=\"text/x-handlebars-template\">\n+    {{ template|raw }}\n+</script>\n+\n+<script>\n+    (function() {\n+        var recoClient{{ recommendationId }} = new EzRecoRestClient({\n+            scenarioId: '{{ scenarioId }}',\n+            locationId: '{{ locationId }}',\n+            limit: '{{ limit }}',\n+            restUrl: '/recommendations/fetch' // TODO: dynamically replace with path from routing.yml","path":"Resources/public/views/recommendations.html.twig","position":null,"original_position":15,"commit_id":"f6e358ee1cecadd74bdc81b0b652415cc2b2fe7c","original_commit_id":"946607e78cb9bfa11c60654cdf4b6fc66bd643a4","user":{"login":"bdunogier","id":235928,"avatar_url":"https://avatars.githubusercontent.com/u/235928?v=3","gravatar_id":"","url":"https://api.github.com/users/bdunogier","html_url":"https://github.com/bdunogier","followers_url":"https://api.github.com/users/bdunogier/followers","following_url":"https://api.github.com/users/bdunogier/following{/other_user}","gists_url":"https://api.github.com/users/bdunogier/gists{/gist_id}","starred_url":"https://api.github.com/users/bdunogier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdunogier/subscriptions","organizations_url":"https://api.github.com/users/bdunogier/orgs","repos_url":"https://api.github.com/users/bdunogier/repos","events_url":"https://api.github.com/users/bdunogier/events{/privacy}","received_events_url":"https://api.github.com/users/bdunogier/received_events","type":"User","site_admin":false},"body":"This particular use-case is supposedly handled by the {{path}} twig function, right inside the template.","created_at":"2015-03-13T14:16:21Z","updated_at":"2015-03-13T14:16:21Z","html_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle/pull/10#discussion_r26388364","pull_request_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/comments/26388364"},"html":{"href":"https://github.com/ezsystems/EzSystemsRecommendationBundle/pull/10#discussion_r26388364"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10","id":31025638,"html_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle/pull/10","diff_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle/pull/10.diff","patch_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle/pull/10.patch","issue_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues/10","number":10,"state":"open","locked":false,"title":"EZP-24016: Prototype RecommendationBundle integration with DemoBundle","user":{"login":"clash82","id":3033038,"avatar_url":"https://avatars.githubusercontent.com/u/3033038?v=3","gravatar_id":"","url":"https://api.github.com/users/clash82","html_url":"https://github.com/clash82","followers_url":"https://api.github.com/users/clash82/followers","following_url":"https://api.github.com/users/clash82/following{/other_user}","gists_url":"https://api.github.com/users/clash82/gists{/gist_id}","starred_url":"https://api.github.com/users/clash82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clash82/subscriptions","organizations_url":"https://api.github.com/users/clash82/orgs","repos_url":"https://api.github.com/users/clash82/repos","events_url":"https://api.github.com/users/clash82/events{/privacy}","received_events_url":"https://api.github.com/users/clash82/received_events","type":"User","site_admin":false},"body":"Link to Jira task: https://jira.ez.no/browse/EZP-24016\r\n\r\nNote: instructions on how to use it on DemoBundle will be added later.","created_at":"2015-03-12T11:02:38Z","updated_at":"2015-03-13T14:16:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f35befd67617d13a6f0dda5e12e15447dc00eaa4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues/10/comments","statuses_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/statuses/f6e358ee1cecadd74bdc81b0b652415cc2b2fe7c","head":{"label":"clash82:demoreco","ref":"demoreco","sha":"f6e358ee1cecadd74bdc81b0b652415cc2b2fe7c","user":{"login":"clash82","id":3033038,"avatar_url":"https://avatars.githubusercontent.com/u/3033038?v=3","gravatar_id":"","url":"https://api.github.com/users/clash82","html_url":"https://github.com/clash82","followers_url":"https://api.github.com/users/clash82/followers","following_url":"https://api.github.com/users/clash82/following{/other_user}","gists_url":"https://api.github.com/users/clash82/gists{/gist_id}","starred_url":"https://api.github.com/users/clash82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clash82/subscriptions","organizations_url":"https://api.github.com/users/clash82/orgs","repos_url":"https://api.github.com/users/clash82/repos","events_url":"https://api.github.com/users/clash82/events{/privacy}","received_events_url":"https://api.github.com/users/clash82/received_events","type":"User","site_admin":false},"repo":{"id":31544283,"name":"EzSystemsRecommendationBundle","full_name":"clash82/EzSystemsRecommendationBundle","owner":{"login":"clash82","id":3033038,"avatar_url":"https://avatars.githubusercontent.com/u/3033038?v=3","gravatar_id":"","url":"https://api.github.com/users/clash82","html_url":"https://github.com/clash82","followers_url":"https://api.github.com/users/clash82/followers","following_url":"https://api.github.com/users/clash82/following{/other_user}","gists_url":"https://api.github.com/users/clash82/gists{/gist_id}","starred_url":"https://api.github.com/users/clash82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clash82/subscriptions","organizations_url":"https://api.github.com/users/clash82/orgs","repos_url":"https://api.github.com/users/clash82/repos","events_url":"https://api.github.com/users/clash82/events{/privacy}","received_events_url":"https://api.github.com/users/clash82/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clash82/EzSystemsRecommendationBundle","description":"Integration of YooChoose, a content recommendation solution, into eZ Platform","fork":true,"url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle","forks_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/forks","keys_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/teams","hooks_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/hooks","issue_events_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/issues/events{/number}","events_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/events","assignees_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/assignees{/user}","branches_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/branches{/branch}","tags_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/tags","blobs_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/languages","stargazers_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/stargazers","contributors_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/contributors","subscribers_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/subscribers","subscription_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/subscription","commits_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/contents/{+path}","compare_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/merges","archive_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/downloads","issues_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/issues{/number}","pulls_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/labels{/name}","releases_url":"https://api.github.com/repos/clash82/EzSystemsRecommendationBundle/releases{/id}","created_at":"2015-03-02T14:33:04Z","updated_at":"2015-03-02T14:33:04Z","pushed_at":"2015-03-13T13:16:32Z","git_url":"git://github.com/clash82/EzSystemsRecommendationBundle.git","ssh_url":"git@github.com:clash82/EzSystemsRecommendationBundle.git","clone_url":"https://github.com/clash82/EzSystemsRecommendationBundle.git","svn_url":"https://github.com/clash82/EzSystemsRecommendationBundle","homepage":null,"size":127,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"566cbc2b8b2720dd29dc54135eee1ba13e5e5459","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":27641523,"name":"EzSystemsRecommendationBundle","full_name":"ezsystems/EzSystemsRecommendationBundle","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle","description":"Integration of YooChoose, a content recommendation solution, into eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle","forks_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/forks","keys_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/teams","hooks_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/events","assignees_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/tags","blobs_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/languages","stargazers_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/subscription","commits_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/merges","archive_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/downloads","issues_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/releases{/id}","created_at":"2014-12-06T16:56:48Z","updated_at":"2015-01-30T10:41:52Z","pushed_at":"2015-01-30T10:41:52Z","git_url":"git://github.com/ezsystems/EzSystemsRecommendationBundle.git","ssh_url":"git@github.com:ezsystems/EzSystemsRecommendationBundle.git","clone_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle.git","svn_url":"https://github.com/ezsystems/EzSystemsRecommendationBundle","homepage":null,"size":442,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10"},"html":{"href":"https://github.com/ezsystems/EzSystemsRecommendationBundle/pull/10"},"issue":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues/10"},"comments":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/EzSystemsRecommendationBundle/statuses/f6e358ee1cecadd74bdc81b0b652415cc2b2fe7c"}}}}