1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

API: Added to, and updated, testing to cover audit log additions

This commit is contained in:
Dan Brown
2024-05-05 15:44:58 +01:00
parent 3946158e88
commit 67df127c26
12 changed files with 83 additions and 23 deletions

View File

@@ -16,12 +16,12 @@
{{ $activity->getText() }}
@if($activity->entity && is_null($activity->entity->deleted_at))
<a href="{{ $activity->entity->getUrl() }}">{{ $activity->entity->name }}</a>
@if($activity->loggable && is_null($activity->loggable->deleted_at))
<a href="{{ $activity->loggable->getUrl() }}">{{ $activity->loggable->name }}</a>
@endif
@if($activity->entity && !is_null($activity->entity->deleted_at))
"{{ $activity->entity->name }}"
@if($activity->loggable && !is_null($activity->loggable->deleted_at))
"{{ $activity->loggable->name }}"
@endif
<br>