From: Benoît Pin Date: Wed, 24 Nov 2010 11:50:50 +0000 (+0100) Subject: Utilisation de l'id du nœud racine, plutôt que l'id de l'objet. X-Git-Url: https://scm.cri.mines-paristech.fr/git/MosaicDocument.git/commitdiff_plain/475bb3cd9bd15fe1dd3e03f0ab26cc7c343a2702?ds=inline;hp=d3ae9b28834e7e43b84fb81b06fb5ace521855e8 Utilisation de l'id du nœud racine, plutôt que l'id de l'objet. --- diff --git a/default_blocks/tree_block_template.pt b/default_blocks/tree_block_template.pt index 1b45b19..606d136 100755 --- a/default_blocks/tree_block_template.pt +++ b/default_blocks/tree_block_template.pt @@ -41,7 +41,7 @@ rows treeDict/rows; height tree/height; rootNode python:rows.pop(0); - box_id string:tree_box_${rootNode/object/id}; + box_id rootNode/id; portal_url here/portal_url" tal:condition="python:displayAction=='view' and rows" tal:omit-tag=""