Déplacement pour eggification.
[Plinn.git] / Products / Plinn / skins / content / file_info.pt
diff --git a/Products/Plinn/skins/content/file_info.pt b/Products/Plinn/skins/content/file_info.pt
new file mode 100644 (file)
index 0000000..07ee911
--- /dev/null
@@ -0,0 +1,29 @@
+<div i18n:domain="plinn" tal:define="locale_date_fmt here/locale_date_fmt; portal_url here/portal_url">
+       <table class="finder_preview">
+               <tr>
+                       <td colspan="2">
+                               <div i18n:translate="">Preview:</div>
+                               <div class="thumbnail">
+                                       <img tal:attributes="src string:$portal_url/application.thumb.gif; alt here/title_or_id" width="128" height="128"/>
+                               </div>
+                       </td>
+               </tr>
+               <tr>
+                       <th i18n:translate="">Title</th>
+                       <td tal:content="here/title_or_id">File title</td>
+               </tr>
+               <tr>
+                       <th i18n:translate="">Type</th>
+                       <td tal:content="here/content_type">text/plain</td>
+               </tr>
+               <tr>
+                       <th i18n:translate="">Created</th>
+                       <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
+               </tr>
+               <tr>
+                       <th i18n:translate="">Modified</th>
+                       <td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td>
+               </tr>
+       </table>
+       <em tal:define="desc here/Description" tal:condition="desc" tal:content="structure desc"></em>
+</div>
\ No newline at end of file