{{-- resources/views/users/activities.blade.php --}} @extends('layouts.base') @section('content')
| User | Action | Date & Time | IP Address | Device/Browser | |
|---|---|---|---|---|---|
|
{{ $activity->user->name }}
{{ $activity->user->role === 'admin' ? 'Admin' : 'User' }}
|
{{ $activity->user->email }} | {{ ucfirst($activity->action) }} |
{{ $activity->created_at->format('M d, Y H:i:s') }}
{{ $activity->created_at->diffForHumans() }}
|
{{ $activity->ip_address ?? 'N/A' }} |
{{ Str::limit($activity->user_agent ?? 'N/A', 50) }}
|
| No activity logs found. | |||||