@extends('layouts.app') @section('title', __('account-security.sessions.page.title')) @php $otherSessions = $sessions->where('id', '!=', $currentSessionId); $hasOtherSessions = $otherSessions->isNotEmpty(); @endphp @section('content')
{{ __('account-security.sessions.page.intro') }}
@if ($sessions->isEmpty())| {{ __('account-security.sessions.page.title') }} | IP | {{ __('account-security.sessions.page.last_activity', ['date' => '']) }} | Actions |
|---|---|---|---|
| {{ $deviceLabel }} @if ($isCurrent) {{ __('account-security.sessions.page.this_device') }} @endif | {{ $session->ip_address ?? '—' }} | {{ optional($session->last_activity_at)->diffForHumans() ?? '—' }} | @if (! $isCurrent) @endif |