show text on the left if no image assigned

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4173 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2011-02-12 09:48:29 +00:00
parent d839e7484a
commit 04dd193690

View file

@ -27,12 +27,12 @@
<metal:block define-macro="list1">
<tal:cell repeat="cell part/getChildren">
<div tal:attributes="class python:cell.cssClass[0]">
<div tal:condition="cell/img"
tal:attributes="class python:cell.cssClass[0]">
<a tal:attributes="href cell/targetUrl;
title cell/description">
<metal:image use-macro="item/macros/image" />
</a>
<tal:break condition="cell/img"><br />&nbsp;</tal:break>
</a><br />&nbsp;
</div>
<div tal:attributes="class python:cell.cssClass[1]">
<a tal:attributes="href cell/targetUrl">