{#- ---------------------------------------------------------------------------- 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 %}{{ time_mark[2] }}:{{ time_mark[1] }} | {%- if loop.index0 != 0 %} {{ time_mark[0] - timemark_list[loop.index0 - 1][0] }} s {% endif %} | {%- if loop.index0 != 0 %} {{ babel_format_percent((time_mark[0] - timemark_list[loop.index0 - 1][0])/total_duration) }} {% endif %} |
{{ _('Total duration') }}: {{ total_duration }}
{{ _('Duration to rendering time') }}: {{ get_datetime_utc() - timemark_list[0][0] }}
{{ item | pprint }} {{ item | pprint_item }}
{{ 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 -%}