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:
parent
8bd8a5ca88
commit
ca423aed0c
1 changed files with 5 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue