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

@icon('time') {{ 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') }}
@icon('book') {{ trans_choice('entities.x_books', $assetCounts['books']) }}
@icon('chapter') {{ trans_choice('entities.x_chapters', $assetCounts['chapters']) }}
@icon('page') {{ trans_choice('entities.x_pages', $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