{{$book->name}}
-
{!! nl2br(e($book->description)) !!}
+{!! $book->descriptionHtml() !!}
@if(count($bookChildren) > 0)
@foreach($bookChildren as $childElement)
@@ -70,7 +70,7 @@
{{ trans('common.details') }}
- @include('entities.meta', ['entity' => $book])
+ @include('entities.meta', ['entity' => $book, 'watchOptions' => $watchOptions])
@if($book->hasPermissions())
@if(userCan('restrictions-manage', $book))
@@ -139,7 +139,10 @@
- @if(signedInUser()) + @if($watchOptions->canWatch() && !$watchOptions->isWatching()) + @include('entities.watch-action', ['entity' => $book]) + @endif + @if(!user()->isGuest()) @include('entities.favourite-action', ['entity' => $book]) @endif @if(userCan('content-export')) @@ -168,7 +171,7 @@ @endif @if(count($activity) > 0) -
- @if(signedInUser()) + @if($watchOptions->canWatch() && !$watchOptions->isWatching()) + @include('entities.watch-action', ['entity' => $book]) + @endif + @if(!user()->isGuest()) @include('entities.favourite-action', ['entity' => $book]) @endif @if(userCan('content-export')) @@ -168,7 +171,7 @@ @endif @if(count($activity) > 0) -
+