December 2018
Beginner to intermediate
404 pages
10h 14m
English
QWeb templates can be reusable HTML snippets that can be inserted into other templates. Instead of repeating the same HTML blocks over and over again, we can design building blocks to compose more complex user interface views.
Reusable templates are defined inside the <templates> tag and identified by a top element with a t-name other than kanban-box. These other templates can then be included using the t-call directive. This is true for the templates declared in the same Kanban view, somewhere else in the same add-on module or in a different add-on.
The follower avatar list is something that could be isolated in a reusable snippet. Let's rework it to use a sub-template. We should start by adding another ...
Read now
Unlock full access