@extends('layouts.simple') @section('body')
{{ trans('entities.recent_activity') }}
@include('common.activity-list', ['activity' => $activity])

{{ trans('entities.recently_created_pages') }} @if (count($recentlyCreated['pages']) > 0) {{ trans('common.view_all') }} @endif

@if (count($recentlyCreated['pages']) > 0) @include('entities.list', ['entities' => $recentlyCreated['pages'], 'showPath' => true]) @else

{{ trans('entities.profile_not_created_pages', ['userName' => $user->name]) }}

@endif

{{ trans('entities.recently_created_chapters') }} @if (count($recentlyCreated['chapters']) > 0) {{ trans('common.view_all') }} @endif

@if (count($recentlyCreated['chapters']) > 0) @include('entities.list', ['entities' => $recentlyCreated['chapters'], 'showPath' => true]) @else

{{ trans('entities.profile_not_created_chapters', ['userName' => $user->name]) }}

@endif

{{ trans('entities.recently_created_books') }} @if (count($recentlyCreated['books']) > 0) {{ trans('common.view_all') }} @endif

@if (count($recentlyCreated['books']) > 0) @include('entities.list', ['entities' => $recentlyCreated['books'], 'showPath' => true]) @else

{{ trans('entities.profile_not_created_books', ['userName' => $user->name]) }}

@endif

{{ trans('entities.recently_created_shelves') }} @if (count($recentlyCreated['shelves']) > 0) {{ trans('common.view_all') }} @endif

@if (count($recentlyCreated['shelves']) > 0) @include('entities.list', ['entities' => $recentlyCreated['shelves'], 'showPath' => true]) @else

{{ trans('entities.profile_not_created_shelves', ['userName' => $user->name]) }}

@endif
@stop