mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 11:43:40 +08:00
1d681e53e4
Changed header selection in editor to be more descriptive and to provide a wider range of styles. Closes #68
8 lines
473 B
PHP
8 lines
473 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">{{$book->name}}</span></a></h4>
|
|
@if(isset($book->searchSnippet))
|
|
<p class="text-muted">{!! $book->searchSnippet !!}</p>
|
|
@else
|
|
<p class="text-muted">{{ $book->getExcerpt() }}</p>
|
|
@endif
|
|
</div> |