@extends('layouts.admin') @section('title', 'Activity log') @section('breadcrumbs') @endsection @section('content')
Reset
@forelse ($logs as $log) @empty @endforelse
WhenUserActionDescriptionSubjectDetailsIP
{{ $log->created_at->format('d M Y H:i:s') }} {{ $log->user?->name ?? 'System' }} {{ $log->action }} {{ $log->description }} @if ($log->subject_type === 'article' && $log->subject_id) article #{{ $log->subject_id }} @elseif ($log->subject_type) {{ $log->subject_type }} #{{ $log->subject_id }} @endif @if ($log->properties)
view
{{ json_encode($log->properties, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) }}
@endif
{{ $log->ip_address }}
No activity.
@endsection