@section('right')
+ <div class="mb-xl">
+ <h5>{{ trans('common.details') }}</h5>
+ <div class="blended-links text-small text-muted">
+ @include('partials.entity-meta', ['entity' => $chapter])
+
+ @if($book->restricted)
+ <div class="active-restriction">
+ @if(userCan('restrictions-manage', $book))
+ <a href="{{ $book->getUrl('/permissions') }}">@icon('lock'){{ trans('entities.books_permissions_active') }}</a>
+ @else
+ @icon('lock'){{ trans('entities.books_permissions_active') }}
+ @endif
+ </div>
+ @endif
+
+ @if($chapter->restricted)
+ <div class="active-restriction">
+ @if(userCan('restrictions-manage', $chapter))
+ <a href="{{ $chapter->getUrl('/permissions') }}">@icon('lock'){{ trans('entities.chapters_permissions_active') }}</a>
+ @else
+ @icon('lock'){{ trans('entities.chapters_permissions_active') }}
+ @endif
+ </div>
+ @endif
+ </div>
+ </div>
+
<div class="actions mb-xl">
<h5>{{ trans('common.actions') }}</h5>
<div class="icon-list text-primary">
</form>
</div>
- <div class="mb-xl">
- <h5>{{ trans('common.details') }}</h5>
- <div class="blended-links text-small text-muted">
- @include('partials.entity-meta', ['entity' => $chapter])
-
- @if($book->restricted)
- <div class="active-restriction">
- @if(userCan('restrictions-manage', $book))
- <a href="{{ $book->getUrl('/permissions') }}">@icon('lock'){{ trans('entities.books_permissions_active') }}</a>
- @else
- @icon('lock'){{ trans('entities.books_permissions_active') }}
- @endif
- </div>
- @endif
-
- @if($chapter->restricted)
- <div class="active-restriction">
- @if(userCan('restrictions-manage', $chapter))
- <a href="{{ $chapter->getUrl('/permissions') }}">@icon('lock'){{ trans('entities.chapters_permissions_active') }}</a>
- @else
- @icon('lock'){{ trans('entities.chapters_permissions_active') }}
- @endif
- </div>
- @endif
- </div>
- </div>
-
@include('partials/book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
@stop