X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..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 b5de84efa..9e82ba467 100644 --- a/resources/views/settings/recycle-bin/index.blade.php +++ b/resources/views/settings/recycle-bin/index.blade.php @@ -1,20 +1,18 @@ -@extends('simple-layout') +@extends('layouts.simple') @section('body')
-
- @include('settings.navbar', ['selected' => 'maintenance']) -
+ @include('settings.parts.navbar', ['selected' => 'maintenance'])

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

-
-
-

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

+
+
+

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

-
+
@@ -32,68 +30,33 @@
-
- {!! $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_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 -
@include('partials.table-user', ['user' => $deletion->deleter, 'user_id' => $deletion->deleted_by]){{ $deletion->created_at }} - -
+
- {!! $deletions->links() !!} +
+ {!! $deletions->links() !!} +