07ee911ab8abfdd8ff2656f150d294754defd8b0
[Plinn.git] / skins / content / file_info.pt
1 <div i18n:domain="plinn" tal:define="locale_date_fmt here/locale_date_fmt; portal_url here/portal_url">
2 <table class="finder_preview">
3 <tr>
4 <td colspan="2">
5 <div i18n:translate="">Preview:</div>
6 <div class="thumbnail">
7 <img tal:attributes="src string:$portal_url/application.thumb.gif; alt here/title_or_id" width="128" height="128"/>
8 </div>
9 </td>
10 </tr>
11 <tr>
12 <th i18n:translate="">Title</th>
13 <td tal:content="here/title_or_id">File title</td>
14 </tr>
15 <tr>
16 <th i18n:translate="">Type</th>
17 <td tal:content="here/content_type">text/plain</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>