diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index def198bdd..b850127ff 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -118,6 +118,9 @@
+ @if(signedInUser()) + @include('partials.entity-favourite-action', ['entity' => $book]) + @endif @include('partials.entity-export-menu', ['entity' => $book]) diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index db02ebcc4..8aa3be111 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -123,6 +123,9 @@
+ @if(signedInUser()) + @include('partials.entity-favourite-action', ['entity' => $chapter]) + @endif @include('partials.entity-export-menu', ['entity' => $chapter]) diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index 73a107cf7..5baf2a16c 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -150,9 +150,8 @@
- {{--Export--}} @if(signedInUser()) - @include('partials.entity-favourite-action', ['entity' => $page, 'alreadyFavourite' => $page->isFavourite()]) + @include('partials.entity-favourite-action', ['entity' => $page]) @endif @include('partials.entity-export-menu', ['entity' => $page]) diff --git a/resources/views/shelves/show.blade.php b/resources/views/shelves/show.blade.php index 7ed36c906..431fa54cc 100644 --- a/resources/views/shelves/show.blade.php +++ b/resources/views/shelves/show.blade.php @@ -133,6 +133,11 @@ @endif + @if(signedInUser()) +
+ @include('partials.entity-favourite-action', ['entity' => $shelf]) + @endif + @stop