@include('partials.asset-bulk-actions')
{{ Form::close() }}
@if ($model->uploads->count() > 0)
{{trans('general.file_type')}} |
{{ trans('general.image') }} |
{{ trans('general.file_name') }} |
{{ trans('general.filesize') }} |
{{ trans('general.notes') }} |
{{ trans('general.download') }} |
{{ trans('general.created_at') }} |
{{ trans('table.actions') }} |
@foreach ($model->uploads as $file)
|
@if ( Helper::checkUploadIsImage($file->get_src('assets')))
@endif
|
{{ $file->filename }}
|
{{ Helper::formatFilesizeUnits(Storage::size('private_uploads/assetmodels/'.$file->filename)) }}
|
@if ($file->note)
{{ $file->note }}
@endif
|
@if ($file->filename)
@endif
|
@if ($file->created_at)
{{ Helper::getFormattedDateObject($file->created_at, 'datetime', false) }}
@endif
|
@can('update', \App\Models\AssetModel::class)
@endcan
|
@endforeach
@else
{{ trans('general.no_results') }}
@endif