{%- extends "_layout.html" %} {%- block content %}

{{ vial_current_view.get_view_title() }}

{{ _('Enabled modules') }}

{%- for key, val in get_modules_dict().items() %} {%- endfor %}
{{ key|pprint }} {{ val|pprint }}

{{ _('Endpoint permissions') }}

{%- for key, val in get_endpoints_dict()|dictsort%} {%- endfor %}
{{ get_module_icon(key) }} {{ get_icon(val.get_view_icon()) }} {{ key }} {%- if val.authentication %} authenticated {%- else %} anonymous {%- endif %} {%- if val.authorization %} {%- for auitem in val.authorization %} {{ auitem|pprint }} {%- endfor %} {%- else %} {{ _('unauthorized') }} {%- endif %}

{{ _('Timezone settings') }}

{{ _('UTC time') }}: {{ get_datetime_utc() }}
{{ _('Server local time') }}: {{ get_datetime_local() }}
{{ _('User preference timezone') }}: {{ babel_format_datetime(get_datetime_utc()) }} ({{ g['timezone'] }})

{{ _('Configuration') }}

{{ config|pprint }}

{{ _('Session') }}

{{ session|pprint }}

{{ _('Current user') }}

{{ current_user|pprint }}

{{ _('G') }}

{% for k in g %}{{ k }}: {{ g[k]|pprint }}
{% endfor %}

{{ _('Menu - main') }}

{{ vial_current_menu_main|pprint }}
---
{{ vial_current_menu_main.get_entries()|pprint }}

{{ _('Menu - auth') }}

{{ vial_current_menu_auth|pprint }}
---
{{ vial_current_menu_auth.get_entries()|pprint }}

{{ _('Menu - anon') }}

{{ vial_current_menu_anon|pprint }}
---
{{ vial_current_menu_anon.get_entries()|pprint }}
{%- endblock content %}