Édition de l'url du serveur Solr.
[Plinn.git] / skins / content / content_info.pt
1 <div i18n:domain="plinn"
2 tal:define="locale_date_fmt here/locale_date_fmt;
3 portal_url here/portal_url;
4 ti here/getTypeInfo;
5 icon ti/getIcon">
6 <table class="finder_preview">
7 <tr>
8 <td colspan="2">
9 <div i18n:translate="">Preview:</div>
10 <div class="thumbnail">
11 <img tal:attributes="src python:portal_url + '/' + icon.replace('.gif', '.thumb.gif'); alt here/title_or_id" width="128" height="128"/>
12 </div>
13 </td>
14 </tr>
15 <tr>
16 <th i18n:translate="">Title</th>
17 <td tal:content="here/title_or_id">File title</td>
18 </tr>
19 <tr>
20 <th i18n:translate="">Created</th>
21 <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
22 </tr>
23 <tr>
24 <th i18n:translate="">Modified</th>
25 <td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td>
26 </tr>
27 </table>
28 <em tal:define="desc here/Description" tal:condition="desc" tal:content="structure desc"></em>
29 </div>