mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 20:00:47 +08:00
b89411c108
Added view control Added pivot table for books relation Added control to assign books
10 lines
605 B
PHP
10 lines
605 B
PHP
<div class="shelf entity-list-item" data-entity-type="bookshelf" data-entity-id="{{$bookshelf->id}}">
|
|
<h4 class="text-shelf"><a class="text-bookshelf entity-list-item-link" href="{{$bookshelf->getUrl()}}">@icon('bookshelf')<span class="entity-list-item-name break-text">{{$bookshelf->name}}</span></a></h4>
|
|
<div class="entity-item-snippet">
|
|
@if(isset($bookshelf->searchSnippet))
|
|
<p class="text-muted break-text">{!! $bookshelf->searchSnippet !!}</p>
|
|
@else
|
|
<p class="text-muted break-text">{{ $bookshelf->getExcerpt() }}</p>
|
|
@endif
|
|
</div>
|
|
</div> |