@if($isWritable) @endif @foreach($schema->visible as $visibleColumn) @php $schemaField = $schema->fields->firstWhere("name", $visibleColumn); if(empty($schemaField)){ $schemaField = collect($systemFields)->firstWhere("name", str_replace("_sys.", "",$visibleColumn) ); } @endphp @endforeach @foreach($records as $record) @include("lucent::records.row") @endforeach
help ?? ""}} >{{$schemaField->label}}
@if($isWritable) @endif @if($record->_file?->path)
@include("lucent::records-editor.fields.file.thumb", ["size" => "small"])
@if($record->status === "draft") {{$record->status}} @endif id}}" target={{$inModal ? "_blank" : "_self"}} > {{ $viewModel->getRecordName($record)}} {{ (int)($record->_file->size / 1024) }}kB @if($record->_file->width > 0) {{$record->_file->width . "x" . $record->_file->height}} @endif Download
@else id}}" target={{$inModal ? "_blank" : "_self"}} > @if($record->status === "draft") {{$record->status}} @endif {{$viewModel->getRecordName($record)}} @endif