@extends('admin.layout') @section('title', 'User Details') @section('page-title', 'User Details') @section('page-icon', 'person-vcard') @section('content')
Name
{{ $user->name }}
Email
{{ $user->email }}
Role
{{ $user->role?->name ?? '-' }}
Team
{{ $user->team?->name ?? '-' }}
Activity Log
@forelse($activityLogs as $log) @empty @endforelse
Type Description IP Country / City Browser / OS Time
{{ str_replace('_', ' ', ucfirst($log->type)) }} {{ $log->description }} {{ $log->ip_address ?? '-' }} @if($log->country) {{ $log->country }}{{ $log->city ? ', ' . $log->city : '' }} @else - @endif {{ $log->user_agent ? \Illuminate\Support\Str::limit($log->user_agent, 50) : '-' }} {{ $log->created_at->format('d M Y H:i') }}
No activity recorded yet.
@if($activityLogs->hasPages()) @endif
@endsection