1 <nav id="book-tree" class="book-tree mb-xl" v-pre aria-label="{{ trans('entities.books_navigation') }}">
2 <h5>{{ trans('entities.books_navigation') }}</h5>
4 <ul class="sidebar-page-list mt-xs menu entity-list">
5 @if (userCan('view', $book))
6 <li class="list-item-book book">
7 @include('partials.entity-list-item-basic', ['entity' => $book, 'classes' => ($current->matches($book)? 'selected' : '')])
11 @foreach($sidebarTree as $bookChild)
12 <li class="list-item-{{ $bookChild->getClassName() }} {{ $bookChild->getClassName() }} {{ $bookChild->isA('page') && $bookChild->draft ? 'draft' : '' }}">
13 @include('partials.entity-list-item-basic', ['entity' => $bookChild, 'classes' => $current->matches($bookChild)? 'selected' : ''])
15 @if($bookChild->isA('chapter') && count($bookChild->pages) > 0)
16 <div class="entity-list-item no-hover">
17 <span role="presentation" class="icon text-chapter"></span>
19 @include('chapters.child-menu', [
20 'chapter' => $bookChild,
21 'current' => $current,
22 'isOpen' => $bookChild->matchesOrContains($current)