@section('title') {{ trans('general.import') }} @parent @stop
{{-- Livewire requires a 'master'
, above --}}
{{-- alert --}} @if($message != '')
@if($message_type == 'success') @endif {{-- title --}} {{ $message }}
@endif @if($import_errors)
Warning Some Errors occurred while importing {{-- TODO: hardcoded string --}}
@foreach($import_errors as $field => $error_list) @endforeach
{{ trans('general.item') }} {{ trans('general.error') }}
{{ $processDetails->file_path ?? "Unknown File" }} {{ $field }}: {{ implode(", ",$error_list) }}
@endif
@if($progress != -1)
{{-- so someof these values are in importer.vue! --}}
{{ $progress_message }}
@endif
@if (!config('app.lock_passwords')) {{ trans('button.select_file') }} @endif
@foreach($files as $currentFile) @if( $currentFile && $processDetails && ($currentFile->id == $processDetails->id)) @endif @endforeach
{{ trans('general.file_name') }} {{ trans('general.created_at') }} {{ trans('general.filesize') }} {{ trans('general.actions') }}
{{ $currentFile->file_path }} {{ Helper::getFormattedDateObject($currentFile->created_at, 'datetime', false) }} {{ Helper::formatFilesizeUnits($currentFile->filesize) }}
@livewire('importer-file', ['activeFile' => $currentFile])

{{ trans('general.importing') }}

{!! trans('general.importing_help') !!}

@push('js') @endpush