1 <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
3 <title>Macros utilisées pour l'affichage des résultats</title>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
7 <div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div>
8 <table metal:define-macro="normal" class="listing" cellspacing="0">
11 <td width="16"> </td>
12 <th i18n:translate="">Title</th>
13 <th i18n:translate="">Creator</th>
14 <th i18n:translate="">Type</th>
15 <th i18n:translate="">Date</th>
18 <tbody tal:repeat="result batch" tal:omit-tag="">
19 <tr tal:define="objURL result/getURL;
20 oddrow repeat/result/odd"
21 tal:attributes="class python:test(oddrow, 'even', 'odd')">
23 tal:condition="result/getIcon|nothing"
24 tal:attributes="href objURL"><img src="" border="0" alt="" title=""
25 tal:define="alt result/Type"
26 tal:attributes="src result/getIcon;
28 title alt" /></a></td>
30 tal:attributes="href objURL"><span
31 tal:condition="result/Title"
32 tal:replace="result/Title">Title</span><span
33 tal:condition="not:result/Title"
35 i18n:translate="">(No title)</span></a></td>
36 <td tal:content="python:mtool.getMembers([result.Creator])[0].getMemberFullName(nameBefore=0)"
37 tal:on-error="result/Creator"></td>
38 <td tal:content="result/Type" i18n:translate="">Type</td>
39 <td tal:content="python:modules['DateTime'].DateTime(result.Date).strftime(locale_date_fmt)">Date</td>
44 tal:condition="result/Description"
45 tal:content="structure result/Description">Description</em><em
46 tal:condition="not:result/Description"
47 i18n:translate="">(No description)</em></td>
52 <div metal:define-macro="photo"
53 tal:define="slide_size python:portal_object.slide_size">
54 <div tal:define="contextInfo python:here.getPhotoBrainsInfos(batch, searchArgs);
55 infos contextInfo/infos;
56 features contextInfo/features"
58 <div metal:use-macro="here/photo_layout_macros/macros/grid"></div>