{{ $file->id }}
|
@if (Storage::exists($filepath.$file->filename))
{{ pathinfo($filepath.$file->filename, PATHINFO_EXTENSION) }}
@endif
|
@if (($file->filename) && (Storage::exists($filepath.$file->filename)))
@if (Helper::checkUploadIsImage($file->get_src(str_plural(strtolower(class_basename(get_class($object)))))))
@else
{{ trans('general.preview_not_available') }}
@endif
@else
{{ trans('general.file_not_found') }}
@endif
|
{{ $file->filename }}
|
{{ (Storage::exists($filepath.$file->filename)) ? Helper::formatFilesizeUnits(Storage::size($filepath.$file->filename)) : '' }}
|
@if ($file->note)
{{ $file->note }}
@endif
|
@if ($file->filename)
@if (Storage::exists($filepath.$file->filename))
{{ trans('general.download') }}
@endif
@endif
|
{{ $file->created_at }}
|
{{ ($file->adminuser) ? $file->adminuser->present()->getFullNameAttribute() : '' }}
|
{{ trans('general.delete') }}
|