X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/214992650db16bceca439a60d45fb78035d38af1..refs/pull/3918/head:/resources/views/settings/recycle-bin/index.blade.php diff --git a/resources/views/settings/recycle-bin/index.blade.php b/resources/views/settings/recycle-bin/index.blade.php index 56e2437fe..9e82ba467 100644 --- a/resources/views/settings/recycle-bin/index.blade.php +++ b/resources/views/settings/recycle-bin/index.blade.php @@ -8,11 +8,11 @@

{{ trans('settings.recycle_bin') }}

-
-
-

{{ trans('settings.recycle_bin_desc') }}

+
+
+

{{ trans('settings.recycle_bin_desc') }}

-
+
-
- {!! $deletions->links() !!} +
+ {!! $deletions->links() !!} +
- - - - - - - - +
+
+
{{ trans('settings.audit_deleted_item') }}
+
{{ trans('settings.recycle_bin_deleted_parent') }}
+
{{ trans('settings.recycle_bin_deleted_by') }}
+
{{ trans('settings.recycle_bin_deleted_at') }}
+
+
@if(count($deletions) === 0) -
- - +
+

{{ trans('settings.recycle_bin_contents_empty') }}

+
@endif @foreach($deletions as $deletion) - - - - - - - + @include('settings.recycle-bin.parts.recycle-bin-list-item', ['deletion' => $deletion]) @endforeach -
{{ trans('settings.recycle_bin_deleted_item') }}{{ trans('settings.recycle_bin_deleted_parent') }}{{ trans('settings.recycle_bin_deleted_by') }}{{ trans('settings.recycle_bin_deleted_at') }}
-

{{ trans('settings.recycle_bin_contents_empty') }}

-
-
- @icon($deletion->deletable->getType()) -
- {{ $deletion->deletable->name }} -
-
- @if($deletion->deletable instanceof \BookStack\Entities\Models\Book || $deletion->deletable instanceof \BookStack\Entities\Models\Chapter) -
- @endif - @if($deletion->deletable instanceof \BookStack\Entities\Models\Book) -
-
- @icon('chapter') {{ trans_choice('entities.x_chapters', $deletion->deletable->chapters()->withTrashed()->count()) }} -
-
- @endif - @if($deletion->deletable instanceof \BookStack\Entities\Models\Book || $deletion->deletable instanceof \BookStack\Entities\Models\Chapter) -
-
- @icon('page') {{ trans_choice('entities.x_pages', $deletion->deletable->pages()->withTrashed()->count()) }} -
-
- @endif -
- @if($deletion->deletable->getParent()) -
- @icon($deletion->deletable->getParent()->getType()) -
- {{ $deletion->deletable->getParent()->name }} -
-
- @endif -
@include('settings.parts.table-user', ['user' => $deletion->deleter, 'user_id' => $deletion->deleted_by]){{ $deletion->created_at }} - -
+
- {!! $deletions->links() !!} +
+ {!! $deletions->links() !!} +