{% from "_view_modes.html" import view_modes %}{% from "_vm_menu.html" import vm_menu, vm_dialog with context %}{% set VMS = vm_links() %}{% macro render_nodes(nodes, kind) -%} {%- endmacro %} {% macro render_tree_panel(panel_class) -%} {%- endmacro %} {% if VMS and session %}{{ vm_dialog() }}{% endif %}