Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#2711 closed enhancement (duplicate)

Improve subset templates system

Reported by: Itms Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Currently, subsets for templates are used across the code and are defined in ps/TemplateLoader.cpp, with the CopyFooSubset functions and the "foo|templateName" template strings.

This code is, unfortunately, extremely duplicated and hard-coded. We should implement a system allowing the creation of generic template subsets, keeping the current flexibility of the system, that currently allows us to modify the template when the subset is extracted.

Change History (2)

comment:1 by leper, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicated by #2951 (which has some more info).

comment:2 by leper, 9 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.