{{ caller() }}
{% macro build_menu(current_user, current_menu) %} {% if current_user.is_authenticated %} {% for item in current_menu.children recursive %} {% if item.visible %} {% if item.name == 'ipbx' %} {{ _build_ipbx_menu(item, current_user) }} {% else %}
{% endif %} {% endif %} {% endfor %} {% endif %} {% endmacro %} {% macro _build_menu_link(item, current_user) %} {{ item.text }} {% endmacro %} {% macro _build_menu_chidren(item, current_user) %} {% if item.visible %}