@extends('simple-layout') {{--TODO - Include links to search based on this user being the creator for each entity type--}} {{--Linking either the "Created content" items or as "View All" links next to headers--}} {{--TODO - Add shelves?--}} @section('body')
{{ trans('entities.recent_activity') }}
@include('partials/activity-list', ['activity' => $activity])
{{ $user->name }}

{{ $user->name }}

{{ trans('entities.profile_user_for_x', ['time' => $user->created_at->diffForHumans(null, true)]) }}

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

@if (count($recentlyCreated['pages']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['pages']]) @else

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

@endif

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

@if (count($recentlyCreated['chapters']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['chapters']]) @else

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

@endif

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

@if (count($recentlyCreated['books']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['books']]) @else

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

@endif
@stop