[Zope-CMF] patch: bug with CMFDecor skin folder_contents

Joseph Wayne Norton norton@alum.mit.edu
Wed, 12 Sep 2001 18:03:03 +0900


The title for sub objects when being listed using the folder_contents
skin.

Here is a patch:

Index: CMFDecor/skins/zpt_generic/folder_contents.pt
===================================================================
RCS file: /cvs-repository/CMF/CMFDecor/skins/zpt_generic/folder_contents.pt,v
retrieving revision 1.7
diff -r1.7 folder_contents.pt
66,68c66,68
<                   tal:attributes="href python: items.getId() + '/' + methodID"><span tal:replace="items/getId">ID
<                       <span tal:condition="items/title"
<                             tal:replace="python: '(' + items.title() + ')'">(Title)</span></span></a>
---
>                   tal:attributes="href python: items.getId() + '/' + methodID"><span tal:replace="items/getId">ID</span>
>                       <span tal:condition="items/Title"
>                             tal:replace="python: '(' + items.Title() + ')'">(Title)</span></a>
98,100c98,100
<                   tal:attributes="href python: items.getId() + '/' + methodID"><span tal:replace="items/getId">ID
<                       <span tal:condition="items/title"
<                             tal:replace="python: '(' + items.title() + ')'">(Title)</span></span></a>
---
>                   tal:attributes="href python: items.getId() + '/' + methodID"><span tal:replace="items/getId">ID</span>
>                       <span tal:condition="items/Title"
>                             tal:replace="python: '(' + items.Title() + ')'">(Title)</span></a>
102c102
<      </tr>
---
>       </tr>