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

N°8031 - Make all portal bricks use custom templates for all templates #691

Merged
merged 4 commits into from
Dec 18, 2024

Conversation

steffunky
Copy link
Member

Base information

Question Answer
Related to a SourceForge thead / Another PR / Combodo ticket? N°8031
Type of change? Enhancement

Objective (enhancement)

With #686, we added a way to define a twig template for all Bricks without altering their definition. In this PR, we make bricks correctly collect, and use these custom twig templates.

This also adds a common way to define default templates for bricks and will be used to develop further brick template customization through its definition

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested all changes I made on an iTop instance
  • I have added a unit test, otherwise I have explained why I couldn't
  • Is the PR clear and detailed enough so anyone can understand digging in the code?

@CombodoApplicationsAccount CombodoApplicationsAccount added the internal Work made by Combodo label Dec 17, 2024
@steffunky steffunky requested a review from bdalsass December 17, 2024 09:02
@bdalsass bdalsass self-requested a review December 18, 2024 10:03
@steffunky steffunky merged commit 5ac6c84 into develop Dec 18, 2024
@steffunky steffunky deleted the issue/8031 branch December 18, 2024 10:04
steffunky added a commit that referenced this pull request Dec 18, 2024
#691)

* N°8031 - Make all portal bricks use custom templates for all templates

* Rename parameter following code review

* Add const variables following code review

* Modify method name following code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Work made by Combodo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants