{"action":"created","issue":{"url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle/issues/7","repository_url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle","labels_url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle/issues/7/comments","events_url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle/issues/7/events","html_url":"https://github.com/netgen/NetgenInformationCollectionBundle/issues/7","id":195756868,"number":7,"title":"Semantic configuration for email templates","user":{"login":"emodric","id":362286,"avatar_url":"https://avatars.githubusercontent.com/u/362286?v=3","gravatar_id":"","url":"https://api.github.com/users/emodric","html_url":"https://github.com/emodric","followers_url":"https://api.github.com/users/emodric/followers","following_url":"https://api.github.com/users/emodric/following{/other_user}","gists_url":"https://api.github.com/users/emodric/gists{/gist_id}","starred_url":"https://api.github.com/users/emodric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emodric/subscriptions","organizations_url":"https://api.github.com/users/emodric/orgs","repos_url":"https://api.github.com/users/emodric/repos","events_url":"https://api.github.com/users/emodric/events{/privacy}","received_events_url":"https://api.github.com/users/emodric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-15T09:33:39Z","updated_at":"2016-12-21T21:57:40Z","closed_at":"2016-12-21T21:57:40Z","body":"It would be great to have a semantic configuration for email templates, so we don't have to override the config by using container params.\r\n\r\nAs an alternative, consider using eZ Publish view layer, so you can render the template simply by rendering a sub controller, as was done in eZ Publish legacy with `collectedinfo` and `collectedinfomail` view types."},"comment":{"url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle/issues/comments/268652026","html_url":"https://github.com/netgen/NetgenInformationCollectionBundle/issues/7#issuecomment-268652026","issue_url":"https://api.github.com/repos/netgen/NetgenInformationCollectionBundle/issues/7","id":268652026,"user":{"login":"MarioBlazek","id":6605175,"avatar_url":"https://avatars.githubusercontent.com/u/6605175?v=3","gravatar_id":"","url":"https://api.github.com/users/MarioBlazek","html_url":"https://github.com/MarioBlazek","followers_url":"https://api.github.com/users/MarioBlazek/followers","following_url":"https://api.github.com/users/MarioBlazek/following{/other_user}","gists_url":"https://api.github.com/users/MarioBlazek/gists{/gist_id}","starred_url":"https://api.github.com/users/MarioBlazek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarioBlazek/subscriptions","organizations_url":"https://api.github.com/users/MarioBlazek/orgs","repos_url":"https://api.github.com/users/MarioBlazek/repos","events_url":"https://api.github.com/users/MarioBlazek/events{/privacy}","received_events_url":"https://api.github.com/users/MarioBlazek/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T21:57:40Z","updated_at":"2016-12-21T21:57:40Z","body":"Added new semantic configuration for templates, actions and default fallback values. So example config looks like this:\r\n\r\n```yml\r\nnetgen_information_collection:\r\n    system:\r\n        default:\r\n            templates:\r\n                default: \"AcmeBundle:email:default.html.twig\"\r\n                content_types:\r\n                    content_type_1: \"AcmeBundle:email:content_type_1.html.twig\"\r\n                    content_type_2: \"AcmeBundle:email:content_type_2.html.twig\"\r\n            fallback_values:\r\n                sender: 'sender@example.com'\r\n                recipient: 'recipient@example.com'\r\n                subject: 'Email from Acme website'\r\n            actions:\r\n                default:\r\n                    - email\r\n                    - database\r\n                content_types:\r\n                    content_type_1:\r\n                        - some_custom_action\r\n                    content_type_2:\r\n                        - some_custom_action\r\n```"}}
{"actor":{"display_login":"MarioBlazek"}}