| | 4 | <tal:block define="ds python: request.get('ds'); |
|---|
| | 5 | show_icons python:ds.get('show_icons', True); |
|---|
| | 6 | show_icons python: int(show_icons); |
|---|
| | 7 | linkclass python: show_icons and 'noicon' or None; |
|---|
| | 8 | base_url python: request.get('cpsskins_base_url'); |
|---|
| | 9 | tree_roots python:[item for item in folderItems |
|---|
| | 10 | if item.get('level') == 0]; |
|---|
| | 11 | root_has_nephew python:[1 for item in tree_roots if |
|---|
| | 12 | context.getNodeChildren(folderItems, item)]; |
|---|
| | 13 | toggle_plus string:toggle_plus.png; |
|---|
| | 14 | toggle_minus string:toggle_minus.png;" |
|---|
| | 15 | condition="root_has_nephew"> |
|---|
| 19 | | <tal:block define="ds python: request.get('ds'); |
|---|
| 20 | | show_icons python:ds.get('show_icons', True); |
|---|
| 21 | | show_icons python: int(show_icons); |
|---|
| 22 | | linkclass python: show_icons and 'noicon' or None; |
|---|
| 23 | | base_url python: request.get('cpsskins_base_url'); |
|---|
| 24 | | tree_roots python:[item for item in folderItems |
|---|
| 25 | | if item.get('level') == 0]; |
|---|
| 26 | | root_has_nephew python:[1 for item in tree_roots if |
|---|
| 27 | | context.getNodeChildren(folderItems, item)]; |
|---|
| 28 | | toggle_plus string:toggle_plus.png; |
|---|
| 29 | | toggle_minus string:toggle_minus.png;"> |
|---|