BookStack/resources/views/books/list-item.blade.php

11 lines
533 B
PHP
Raw Normal View History

<a href="{{ $book->getUrl() }}" class="book entity-list-item" data-entity-type="book" data-entity-id="{{$book->id}}">
<div class="entity-list-item-image bg-book" style="background-image: url('{{ $book->getBookCover() }}')">
@icon('book')
</div>
<div class="content">
<h4 class="entity-list-item-name break-text">{{ $book->name }}</h4>
<div class="entity-item-snippet">
<p class="text-muted break-text mb-s text-limit-lines-1">{{ $book->description }}</p>
</div>
</div>
</a>