@extends('layouts.simple') @section('body')
{{ trans('settings.recycle_bin_desc') }}
| {{ 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())
                             
                        @if($deletion->deletable instanceof \BookStack\Entities\Models\Book || $deletion->deletable instanceof \BookStack\Entities\Models\Chapter)
                            
                        @endif
                        @if($deletion->deletable instanceof \BookStack\Entities\Models\Book)
                            
                                {{ $deletion->deletable->name }}
                             
                        
                                    @icon('chapter') {{ trans_choice('entities.x_chapters', $deletion->deletable->chapters()->withTrashed()->count()) }}
                                 
                            
                                @icon('page') {{ trans_choice('entities.x_pages', $deletion->deletable->pages()->withTrashed()->count()) }}
                             
                         | 
                    
                        @if($deletion->deletable->getParent())
                         
                            @icon($deletion->deletable->getParent()->getType())
                             
                        @endif
                    
                                {{ $deletion->deletable->getParent()->name }}
                             
                         | 
                    @include('settings.parts.table-user', ['user' => $deletion->deleter, 'user_id' => $deletion->deleted_by]) | {{ $deletion->created_at }} | 
                         |