1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template_view/macros/master">
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"/>
9 <div metal:fill-slot="main" i18n:domain="plinn">
10 <h2 i18n:translate="">File Properties</h2>
13 <th align="right" i18n:translate="">
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>
21 <th align="right" i18n:translate="">
24 <td tal:content="here/content_type">
36 <col width="50%" span="2" />
39 <h2 i18n:translate="">Download File</h2>
42 <h2 i18n:translate="">Web Preview</h2>
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 : « <span tal:content="here/title_or_id" tal:omit-tag="" i18n:name="file_title">File title</span> »</a>
50 <a href="." tal:attributes="href string:${here/absolute_url}/file_preview" target="_blank" i18n:translate="">Preview</a>