@extends('sidebar-layout') @section('toolbar')
@icon('expand-text'){{ trans('common.toggle_details') }}
@stop @section('sidebar') @if(count($draftPages) > 0)

@icon('edit') {{ trans('entities.my_recent_drafts') }}

@include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact'])
@endif

@icon($signedIn ? 'view' : 'star-circle') {{ trans('entities.' . ($signedIn ? 'my_recently_viewed' : 'books_recent')) }}

@include('partials/entity-list', [ 'entities' => $recents, 'style' => 'compact', 'emptyText' => $signedIn ? trans('entities.no_pages_viewed') : trans('entities.books_empty') ])

@icon('file') {{ trans('entities.recently_updated_pages') }}

@include('partials/entity-list', [ 'entities' => $recentlyUpdatedPages, 'style' => 'compact', 'emptyText' => trans('entities.no_pages_recently_updated') ])

@icon('time') {{ trans('entities.recent_activity') }}

@include('partials/activity-list', ['activity' => $activity])
@stop @section('body') @include('books/list', ['books' => $books, 'bookViewType' => $booksViewType]) @stop