Skip to content

Make TicketBundle more adaptable with template paths in config#89

Merged
hackzilla merged 19 commits intohackzilla-project:developfrom
marcelglaeser:develop
Sep 29, 2016
Merged

Make TicketBundle more adaptable with template paths in config#89
hackzilla merged 19 commits intohackzilla-project:developfrom
marcelglaeser:develop

Conversation

@marcelglaeser
Copy link
Copy Markdown
Contributor

No description provided.

Add hackzilla_ticket.templates for more customize.
Add ->arrayNode('templates') for more customize.
Change fixed template paths to config parameter.
Change 
{% import 'HackzillaTicketBundle:Macros:macros.html.twig' as macros %} 
to
{% import hackzilla_ticket.templates.macros as macros %}
Fixed path => config parameters
Fixed path => config parameters
Add part custom templates
Create TicketGlobalExtension to load the config parameters. I don't want to touch your TicketFeatureExtension.php
Add hackzilla_ticket.component.twig_extension.ticket_global
Update HackzillaTicketExtension.php
@hackzilla hackzilla merged commit ac3b53f into hackzilla-project:develop Sep 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants