+++ /dev/null
-<html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template_view/macros/master">
-
- <head>
- <base metal:fill-slot="base" tal:attributes="href python: here.absolute_url() + '/'" />
- <title>File document view</title>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
- </head>
- <body>
- <div metal:fill-slot="main" i18n:domain="cmf_default">
- <h2 i18n:translate="">File Properties</h2>
- <table>
- <tr>
- <th align="right" i18n:translate="">
- Size
- </th>
- <td tal:define="sizeHr python:here.sizehr(here.size)">
- <span tal:replace="sizeHr/value">12.34</span> <span tal:replace="sizeHr/unit">Ko</span>
- </td>
- </tr>
- <tr>
- <th align="right" i18n:translate="">
- Content-type
- </th>
- <td tal:content="here/content_type">
- application/gzip
- </td>
- </tr>
- <tr>
- <td>
- <br />
- </td>
- <td></td>
- </tr>
- </table>
- <table>
- <col width="50%" span="2" />
- <tr>
- <td>
- <h2 i18n:translate="">Download File</h2>
- </td>
- <td>
- <h2 i18n:translate="">Web Preview</h2>
- </td>
- </tr>
- <tr>
- <td style="padding-right:3em;">
- <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>
- </td>
- <td>
- <a href="." tal:attributes="href string:${here/absolute_url}/file_preview" target="_blank" i18n:translate="">Preview</a>
- </td>
- </tr>
-
-
- </table>
- </div>
- </body>
-
-</html>
\ No newline at end of file