Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix template attributes forbidden #137

Conversation

masonen
Copy link
Contributor

@masonen masonen commented May 29, 2019

This fixes #136 (and #106 )

The fix was pulled into development but never merged into master.

Copy link
Member

@phansys phansys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Status: Needs work.

Resources/views/Ticket/show_attachment.html.twig Outdated Show resolved Hide resolved
@masonen
Copy link
Contributor Author

masonen commented Jun 5, 2019

changed it in another way. index.html.twig imports macros in the same way. If you do it that way macros could possibly be overidden without needing to override show_attachment.html.twig

@masonen
Copy link
Contributor Author

masonen commented Jun 20, 2019

@phansys what do you think

@phansys
Copy link
Member

phansys commented Jun 25, 2019

I'm not checked the proposed solution yet @masonen. Sorry for the delay, I'll try to give it a chance ASAP.
Thank you in advance.

@phansys phansys closed this in 03df9d4 Aug 19, 2019
@phansys
Copy link
Member

phansys commented Aug 19, 2019

This PR was squashed before being merged into the master branch at @03df9d4a116d3debdc8962f617692b1045ad2971.

@phansys
Copy link
Member

phansys commented Aug 19, 2019

Thank you @masonen.

phansys added a commit that referenced this pull request Aug 19, 2019
This reverts commit 03df9d4, reversing
changes made to f99295a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

twig 2 inheritance changes with macro - Accessing Twig_Template attributes is forbidden.
2 participants