Bugzilla template problems

Harald Sitter sitter at kde.org
Thu Oct 4 21:07:14 BST 2018


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


More information about the kde-community mailing list