fallback to document id in case of missing title

This commit is contained in:
Frédéric Péters 2011-11-15 19:36:36 +01:00
parent 3ac159adf4
commit 1140b2a24e
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@
<ul>
<tal:entry tal:repeat="page page_batch">
<li tal:define="oddrow repeat/page/odd;" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
<h4><a href="#" tal:attributes="href page/getURL" tal:content="page/Title">Communiqué de presse</a></h4>
<h4><a href="#" tal:attributes="href page/getURL" tal:content="python: page.Title or page.id">Communiqué de presse</a></h4>
<p tal:content="page/Description">bla</p>
</div></li>
</tal:entry>