{{ hawat_current_view.get_view_title() }}
{{ _("Enabled modules") }}
{%- for key, val in get_modules_dict().items() %}
{{ key|pprint }}
|
{{ val|pprint }}
|
{%- endfor %}
{{ _("Endpoint permissions") }}
{%- for key, val in get_endpoints_dict()|dictsort %}
{{ 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 %}
|
{%- endfor %}
{{ _("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") }}
{{ hawat_current_menu_main|pprint }}
---
{{ hawat_current_menu_main.get_entries()|pprint }}
{{ _("Menu - auth") }}
{{ hawat_current_menu_auth|pprint }}
---
{{ hawat_current_menu_auth.get_entries()|pprint }}
{{ _("Menu - anon") }}
{{ hawat_current_menu_anon|pprint }}
---
{{ hawat_current_menu_anon.get_entries()|pprint }}
{%- endblock content %}