]> BookStack Code Mirror - bookstack/blob - resources/views/entities/list-item-basic.blade.php
Testing: Added more deprecation output
[bookstack] / resources / views / entities / list-item-basic.blade.php
1 <?php $type = $entity->getType(); ?>
2 <a href="{{ $entity->getUrl() }}"
3    class="{{$type}} {{$type === 'page' && $entity->draft ? 'draft' : ''}} {{$classes ?? ''}} entity-list-item"
4    data-entity-type="{{$type}}"
5    data-entity-id="{{$entity->id}}">
6     <span role="presentation" class="icon text-{{$type}}">@icon($type)</span>
7     <div class="content">
8             <h4 class="entity-list-item-name break-text">{{ $entity->preview_name ?? $entity->name }}</h4>
9             {{ $slot ?? '' }}
10     </div>
11 </a>