[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-community
Subject:    Re: Bugzilla template problems
From:       Harald Sitter <sitter () kde ! org>
Date:       2018-10-04 20:07:14
Message-ID: CAEc+18EjPdDSotbw-upAJ4pT80PGf_q2RWZ_x0uYw6d4FQ+VCw () mail ! gmail ! com
[Download RAW message or body]

On Thu, Oct 4, 2018 at 6:14 PM Nate Graham <nate@kde.org> 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.

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

HS
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic