On Fri, Oct 5, 2018 at 9:07 AM Harald Sitter <[email protected]> wrote:
>
> On Thu, Oct 4, 2018 at 6:14 PM Nate Graham <[email protected]> wrote:
> >
> > Can the template be overridden on a per-project basis?
>
> Yes.
>
> [% IF product.name == 'foobar' %]
> ...
> [% END %]
>
> I think making the template text more generically applicable is more
> reasonable though. Otherwise the about system bit can basically only
> be shown for plasma products as everything else may very well have
> (more) !plasma based users than plasma based ones. Also, adding
> per-project conditionals in the template is probably going to get a
> maintenance burden quickly.

I would very much rather prefer we avoid per-project templates as
that's definitely inviting a maintainability nightmare.

>
> Reference of the template language for prosperity:
> http://www.template-toolkit.org/docs/manual/index.html
>
> HS

Cheers,
Ben

Reply via email to