@extends('entity.app') @section('title', __('entity.profile')) @section('content')
{{ $user->username }}

{{ $user->roles[0]->name }}

@if ($errors->any())
@foreach ($errors->all() as $error) @endforeach
@endif
@lang('settings.browser_sessions')
@lang('settings.logout_session_title')

@lang('settings.logout_session_descripbtion')

@foreach ($sessions as $session)
@if ($session->agent->isDesktop()) @else @endif
{{ $session->agent->platform() ?? __('settings.unknown') }} - {{ $session->agent->browser() ?? __('settings.unknown') }}
{{ $session->ip_address }}, @if ($session->is_current_device) @lang('settings.this_device') @else @lang('settings.last_active') {{ $session->last_active }} @endif
@endforeach
@include('components/logout_other_session_modal', [ 'warning_message' => __('settings.warning_message'), 'route' => route('logout_browser_session'), ])
@endsection