@if ($isServerSide)
@endif
@if ($isServerSide)
@endcan @foreach($dataType->browseRows as $row) | @if ($isServerSide) @endif {{ $row->display_name }} @if ($isServerSide) @if ($row->isCurrentSortField()) @if (!isset($_GET['sort_order']) || $_GET['sort_order'] == 'asc') @else @endif @endif @endif | @endforeach{{ __('voyager::generic.actions') }} |
---|---|---|
@endcan @foreach($dataType->browseRows as $row) |
@if($row->type == 'image')
{{ mb_strlen( $data->{$row->field} ) > 200 ? mb_substr($data->{$row->field}, 0, 200) . ' ...' : $data->{$row->field} }}
@elseif($row->type == 'text_area')
@include('voyager::multilingual.input-hidden-bread-browse')
{{ mb_strlen( $data->{$row->field} ) > 200 ? mb_substr($data->{$row->field}, 0, 200) . ' ...' : $data->{$row->field} }}
@elseif($row->type == 'file' && !empty($data->{$row->field}) )
@include('voyager::multilingual.input-hidden-bread-browse')
@if(json_decode($data->{$row->field}))
@foreach(json_decode($data->{$row->field}) as $file)
{{ $file->original_name ?: '' }}
@endforeach @else Download @endif @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}, '') }}
@elseif($row->type == 'coordinates')
@include('voyager::partials.coordinates-static-image')
@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)
|
@endforeach
@foreach($actions as $action) @if (!method_exists($action, 'massAction')) @include('voyager::bread.partials.actions', ['action' => $action]) @endif @endforeach @canImpersonate @endCanImpersonate |
{{ 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
])->links() }}
@endif