@extends('layouts.admin') @section('title', 'Activity log') @section('breadcrumb', 'Activity log') @section('content')

Activity log

Sign-ins, content publishing, enquiry changes and account changes.

@if ($logs->isEmpty())

No activity recorded.

@else @foreach ($logs as $log) @endforeach
When User Action Details IP
{{ $log->created_at->timezone(config('app.timezone'))->format('d M Y, h:i:s A') }} {{ $log->user?->name ?? 'Visitor / system' }} {{ str_replace(['.', '_'], [' ยท ', ' '], $log->action) }} @if ($log->subject_type){{ class_basename($log->subject_type) }} #{{ $log->subject_id }}@endif @if ($log->properties){{ json_encode($log->properties, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) }}@endif {{ $log->ip_address }}
@endif
{{ $logs->links() }}
@endsection