@extends('base') @section('content')
@if(count($draftPages) > 0)

{{ trans('entities.my_recent_drafts') }}

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

{{ trans('entities.my_recently_viewed') }}

@else

{{ trans('entities.books_recent') }}

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

{{ trans('entities.recently_created_pages') }}

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

{{ trans('entities.recently_updated_pages') }}

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

{{ trans('entities.recent_activity') }}

@include('partials/activity-list', ['activity' => $activity])
@stop