@php if($settings['overrideTitle']) { $pageTitle = $settings['overrideTitle']; } else { $pageTitle = $settings['title']; } @endphp @extends($settings['guard'].'.layouts.default') @section('page_title', $pageTitle . config('default.page_title_delimiter') . config('default.app_name')) @section('content')
|
@endif
@if ($tableData['columns'])
@foreach ($tableData['columns'] as $column)
@if (!$column['hidden'])
@if ($column['filter'])
@else
@if ($column['sortable'])
{!! $column['text'] !!}
|
@endif
@endforeach
@endif
@if ($settings['hasActions'])
{{ trans('common.actions') }} | @endif
---|---|---|
|
@endif
@foreach ($tableData['columns'] as $column)
@if (!$column['hidden'])
@if (in_array($column['type'], ['boolean', 'impersonate', 'qr'])) @endif
@if (in_array($column['type'], ['date_time'])) @endif
@if (in_array($column['type'], ['belongsTo', 'belongsToMany']) && strlen($row[$column['name']]) > 32)
{{ substr($row[$column['name']], 0, 32) }}…
@else
{!! $row[$column['name']] !!}
@endif
@if (in_array($column['type'], ['boolean', 'impersonate', 'qr'])) @endif
@if (in_array($column['type'], ['date_time'])) @endif
|
@endif
@endforeach
@if ($settings['hasActions'])
@endif | {{ trans('common.no_results_found') }} | @endif