2015-12-28 18:19:23 +01:00
|
|
|
@extends('base')
|
2015-09-29 22:25:03 +02:00
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
|
2015-12-28 18:19:23 +01:00
|
|
|
<div class="container">
|
2016-12-03 14:31:54 +01:00
|
|
|
|
|
|
|
|
2016-12-04 17:51:39 +01:00
|
|
|
<h1>{{ $message or trans('errors.404_page_not_found') }}</h1>
|
2016-12-03 14:31:54 +01:00
|
|
|
<p>{{ trans('errors.sorry_page_not_found') }}</p>
|
|
|
|
<p><a href="{{ baseUrl('/') }}" class="button">{{ trans('errors.return_home') }}</a></p>
|
|
|
|
|
2017-02-05 22:19:29 +01:00
|
|
|
@if (setting('app-public') || !user()->isDefault())
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<h3 class="text-muted">{{ trans('entities.pages_popular') }}</h3>
|
|
|
|
@include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Page::class]), 'style' => 'compact'])
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<h3 class="text-muted">{{ trans('entities.books_popular') }}</h3>
|
|
|
|
@include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Book::class]), 'style' => 'compact'])
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<h3 class="text-muted">{{ trans('entities.chapters_popular') }}</h3>
|
|
|
|
@include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Chapter::class]), 'style' => 'compact'])
|
|
|
|
</div>
|
2016-12-03 14:31:54 +01:00
|
|
|
</div>
|
2017-02-05 22:19:29 +01:00
|
|
|
@endif
|
2015-12-28 18:19:23 +01:00
|
|
|
</div>
|
2015-09-29 22:25:03 +02:00
|
|
|
|
|
|
|
@stop
|