@if ($history->user->id) {{ $history->user->name }} @else {{ trans('plugins/audit-log::history.system') }} @endif
@if ($history->user->id) {{ $history->user->name }} @else {{ trans('plugins/audit-log::history.system') }} @endif @if (Lang::has("plugins/audit-log::history.$history->action")) {{ trans("plugins/audit-log::history.$history->action") }} @else {{ $history->action }} @endif @if ($history->module != 'user' || empty($history->user) || $history->user->id != Auth::guard()->id()) @if (Lang::has("plugins/audit-log::history.$history->module")) {{ trans("plugins/audit-log::history.$history->module") }} @else {{ $history->module }} @endif @endif @if ($history->reference_name && (empty($history->user) || $history->user->name != $history->reference_name)) "{{ Str::limit($history->reference_name, 40) }}" @endif
{{ $history->created_at->diffForHumans() }} ({{ $history->ip_address }})