5 <div class="import-item text-{{ $type }} mb-xs">
6 <p class="mb-none">@icon($type){{ $model->name }}</p>
8 <div class="text-muted">
9 @if($model->attachments ?? [])
10 <span>@icon('attach'){{ count($model->attachments) }}</span>
12 @if($model->images ?? [])
13 <span>@icon('image'){{ count($model->images) }}</span>
15 @if($model->tags ?? [])
16 <span>@icon('tag'){{ count($model->tags) }}</span>
19 @if(method_exists($model, 'children'))
20 @foreach($model->children() as $child)
21 @include('exports.parts.import-item', [
22 'type' => ($child instanceof \BookStack\Exports\ZipExports\Models\ZipExportPage) ? 'page' : 'chapter',