{% from "oldman/dashboard/components/modal.html" import modal with context %}

{{ _('User Session') }}

{{ _('Logout') }}
{{ session_profile.display_name }}

{{ session_profile.username }}

{% if session_profile.is_active %} {{ _('Active') }} {% else %} {{ _('Disabled') }} {% endif %} {% if session_profile.is_superuser %} {{ _('Superuser') }} {% elif session_profile.is_staff %} {{ _('Staff') }} {% endif %}

{{ _('Current Session') }}

{{ _('Session Boundaries') }}

{{ _('Page Scope') }} {{ _('Current session only') }}
{{ _('Password Scope') }} {{ _('Current user only') }}
{{ _('Logout Flow') }} {{ _('End current session') }}
{% call modal( 'user-session-permissions-modal', _('Session Permissions'), close_label=_('Close'), footer_close_label=_('Close'), hidden=false ) %}

{{ _('This page manages the current authenticated session. User administration remains in the application user-management area.') }}

{% endcall %} {% call modal( 'user-session-password-modal', _('Change Password'), component='modal', close_label=_('Close'), dialog_scrollable=true, remote_content=true, inline_hidden_style=true ) %}

{{ _('Open the remote form to change the current session password.') }}

{% endcall %}