Fix presentation of description on children listing

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1669 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-03-26 17:23:38 +00:00
parent 8be994c2f0
commit 878c2f58c8

View file

@ -52,24 +52,19 @@
<th>Modification Date</th> <th>Modification Date</th>
</tr> </tr>
<tal:items repeat="related children"> <tal:items repeat="related children">
<tal:item define="class python: repeat['related'].odd() and 'even' or 'odd'"> <tal:item define="class python: repeat['related'].odd() and 'even' or 'odd';
description related/description">
<tr tal:attributes="class class"> <tr tal:attributes="class class">
<td valign="top"> <td valign="top">
<a href="#" <a href="#"
tal:attributes="href string:${view/url}/.target${related/uniqueId}"> tal:attributes="href string:${view/url}/.target${related/uniqueId};
title description">
<span tal:replace="related/title">Resource Title</span> <span tal:replace="related/title">Resource Title</span>
</a> </a>
</td> </td>
<td><span tal:replace="related/typeTitle">Type</span></td> <td><span tal:replace="related/typeTitle">Type</span></td>
<td><span tal:replace="related/modified">Type</span></td> <td><span tal:replace="related/modified">Type</span></td>
</tr> </tr>
<tr tal:define="description related/description"
tal:condition="description"
tal:attributes="class class">
<td colspan="3" style="padding-left: 7em">
<i tal:content="description">describing...</i>
</td>
</tr>
</tal:item> </tal:item>
</tal:items> </tal:items>
</table> </table>