Le constructeur du DublinCore doit être invoqué avant le constructeur de BlobFile...
[Plinn.git] / skins / content / file_view_template.pt
1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template_view/macros/master">
2
3 <head>
4 <base metal:fill-slot="base" tal:attributes="href python: here.absolute_url() + '/'" />
5 <title>File document view</title>
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
7 </head>
8 <body>
9 <div metal:fill-slot="main" i18n:domain="cmf_default">
10 <h2 i18n:translate="">File Properties</h2>
11 <table>
12 <tr>
13 <th align="right" i18n:translate="">
14 Size
15 </th>
16 <td tal:define="sizeHr python:here.sizehr(here.size)">
17 <span tal:replace="sizeHr/value">12.34</span> <span tal:replace="sizeHr/unit">Ko</span>
18 </td>
19 </tr>
20 <tr>
21 <th align="right" i18n:translate="">
22 Content-type
23 </th>
24 <td tal:content="here/content_type">
25 application/gzip
26 </td>
27 </tr>
28 <tr>
29 <td>
30 <br />
31 </td>
32 <td></td>
33 </tr>
34 </table>
35 <table>
36 <col width="50%" span="2" />
37 <tr>
38 <td>
39 <h2 i18n:translate="">Download File</h2>
40 </td>
41 <td>
42 <h2 i18n:translate="">Web Preview</h2>
43 </td>
44 </tr>
45 <tr>
46 <td style="padding-right:3em;">
47 <a title="Download File" href="." tal:attributes="href file; title here/Title" tal:define="file string:${here/absolute_url}/download" target="_blank" i18n:translate="">Download : &laquo;&nbsp;<span tal:content="here/title_or_id" tal:omit-tag="" i18n:name="file_title">File title</span>&nbsp;&raquo;</a>
48 </td>
49 <td>
50 <a href="." tal:attributes="href string:${here/absolute_url}/file_preview" target="_blank" i18n:translate="">Preview</a>
51 </td>
52 </tr>
53
54
55 </table>
56 </div>
57 </body>
58
59 </html>