X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/fd1a0dceb25b9b2a2707df754e9ff56b96de34b6..refs/pull/494/head:/resources/views/books/show.blade.php diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index b5bb7c8d0..956dbaf16 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -1,63 +1,135 @@ -@extends('base') +@extends('sidebar-layout') -@section('content') - -
-
-
-
- Edit - Sort - Delete -
+@section('toolbar') +
+ @include('books._breadcrumbs', ['book' => $book]) +
+
+
+ +
{{ trans('entities.export') }}
+ +
+ @if(userCan('page-create', $book)) + {{ trans('entities.pages_new') }} + @endif + @if(userCan('chapter-create', $book)) + {{ trans('entities.chapters_new') }} + @endif + @if(userCan('book-update', $book) || userCan('restrictions-manage', $book) || userCan('book-delete', $book)) + + @endif
+@stop -
-

{{$book->name}}

-

{{$book->description}}

+@section('sidebar') -
-

Contents

- +
+
+
+
-
- @foreach($book->children() as $childElement) - -
- @endforeach + @if($book->restricted) +
+

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

+
+

+ @if(userCan('restrictions-manage', $book)) + {{ trans('entities.books_permissions_active') }} + @else + {{ trans('entities.books_permissions_active') }} + @endif +

+
+ @endif - {{--@include('pages/page-tree-list', ['pageTree' => $pageTree])--}} + @if(count($activity) > 0) +
+

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

+ @include('partials/activity-list', ['activity' => $activity]) +
+ @endif +
+

{{ trans('common.details') }}

+
+ @include('partials.entity-meta', ['entity' => $book]) +
+@stop +@section('container-attrs') + id="entity-dashboard" + entity-id="{{ $book->id }}" + entity-type="book" +@stop - +
+
+

{{ trans('entities.search_results') }} {{ trans('entities.search_clear') }}

+
+ @include('partials/loading-icon') +
+
+
+
-@stop \ No newline at end of file +@stop