{%- if current_user.has_roles(['admin', 'advocate']) and config['ENABLE_MONITOR'] %}
{{ word('Monitor') }}
{%- endif %}
{%- if current_user.has_roles(['admin', 'developer', 'trainer']) %}
{{ word('Train') }}
{%- endif %}
{%- if current_user.has_roles(['admin', 'developer']) %}
{%- if config['ALLOW_UPDATES'] and (config['DEVELOPER_CAN_INSTALL'] or current_user.has_roles(['admin'])) %}
{{ word('Package Management') }}
{%- endif %}
{%- if config['ALLOW_LOG_VIEWING'] %}
{{ word('Logs') }}
{%- endif %}
{%- if config['ENABLE_PLAYGROUND'] %}
{{ word('Playground') }}
{%- endif %}
{{ word('Utilities') }}
{%- endif %}
{%- if current_user.has_roles(['admin', 'advocate']) or current_user.can_do('access_user_info') %}
{{ word('User List') }}
{%- endif %}
{%- if current_user.has_roles(['admin']) and config['ALLOW_CONFIGURATION_EDITING'] %}
{{ word('Configuration') }}
{%- endif %}
{%- if config['SHOW_DISPATCH'] %}
{{ word('Available Interviews') }}
{%- endif %}
{%- for item in config['ADMIN_INTERVIEWS'] %}
{%- if item.can_use() %}
{{ item.get_title(current_language) }}
{%- endif %}
{%- endfor %}
{%- if config['SHOW_MY_INTERVIEWS'] or current_user.has_roles(['admin']) %}
{{ word('My Interviews') }}
{%- endif %}
{%- if config['SHOW_PROFILE'] or current_user.has_roles(['admin', 'developer']) %}
{{ word('Profile') }}
{%- elif current_user.social_id.startswith('local') and config['ALLOW_CHANGING_PASSWORD'] %}
{{ word('Change Password') }}
{%- endif %}
{{ word('Sign Out') }}
{%- elif request.path != "/login" and request.path != "/user/sign-in" and request.path != "/mfa_login" and request.url_rule != None %}
{%- if request.path == "/user/forgot-password" or request.path == "/user/register" or request.path == "/user/change-password" or request.path == "/phone_login" or request.path == "/user/google-sign-in" %}