@extends('sidebar-layout') @section('toolbar')
@stop @section('sidebar')

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

@include('partials/activity-list', ['activity' => $activity])
@stop @section('body')
{{ $user->name }}

{{ $user->name }}

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

{{ trans('entities.profile_created_content') }}
{{ $assetCounts['books'] }} {{ str_plural(trans('entities.book'), $assetCounts['books']) }}
{{ $assetCounts['chapters'] }} {{ str_plural(trans('entities.chapter'), $assetCounts['chapters']) }}
{{ $assetCounts['pages'] }} {{ str_plural(trans('entities.page'), $assetCounts['pages']) }}

{{ 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