mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-30 12:43:43 +08:00
Added faviourtes to other entity types
This commit is contained in:
parent
db9aa41096
commit
3ca149137e
|
@ -118,6 +118,9 @@
|
||||||
|
|
||||||
<hr class="primary-background">
|
<hr class="primary-background">
|
||||||
|
|
||||||
|
@if(signedInUser())
|
||||||
|
@include('partials.entity-favourite-action', ['entity' => $book])
|
||||||
|
@endif
|
||||||
@include('partials.entity-export-menu', ['entity' => $book])
|
@include('partials.entity-export-menu', ['entity' => $book])
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -123,6 +123,9 @@
|
||||||
|
|
||||||
<hr class="primary-background"/>
|
<hr class="primary-background"/>
|
||||||
|
|
||||||
|
@if(signedInUser())
|
||||||
|
@include('partials.entity-favourite-action', ['entity' => $chapter])
|
||||||
|
@endif
|
||||||
@include('partials.entity-export-menu', ['entity' => $chapter])
|
@include('partials.entity-export-menu', ['entity' => $chapter])
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -150,9 +150,8 @@
|
||||||
|
|
||||||
<hr class="primary-background"/>
|
<hr class="primary-background"/>
|
||||||
|
|
||||||
{{--Export--}}
|
|
||||||
@if(signedInUser())
|
@if(signedInUser())
|
||||||
@include('partials.entity-favourite-action', ['entity' => $page, 'alreadyFavourite' => $page->isFavourite()])
|
@include('partials.entity-favourite-action', ['entity' => $page])
|
||||||
@endif
|
@endif
|
||||||
@include('partials.entity-export-menu', ['entity' => $page])
|
@include('partials.entity-export-menu', ['entity' => $page])
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -133,6 +133,11 @@
|
||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if(signedInUser())
|
||||||
|
<hr class="primary-background">
|
||||||
|
@include('partials.entity-favourite-action', ['entity' => $shelf])
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@stop
|
@stop
|
||||||
|
|
Loading…
Reference in New Issue
Block a user