X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/5725/head:/resources/views/users/profile.blade.php diff --git a/resources/views/users/profile.blade.php b/resources/views/users/profile.blade.php index e2689790f..a8be8a4c1 100644 --- a/resources/views/users/profile.blade.php +++ b/resources/views/users/profile.blade.php @@ -1,20 +1,20 @@ -@extends('simple-layout') +@extends('layouts.simple') @section('body') -
+
-
+
{{ trans('entities.recent_activity') }}
- @include('partials.activity-list', ['activity' => $activity]) -
+ @include('common.activity-list', ['activity' => $activity]) +
-
+
@@ -54,69 +54,67 @@
-
+
-
+

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

@if (count($recentlyCreated['pages']) > 0) - @include('partials.entity-list', ['entities' => $recentlyCreated['pages'], 'showPath' => true]) + @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') }} + {{ trans('common.view_all') }} @endif

@if (count($recentlyCreated['chapters']) > 0) - @include('partials.entity-list', ['entities' => $recentlyCreated['chapters'], 'showPath' => true]) + @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') }} + {{ trans('common.view_all') }} @endif

@if (count($recentlyCreated['books']) > 0) - @include('partials.entity-list', ['entities' => $recentlyCreated['books'], 'showPath' => true]) + @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') }} + {{ trans('common.view_all') }} @endif

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

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

@endif -
+
- - @stop \ No newline at end of file