[Buildbot-commits] [Buildbot] #871: user customized jinja templates should be able to extend default templates

Buildbot buildbot-devel at lists.sourceforge.net
Thu Dec 9 06:26:20 UTC 2010


#871: user customized jinja templates should be able to extend default templates
------------------------+---------------------------------------------------
Reporter:  cdadhemar    |        Owner:          
    Type:  enhancement  |       Status:  reopened
Priority:  major        |    Milestone:  0.9.+   
 Version:  0.8.0        |   Resolution:          
Keywords:  web          |  
------------------------+---------------------------------------------------
Changes (by dustin):

  * milestone:  0.8.3 => 0.9.+


Old description:

> Hello,
>
> When a user wants to customize the default "layout.html" template (as an
> example) he/she has to copy it from the source code and modify it in the
> master's 'templates' directory.
>
> It would be really great, and much more in the respect of Jinja's
> template inheritance spirit, that the user can "extend" a default
> template, using the {% extend "layout.html" %} Jinja's feature.
>
> Note: such change is totally "binary/api compatible" for users already
> overriding the default "layout.html" and other default templates.
>
> I am not sure that this request is very clear ... If not feel free to ask
> for more details !
>
> Thank you very much !
> Cheers,
> CH

New description:

 Hello,

 When a user wants to customize the default "layout.html" template (as an
 example) he/she has to copy it from the source code and modify it in the
 master's 'templates' directory.

 It would be really great, and much more in the respect of Jinja's template
 inheritance spirit, that the user can "extend" a default template, using
 the {% extend "layout.html" %} Jinja's feature.

 Note: such change is totally "binary/api compatible" for users already
 overriding the default "layout.html" and other default templates.

 I am not sure that this request is very clear ... If not feel free to ask
 for more details !

 Thank you very much !
 Cheers,
 CH

--

Comment:

 We should offer a way to do something vaguely similar in the JS UI.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/871#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list