show cell title instead of description as link title; use cell (or image) title also for the alt attribute of image elements

This commit is contained in:
Helmut Merz 2011-10-16 13:22:56 +02:00
parent 8bd8a5ca88
commit ca423aed0c

View file

@ -110,13 +110,15 @@
title cell/img/title">
<img tal:condition="showImageLink|python:False"
tal:attributes="src cell/img/src;
class cell/img/cssClass" />
class cell/img/cssClass;
alt cell/title" />
</a>
<a tal:condition="not:showImageLink|python:False"
tal:attributes="href cell/targetUrl;
title cell/description">
title cell/title">
<img tal:attributes="src cell/img/src;
class cell/img/cssClass" />
class cell/img/cssClass;
alt cell/title" />
</a>
</tal:img>
</metal:image>