Insertion du nom de l'objet encodé, avec le SimpleTreeMaker.
[MosaicDocument.git] / default_slots / slot_file_view.pt
1 <div tal:define="object nocall:options/object;
2 show_type options/show_type|python:1;
3 show_preview options/show_preview|python:1;
4 link_title python:object.title or object.filename;
5 filename python:object.title and object.filename;"
6 i18n:domain="plinn">
7 <h3 i18n:translate="" style="display:inline">File</h3>
8 <a target="_blank" tal:attributes="href string:${object/absolute_url}/index_html" tal:content="link_title">Download</a>
9 (<span tal:condition="filename" tal:replace="filename">filename</span>)
10 </div>