NOW MANAGED ON CODEBERG
Added faviourtes to other entity types
Dan Brown3ca149137e5b
diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.phpindex def198bdd..b850127ff 100644--- a/resources/views/books/show.blade.php+++ b/resources/views/books/show.blade.php@@ -118,6 +118,9 @@<hr class="primary-background">+ @if(signedInUser())+ @include('partials.entity-favourite-action', ['entity' => $book])+ @endif@include('partials.entity-export-menu', ['entity' => $book])</div></div>diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.phpindex db02ebcc4..8aa3be111 100644--- a/resources/views/chapters/show.blade.php+++ b/resources/views/chapters/show.blade.php@@ -123,6 +123,9 @@<hr class="primary-background"/>+ @if(signedInUser())+ @include('partials.entity-favourite-action', ['entity' => $chapter])+ @endif@include('partials.entity-export-menu', ['entity' => $chapter])</div></div>diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.phpindex 73a107cf7..5baf2a16c 100644--- a/resources/views/pages/show.blade.php+++ b/resources/views/pages/show.blade.php@@ -150,9 +150,8 @@<hr class="primary-background"/>- {{--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])</div>diff --git a/resources/views/shelves/show.blade.php b/resources/views/shelves/show.blade.phpindex 7ed36c906..431fa54cc 100644--- a/resources/views/shelves/show.blade.php+++ b/resources/views/shelves/show.blade.php@@ -133,6 +133,11 @@</a>@endif+ @if(signedInUser())+ <hr class="primary-background">+ @include('partials.entity-favourite-action', ['entity' => $shelf])+ @endif+</div></div>@stop