[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-community
Subject: Re: Bugzilla template problems
From: Ben Cooksley <bcooksley () kde ! org>
Date: 2018-10-05 6:23:16
Message-ID: CA+XidOGJ84v9ecov+hbxXBs_y+WxPDNgqP_XhfFSwZX8VYmMKg () mail ! gmail ! com
[Download RAW message or body]
On Fri, Oct 5, 2018 at 9:07 AM Harald Sitter <sitter@kde.org> wrote:
>
> 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.
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic