{"action":"created","comment":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments/28884404","id":28884404,"diff_hunk":"@@ -86,3 +86,22 @@ Then, you declare the engine service based on the new class and set the ``templa\n                 - @request_stack\n                 - %open_orchestra_front.devices%\n             alias: templating\n+\n+Device detection\n+----------------\n+\n+`Wurfl librairy`_ test the User-Agent and normalize devices,\n+the server entry point (webserver or reverse-proxy) must add a parameters ``x-ua-device`` to the request header with the device.\n+\n+For example if you have a configuration with different templates between phone and tablet,\n+the parameter ``x-ua-device`` needs to be equal to phone or tablet to display the correct template.\n+\n+Open Orchestra tests the ``x-ua-device`` parameter gotten from the request header,\n+in the FrontBundle trait which overrides the ``TwigEngine::render()`` method.","path":"en/developer_guide/multi_device.rst","position":24,"original_position":24,"commit_id":"69715fa413c6b3e947b6382585a99df15eff5256","original_commit_id":"69715fa413c6b3e947b6382585a99df15eff5256","user":{"login":"itkg-ngilain","id":6725138,"avatar_url":"https://avatars.githubusercontent.com/u/6725138?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-ngilain","html_url":"https://github.com/itkg-ngilain","followers_url":"https://api.github.com/users/itkg-ngilain/followers","following_url":"https://api.github.com/users/itkg-ngilain/following{/other_user}","gists_url":"https://api.github.com/users/itkg-ngilain/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-ngilain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-ngilain/subscriptions","organizations_url":"https://api.github.com/users/itkg-ngilain/orgs","repos_url":"https://api.github.com/users/itkg-ngilain/repos","events_url":"https://api.github.com/users/itkg-ngilain/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-ngilain/received_events","type":"User","site_admin":false},"body":"FrontBundle trait overriding the","created_at":"2015-04-22T15:36:20Z","updated_at":"2015-04-22T15:36:20Z","html_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/33#discussion_r28884404","pull_request_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments/28884404"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-docs/pull/33#discussion_r28884404"},"pull_request":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33","id":33759317,"html_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/33","diff_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/33.diff","patch_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/33.patch","issue_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/33","number":33,"state":"open","locked":false,"title":"add blocks cache control","user":{"login":"itkg-bfouche","id":7221892,"avatar_url":"https://avatars.githubusercontent.com/u/7221892?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-bfouche","html_url":"https://github.com/itkg-bfouche","followers_url":"https://api.github.com/users/itkg-bfouche/followers","following_url":"https://api.github.com/users/itkg-bfouche/following{/other_user}","gists_url":"https://api.github.com/users/itkg-bfouche/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-bfouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-bfouche/subscriptions","organizations_url":"https://api.github.com/users/itkg-bfouche/orgs","repos_url":"https://api.github.com/users/itkg-bfouche/repos","events_url":"https://api.github.com/users/itkg-bfouche/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-bfouche/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T13:11:44Z","updated_at":"2015-04-22T15:36:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cf5b65b3e9d2d1b3d7b8afd0ac0c0a9fa4b8584","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33/commits","review_comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33/comments","review_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/33/comments","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/69715fa413c6b3e947b6382585a99df15eff5256","head":{"label":"open-orchestra:add_blocks_cache_control","ref":"add_blocks_cache_control","sha":"69715fa413c6b3e947b6382585a99df15eff5256","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":33729445,"name":"open-orchestra-docs","full_name":"open-orchestra/open-orchestra-docs","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-docs","description":"The Open Orchestra project documentation","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/releases{/id}","created_at":"2015-04-10T13:19:49Z","updated_at":"2015-04-14T17:18:07Z","pushed_at":"2015-04-22T15:34:01Z","git_url":"git://github.com/open-orchestra/open-orchestra-docs.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-docs.git","clone_url":"https://github.com/open-orchestra/open-orchestra-docs.git","svn_url":"https://github.com/open-orchestra/open-orchestra-docs","homepage":null,"size":1996,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"base":{"label":"open-orchestra:master","ref":"master","sha":"1989c8dd1893880f714a553fe92f3ac33322e883","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":33729445,"name":"open-orchestra-docs","full_name":"open-orchestra/open-orchestra-docs","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-docs","description":"The Open Orchestra project documentation","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/releases{/id}","created_at":"2015-04-10T13:19:49Z","updated_at":"2015-04-14T17:18:07Z","pushed_at":"2015-04-22T15:34:01Z","git_url":"git://github.com/open-orchestra/open-orchestra-docs.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-docs.git","clone_url":"https://github.com/open-orchestra/open-orchestra-docs.git","svn_url":"https://github.com/open-orchestra/open-orchestra-docs","homepage":null,"size":1996,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-docs/pull/33"},"issue":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/33"},"comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/69715fa413c6b3e947b6382585a99df15eff5256"}}}}