{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/12","id":5150983,"html_url":"https://github.com/symfony-cmf/blog-bundle/pull/12","diff_url":"https://github.com/symfony-cmf/blog-bundle/pull/12.diff","patch_url":"https://github.com/symfony-cmf/blog-bundle/pull/12.patch","issue_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/12","number":12,"state":"closed","locked":false,"title":"[WIP] Starting support for customizing edit template","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"body":"So this PR will allow the user to specify a custom template for the post edit page.\r\n\r\ne.g. \r\n\r\n````\r\nsymfony_cmf_blog:\r\n  post_edit_template: @FooBundle:Foo:Bar.html.twig\r\n````\r\n\r\nI am not sure if there is some native way to do this in Sonata, I could only find ways of specifying templates for **all** admins. So at the moment I am doing this via. the BlogBundle DI.\r\n\r\nI have also added an example template, or I guess, a edit page \"theme\".","created_at":"2013-04-14T12:13:02Z","updated_at":"2016-04-08T06:13:40Z","closed_at":"2016-04-08T06:13:40Z","merged_at":null,"merge_commit_sha":"0ca51e533780bdfb820289bf670ddc8b11e88291","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/12/commits","review_comments_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/12/comments","review_comment_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/12/comments","statuses_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/statuses/7d5d177ab1068f0d244608981ec221259bfaf10a","head":{"label":"symfony-cmf:custom_template","ref":"custom_template","sha":"7d5d177ab1068f0d244608981ec221259bfaf10a","user":{"login":"symfony-cmf","id":342045,"avatar_url":"https://avatars.githubusercontent.com/u/342045?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony-cmf","html_url":"https://github.com/symfony-cmf","followers_url":"https://api.github.com/users/symfony-cmf/followers","following_url":"https://api.github.com/users/symfony-cmf/following{/other_user}","gists_url":"https://api.github.com/users/symfony-cmf/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony-cmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony-cmf/subscriptions","organizations_url":"https://api.github.com/users/symfony-cmf/orgs","repos_url":"https://api.github.com/users/symfony-cmf/repos","events_url":"https://api.github.com/users/symfony-cmf/events{/privacy}","received_events_url":"https://api.github.com/users/symfony-cmf/received_events","type":"Organization","site_admin":false},"repo":{"id":7897343,"name":"blog-bundle","full_name":"symfony-cmf/blog-bundle","owner":{"login":"symfony-cmf","id":342045,"avatar_url":"https://avatars.githubusercontent.com/u/342045?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony-cmf","html_url":"https://github.com/symfony-cmf","followers_url":"https://api.github.com/users/symfony-cmf/followers","following_url":"https://api.github.com/users/symfony-cmf/following{/other_user}","gists_url":"https://api.github.com/users/symfony-cmf/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony-cmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony-cmf/subscriptions","organizations_url":"https://api.github.com/users/symfony-cmf/orgs","repos_url":"https://api.github.com/users/symfony-cmf/repos","events_url":"https://api.github.com/users/symfony-cmf/events{/privacy}","received_events_url":"https://api.github.com/users/symfony-cmf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony-cmf/blog-bundle","description":"ABANDONED - to focus our efforts, this bundle is no longer maintained","fork":false,"url":"https://api.github.com/repos/symfony-cmf/blog-bundle","forks_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/forks","keys_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/teams","hooks_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/hooks","issue_events_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/events","assignees_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/tags","blobs_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/languages","stargazers_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/stargazers","contributors_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/contributors","subscribers_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/subscribers","subscription_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/subscription","commits_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/merges","archive_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/downloads","issues_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/labels{/name}","releases_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/deployments","created_at":"2013-01-29T17:34:55Z","updated_at":"2016-04-08T06:11:52Z","pushed_at":"2016-04-08T06:12:40Z","git_url":"git://github.com/symfony-cmf/blog-bundle.git","ssh_url":"git@github.com:symfony-cmf/blog-bundle.git","clone_url":"https://github.com/symfony-cmf/blog-bundle.git","svn_url":"https://github.com/symfony-cmf/blog-bundle","homepage":"http://cmf.symfony.com","size":289,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":17,"forks":35,"open_issues":17,"watchers":24,"default_branch":"master"}},"base":{"label":"symfony-cmf:master","ref":"master","sha":"c6efa1041c60c54d2661b42380f216965bcb8ab3","user":{"login":"symfony-cmf","id":342045,"avatar_url":"https://avatars.githubusercontent.com/u/342045?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony-cmf","html_url":"https://github.com/symfony-cmf","followers_url":"https://api.github.com/users/symfony-cmf/followers","following_url":"https://api.github.com/users/symfony-cmf/following{/other_user}","gists_url":"https://api.github.com/users/symfony-cmf/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony-cmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony-cmf/subscriptions","organizations_url":"https://api.github.com/users/symfony-cmf/orgs","repos_url":"https://api.github.com/users/symfony-cmf/repos","events_url":"https://api.github.com/users/symfony-cmf/events{/privacy}","received_events_url":"https://api.github.com/users/symfony-cmf/received_events","type":"Organization","site_admin":false},"repo":{"id":7897343,"name":"blog-bundle","full_name":"symfony-cmf/blog-bundle","owner":{"login":"symfony-cmf","id":342045,"avatar_url":"https://avatars.githubusercontent.com/u/342045?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony-cmf","html_url":"https://github.com/symfony-cmf","followers_url":"https://api.github.com/users/symfony-cmf/followers","following_url":"https://api.github.com/users/symfony-cmf/following{/other_user}","gists_url":"https://api.github.com/users/symfony-cmf/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony-cmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony-cmf/subscriptions","organizations_url":"https://api.github.com/users/symfony-cmf/orgs","repos_url":"https://api.github.com/users/symfony-cmf/repos","events_url":"https://api.github.com/users/symfony-cmf/events{/privacy}","received_events_url":"https://api.github.com/users/symfony-cmf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony-cmf/blog-bundle","description":"ABANDONED - to focus our efforts, this bundle is no longer maintained","fork":false,"url":"https://api.github.com/repos/symfony-cmf/blog-bundle","forks_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/forks","keys_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/teams","hooks_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/hooks","issue_events_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/events","assignees_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/tags","blobs_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/languages","stargazers_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/stargazers","contributors_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/contributors","subscribers_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/subscribers","subscription_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/subscription","commits_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/merges","archive_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/downloads","issues_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/labels{/name}","releases_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/symfony-cmf/blog-bundle/deployments","created_at":"2013-01-29T17:34:55Z","updated_at":"2016-04-08T06:11:52Z","pushed_at":"2016-04-08T06:12:40Z","git_url":"git://github.com/symfony-cmf/blog-bundle.git","ssh_url":"git@github.com:symfony-cmf/blog-bundle.git","clone_url":"https://github.com/symfony-cmf/blog-bundle.git","svn_url":"https://github.com/symfony-cmf/blog-bundle","homepage":"http://cmf.symfony.com","size":289,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":17,"forks":35,"open_issues":17,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/12"},"html":{"href":"https://github.com/symfony-cmf/blog-bundle/pull/12"},"issue":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/12"},"comments":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/symfony-cmf/blog-bundle/statuses/7d5d177ab1068f0d244608981ec221259bfaf10a"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":5,"review_comments":2,"commits":6,"additions":96,"deletions":26,"changed_files":8}}