@extends('base') @section('content')
{{ $chapter->description }}
@if(count($pages) > 0){{ trans('entities.chapters_empty') }}
@if(userCan('page-create', $chapter)) {{ trans('entities.books_empty_create_page') }} @endif @if(userCan('page-create', $chapter) && userCan('book-update', $book)) -{{ trans('entities.books_empty_or') }}- @endif @if(userCan('book-update', $book)) {{ trans('entities.books_empty_sort_current_book') }} @endif
@if(userCan('restrictions-manage', $book)) {{ trans('entities.books_permissions_active') }} @else {{ trans('entities.books_permissions_active') }} @endif
@endif @if($chapter->restricted) @if(userCan('restrictions-manage', $chapter)) {{ trans('entities.chapters_permissions_active') }} @else {{ trans('entities.chapters_permissions_active') }} @endif @endif