2018-11-11 14:11:36 +01:00
|
|
|
<?php $type = $entity->getType(); ?>
|
|
|
|
<a href="{{ $entity->getUrl() }}" class="{{$type}} {{$type === 'page' && $entity->draft ? 'draft' : ''}} {{$classes ?? ''}} entity-list-item" data-entity-type="{{$type}}" data-entity-id="{{$entity->id}}">
|
2019-02-16 16:05:18 +01:00
|
|
|
<span class="icon text-{{$type}}">@icon($type)</span>
|
2018-11-11 14:11:36 +01:00
|
|
|
<div class="content">
|
|
|
|
<h4 class="entity-list-item-name break-text">{{ $entity->name }}</h4>
|
|
|
|
{{ $slot ?? '' }}
|
|
|
|
</div>
|
|
|
|
</a>
|