X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/80865b30a5d6a82e86d21e272ae58977d4430a64..refs/pull/435/head:/resources/views/errors/404.blade.php diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php index a9294c7cf..a0e34e83d 100644 --- a/resources/views/errors/404.blade.php +++ b/resources/views/errors/404.blade.php @@ -4,9 +4,30 @@
-

{{ $message or 'Page Not Found' }}

-

Sorry, The page you were looking for could not be found.

- Return To Home + + +

{{ $message or trans('errors.404_page_not_found') }}

+

{{ trans('errors.sorry_page_not_found') }}

+

{{ trans('errors.return_home') }}

+ + @if (setting('app-public') || !user()->isDefault()) +
+ +
+
+

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

+ @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Page::class]), 'style' => 'compact']) +
+
+

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

+ @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Book::class]), 'style' => 'compact']) +
+
+

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

+ @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Chapter::class]), 'style' => 'compact']) +
+
+ @endif
@stop \ No newline at end of file