Déplacement pour eggification.
[Plinn.git] / Products / Plinn / skins / content / file_preview.pt
diff --git a/Products/Plinn/skins/content/file_preview.pt b/Products/Plinn/skins/content/file_preview.pt
new file mode 100644 (file)
index 0000000..a7daed0
--- /dev/null
@@ -0,0 +1,21 @@
+<tal:block tal:define="preview here/preview">
+  <tal:block condition="preview">
+       <span tal:replace="structure preview"></span>
+  </tal:block>
+  <tal:block condition="not:preview">
+               <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+               
+               <html xmlns="http://www.w3.org/1999/xhtml" tal:define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=utf-8');">
+               
+                 <head>
+                   <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
+                 </head>
+               
+                 <body i18n:domain="plinn">
+                   <h2 i18n:translate="">No preview available for this file</h2>
+                 </body>
+               
+               </html>
+ </tal:block>
+
+</tal:block>
\ No newline at end of file