From 474e32ea2a9a8c053ab73eda7e3c8102f3e4daaf Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 8 Mar 2023 16:33:02 -0800 Subject: [PATCH] Added translations and formatting Signed-off-by: snipe --- resources/views/livewire/importer.blade.php | 24 ++++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/resources/views/livewire/importer.blade.php b/resources/views/livewire/importer.blade.php index 6c7ca795ac..18eeebaedd 100644 --- a/resources/views/livewire/importer.blade.php +++ b/resources/views/livewire/importer.blade.php @@ -96,18 +96,26 @@ class="col-md-12 table table-striped snipe-table"> - {{ trans('general.file_name') }} - {{ trans('general.created_at') }} - {{ trans('general.filesize') }} - {{ trans('general.actions') }} + + {{ trans('general.file_name') }} + + + {{ trans('general.created_at') }} + + + {{ trans('general.filesize') }} + + + {{ trans('general.actions') }} + @foreach($files as $currentFile) - + {{ $currentFile->file_path }} - {{ $currentFile->created_at }} - {{ $currentFile->filesize }} + {{ Helper::getFormattedDateObject($currentFile->created_at, 'datetime', false) }} + {{ Helper::formatFilesizeUnits($currentFile->filesize) }}