{#- ---------------------------------------------------------------------------- Macro for rendering the main menu of the application. Entries in the menu are automatically hidden based on the permissions of the current user. ----------------------------------------------------------------------------- #} {%- macro render_menu_main() -%}
{%- endmacro %} {#- ---------------------------------------------------------------------------- Macro for rendering the authentication and anonymous submenus of the application. These menus get special handling. ----------------------------------------------------------------------------- #} {%- macro render_submenu_auth() -%} {%- if current_user.is_authenticated %}{{ item | pprint }}
{{ var | pprint }}
{{ var.__repr__() }}
{{ var.__str__() }}
{%- endif %}{% if mark_list and subitem.__str__() in mark_list %}{{ subitem }}{%- else %}{{ subitem }}{%- endif %}{%- if as_code %}
{%- endif %}
{%- endif -%}