2 class="book-tree mb-xl"
3 aria-label="{{ trans('entities.books_navigation') }}">
5 <h5>{{ trans('entities.books_navigation') }}</h5>
7 <ul class="sidebar-page-list mt-xs menu entity-list">
8 @if (userCan('view', $book))
9 <li class="list-item-book book">
10 @include('entities.list-item-basic', ['entity' => $book, 'classes' => ($current->matches($book)? 'selected' : '')])
14 @foreach($sidebarTree as $bookChild)
15 <li class="list-item-{{ $bookChild->getType() }} {{ $bookChild->getType() }} {{ $bookChild->isA('page') && $bookChild->draft ? 'draft' : '' }}">
16 @include('entities.list-item-basic', ['entity' => $bookChild, 'classes' => $current->matches($bookChild)? 'selected' : ''])
18 @if($bookChild->isA('chapter') && count($bookChild->visible_pages) > 0)
19 <div class="entity-list-item no-hover">
20 <span role="presentation" class="icon text-chapter"></span>
22 @include('chapters.parts.child-menu', [
23 'chapter' => $bookChild,
24 'current' => $current,
25 'isOpen' => $bookChild->matchesOrContains($current)