-@section('body')
- @if($booksViewType === 'list')
- <div class="container small" ng-non-bindable>
- @else
- <div class="container" ng-non-bindable>
- @endif
- <h1>{{ trans('entities.books') }}</h1>
- @if(count($books) > 0)
- @if($booksViewType === 'list')
- @foreach($books as $book)
- @include('books/list-item', ['book' => $book])
- <hr>
- @endforeach
- {!! $books->render() !!}
- @else
- <div class="row auto-clear">
- @foreach($books as $key => $book)
- @include('books/grid-item', ['book' => $book])
- @endforeach
- <div class="col-xs-12">
- {!! $books->render() !!}
- </div>
- </div>
+@section('right')
+
+ <div class="actions mb-xl">
+ <h5>{{ trans('common.actions') }}</h5>
+ <div class="icon-list text-link">
+ @if(userCan('book-create-all'))
+ <a href="{{ url("/create-book") }}" data-shortcut="new" class="icon-list-item">
+ <span>@icon('add')</span>
+ <span>{{ trans('entities.books_create') }}</span>
+ </a>