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:
parent
d839e7484a
commit
04dd193690
1 changed files with 3 additions and 3 deletions
|
@ -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 /> </tal:break>
|
||||
</a><br />
|
||||
</div>
|
||||
<div tal:attributes="class python:cell.cssClass[1]">
|
||||
<a tal:attributes="href cell/targetUrl">
|
||||
|
|
Loading…
Add table
Reference in a new issue