jslint
[Plinn.git] / skins / content / file_info.pt
1 <div tal:define="locale_date_fmt string:%m/%d/%Y %Hh%M; portal_url here/portal_url">
2 <table class="finder_preview">
3 <tr>
4 <td colspan="2">
5 <div>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>Title</th>
13 <td tal:content="here/title_or_id">File title</td>
14 </tr>
15 <tr>
16 <th>Type</th>
17 <td tal:content="here/content_type">text/plain</td>
18 </tr>
19 <tr>
20 <th>Created</th>
21 <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
22 </tr>
23 <tr>
24 <th>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>