eggification
[MosaicDocument.git] / Products / MosaicDocument / default_slots / slot_file_view.pt
diff --git a/Products/MosaicDocument/default_slots/slot_file_view.pt b/Products/MosaicDocument/default_slots/slot_file_view.pt
new file mode 100755 (executable)
index 0000000..075a49a
--- /dev/null
@@ -0,0 +1,10 @@
+<div tal:define="object nocall:options/object;
+                 show_type options/show_type|python:1;
+                 show_preview options/show_preview|python:1;
+                 link_title python:object.title or object.filename;
+                 filename python:object.title and object.filename;"
+      i18n:domain="plinn">
+      <h3 i18n:translate="" style="display:inline">File</h3>
+      <a target="_blank" tal:attributes="href string:${object/absolute_url}/index_html" tal:content="link_title">Download</a>
+      (<span tal:condition="filename" tal:replace="filename">filename</span>)
+</div>
\ No newline at end of file