1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-31 08:02:42 +01:00
BookStack/resources/views/books/list-item.blade.php

10 lines
558 B
PHP
Raw Normal View History

2016-06-12 13:14:14 +02:00
<div class="book entity-list-item" data-entity-type="book" data-entity-id="{{$book->id}}">
2018-02-17 14:30:52 +01:00
<h4 class="text-book"><a class="text-book entity-list-item-link" href="{{$book->getUrl()}}">@icon('book')<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>