X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/05c4b2089c472006c8d28f88b965133b0fabfa54..refs/pull/2333/head:/resources/views/errors/404.blade.php diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php index 0062bb258..02f97fc54 100644 --- a/resources/views/errors/404.blade.php +++ b/resources/views/errors/404.blade.php @@ -1,11 +1,53 @@ -@extends('base') +@extends('simple-layout') @section('content') +
+
+
+
+

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

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

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

+
+
+ @if(!signedInUser()) + {{ trans('auth.log_in') }} + @endif + {{ trans('errors.return_home') }} +
+
-
-

Page Not Found

-

The page you were looking for could not be found.

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

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

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

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

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

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

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