{{ __('app.audit.title') }}

{{ __('app.audit.desc') }}

@if ($exportUrl) {{ __('app.audit.export') }} @endif
@foreach ($logs as $option) @endforeach @foreach ($events as $option) @endforeach @foreach ($causers as $option) @endforeach
@if ($activities->isEmpty()) @else
@foreach ($activities as $activity) @endforeach
{{ __('app.audit.columns.when') }} {{ __('app.audit.columns.log') }} {{ __('app.audit.columns.description') }} {{ __('app.audit.columns.causer') }} {{ __('app.audit.columns.subject') }} {{ __('app.audit.columns.actions') }}
{{ $activity->created_at?->translatedFormat('d M Y H:i:s') ?? '—' }} {{ $activity->log_name ?: '—' }} @if ($activity->event) {{ $activity->event }} @endif {{ $activity->description }} @if ($activity->causer) {{ $activity->causer->name }} {{ $activity->causer->email }} @else {{ __('app.audit.system') }} @endif @if ($activity->subject_type) {{ class_basename($activity->subject_type) }} #{{ $activity->subject_id }} @else — @endif
{{ $activities->links() }}
@endif
@if ($selected)
{{ __('app.audit.columns.when') }}
{{ $selected->created_at?->translatedFormat('d M Y H:i:s') ?? '—' }}
{{ __('app.audit.fields.log_name') }}
{{ $selected->log_name ?: '—' }}
{{ __('app.audit.fields.event') }}
{{ $selected->event ?: '—' }}
{{ __('app.audit.columns.description') }}
{{ $selected->description }}
{{ __('app.audit.columns.causer') }}
{{ $selected->causer?->name ?? __('app.audit.system') }} @if ($selected->causer?->email) {{ $selected->causer->email }} @endif
{{ __('app.audit.columns.subject') }}
{{ $selected->subject_type ? class_basename($selected->subject_type).' #'.$selected->subject_id : '—' }}

{{ __('app.audit.properties') }}

{{ __('app.audit.redacted_note') }}
@if ($selectedProperties === [])

{{ __('app.audit.no_properties') }}

@else
{{ json_encode($selectedProperties, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif
@endif