@if ($isServerSide)
@endif
@if ($isServerSide)
@endif @foreach($dataType->browseRows as $row) | details->browse_width)) style="width:{{ $row->details->browse_width }}"@endif> @if ($isServerSide) @endif @if(isset($row->details->browse_title)) {{ $row->details->browse_title }} @else {{ $row->getTranslatedAttribute('display_name') }} @endif @if ($isServerSide) @if ($row->isCurrentSortField($orderBy)) @if ($sortOrder == 'asc') @else @endif @endif @endif | @endforeach{{ __('voyager::generic.actions') }} |
---|---|---|
@endif @foreach($dataType->browseRows as $row) @php if ($data->{$row->field.'_browse'}) { $data->{$row->field} = $data->{$row->field.'_browse'}; } @endphp | details->browse_font_size)) style="font-size:{{ $row->details->browse_font_size }}"@endif>
@if (isset($row->details->view))
@include($row->details->view, ['row' => $row, 'dataType' => $dataType, 'dataTypeContent' => $dataTypeContent, 'content' => $data->{$row->field}, 'action' => 'browse', 'view' => 'browse', 'options' => $row->details])
{{-- FIELD IMAGE TYPE --}}
@elseif($row->type == 'image')
@if(isset($row->details->browse_inline_editor))
{{-- FIELD TEXT AREA TYPE --}}
@elseif($row->type == 'text_area')
@include('voyager::multilingual.input-hidden-bread-browse')
type == 'number') type="number" @else type="text" @endif name="{{$row->field}}" value="{{ $data->{$row->field} }}">
@endif
@if(isset($row->details->url))
@elseif(isset($row->details->route) && isset($row->details->route->name) && isset($row->details->route->param_field))
@endif
{{ mb_strlen( $data->{$row->field} ) > 200 ? mb_substr($data->{$row->field}, 0, 200) . ' ...' : $data->{$row->field} }}
@if(isset($row->details->url))
@endif
@if(isset($row->details->browse_inline_editor))
@endif
{{ mb_strlen( $data->{$row->field} ) > 200 ? mb_substr($data->{$row->field}, 0, 200) . ' ...' : $data->{$row->field} }}
{{-- FIELD FILE TYPE --}}
@elseif($row->type == 'file' && !empty($data->{$row->field}) )
@include('voyager::multilingual.input-hidden-bread-browse')
@if(json_decode($data->{$row->field}) !== null)
@foreach(json_decode($data->{$row->field}) as $file)
{{ $file->original_name ?: '' }}
@endforeach @else Download @endif {{-- FIELD RICH TEXT TYPE --}} @elseif($row->type == 'rich_text_box') @include('voyager::multilingual.input-hidden-bread-browse') {{ mb_strlen( strip_tags($data->{$row->field}, '') ) > 200 ? mb_substr(strip_tags($data->{$row->field}, ''), 0, 200) . ' ...' : strip_tags($data->{$row->field}, '') }}
{{-- FIELD COORDINATES TYPE --}}
@elseif($row->type == 'coordinates')
@include('voyager::partials.coordinates-static-image')
{{-- FIELD MULTIPLE IMAGES TYPE --}}
@elseif($row->type == 'multiple_images')
@php $images = json_decode($data->{$row->field}); @endphp
@if($images)
@php $images = array_slice($images, 0, 3); @endphp
@foreach($images as $image)
@php
$group = json_decode($data->{$row->field});
if (!isset($group->fields) && isset($row->details->fields)) {
$fields = $row->details->fields;
} else {
$fields = $group->fields;
}
@endphp
@if(isset($fields))
@foreach($fields as $key => $field)
@if(!empty($field->value))
@else
@endif
@endforeach
@else
@endif
@if(property_exists($row->details, 'browse_inline_editor'))
@endif
@elseif($row->type == 'adv_json' || $row->type == 'adv_related' || $row->type == 'adv_page_layout' || $row->type == 'adv_inline_set')
@lang('voyager-extension::bread.no_data_can_be_displayed')
{{-- FIELD OTHER TYPES --}}
@else
@include('voyager::multilingual.input-hidden-bread-browse')
{{ $data->{$row->field} }}
@endif
|
@endforeach
@foreach($actions as $action) @if (!method_exists($action, 'massAction')) @include('voyager::bread.partials.actions', ['action' => $action]) @endif @endforeach |
{{ trans_choice(
'voyager::generic.showing_entries', $dataTypeContent->total(), [
'from' => $dataTypeContent->firstItem(),
'to' => $dataTypeContent->lastItem(),
'all' => $dataTypeContent->total()
]) }}
{{ $dataTypeContent->appends([
's' => $search->value,
'filter' => $search->filter,
'key' => $search->key,
'order_by' => $orderBy,
'sort_order' => $sortOrder,
'showSoftDeleted' => $showSoftDeleted,
])
->onEachSide(5)
->links('voyager-extension::bread.partials.pagination') }}
@endif