X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3b31ac75ec41b3990cea770a9e48e2066bd8e9a3..refs/pull/5312/head:/resources/views/settings/audit.blade.php
diff --git a/resources/views/settings/audit.blade.php b/resources/views/settings/audit.blade.php
index b575968e2..28cdeb8a5 100644
--- a/resources/views/settings/audit.blade.php
+++ b/resources/views/settings/audit.blade.php
@@ -16,7 +16,7 @@
@endforeach
-
+
- @if($activity->entity)
-
- @icon($activity->entity->getType())
-
- {{ $activity->entity->name }}
-
-
+ @if($activity->loggable instanceof \BookStack\Entities\Models\Entity)
+ @include('entities.icon-link', ['entity' => $activity->loggable])
@elseif($activity->detail && $activity->isForEntity())
{{ trans('settings.audit_deleted_item') }}
@@ -111,11 +105,11 @@
{{ $activity->detail }}
@endif
-
-
+ {{ trans('settings.audit_table_ip') }}
:
{{ $activity->ip }}
- {{ trans('settings.audit_table_date') }}
:
{{ $activity->created_at }}