mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
2d43ab8a1b
Fixes #669
10 lines
575 B
PHP
10 lines
575 B
PHP
<div class="book entity-list-item" data-entity-type="book" data-entity-id="{{$book->id}}">
|
|
<h4 class="text-book"><a class="text-book entity-list-item-link" href="{{$book->getUrl()}}"><i class="zmdi zmdi-book"></i><span class="entity-list-item-name break-text">{{$book->name}}</span></a></h4>
|
|
<div class="entity-item-snippet">
|
|
@if(isset($book->searchSnippet))
|
|
<p class="text-muted break-text">{!! $book->searchSnippet !!}</p>
|
|
@else
|
|
<p class="text-muted break-text">{{ $book->getExcerpt() }}</p>
|
|
@endif
|
|
</div>
|
|
</div> |