{{def buildtree(tree_data):}} {{for item in tree_data:}}
{{=item.numeral}} {{=item.name}}
  {{for tag in item.tags:}}
{{=tag['data']}} X
{{pass}}
{{=T('tag')}}
Creador: {{=item.creator}}
Responsable:
{{=item.responsible}}
{{=T('assign')}}
{{=XML(item.desc.replace("\n","
"))}}
{{=T('expand')}}
 
{{for comm in item.comments:}}
{{=XML(comm['content'].replace("\n","
"))}}
{{=comm['author']}}
{{=comm['date']}}
{{pass}}
{{=T('comment')}}
 
{{for elem in item.docs:}} {{pass}}
{{=T('document')}}
{{buildtree(item.children)}}
{{pass}} {{return}} {{buildtree(list_items)}}