[Zope-CMF] Object action rendering in CMFDecor

Florent Guillaume fg@nuxeo.com
6 Dec 2001 14:31:08 GMT


John Morton  <jwm@plain.co.nz> wrote:
> The block of zpt code that renders object specific actions only does so if 
> there are more than one, due to this line:
> 
>    <tr class="ContextActionsRow"
>        tal:condition="python: len( object_actions ) > 1"
>    >

>From what I see in the code it's a bug, it should read: >= 1, or simply
"python: len(object_actions)".


Florent
-- 
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com