Insertion du nom de l'objet encodé, avec le SimpleTreeMaker.
[MosaicDocument.git] / default_blocks / block_file_template.pt
1 <div tal:define="block nocall:options/block;
2 slots block/getSlotsDic;
3 displayAction options/displayAction;"
4 i18n:domain="plinn">
5 <div tal:condition="python:displayAction == 'edit'" tal:omit-tag="">
6 <form metal:use-macro="here/block_utils/macros/block_form">
7 <div metal:fill-slot="html_block_content"
8 tal:content="structure python:slots['file'].callAction(displayAction)"></div>
9 </form>
10 </div>
11 <div tal:condition="python:displayAction != 'edit'" tal:omit-tag="">
12 <div tal:content="structure python:slots['file'].callAction(displayAction)"></div>
13 </div>
14 </div>