A free open source IT asset/license management system
Updated import icons
snipe456e6979f001
diff --git a/resources/lang/en/general.php b/resources/lang/en/general.phpindex 7ee5ca1029..023e9c052c 100644--- a/resources/lang/en/general.php+++ b/resources/lang/en/general.php@@ -156,6 +156,7 @@ return ['image_filetypes_help' => 'Accepted filetypes are jpg, webp, png, gif, and svg. Max upload size allowed is :size.','unaccepted_image_type' => 'This image file was not readable. Accepted filetypes are jpg, webp, png, gif, and svg. The mimetype of this file is: :mimetype.','import' => 'Import',+ 'import_this_file' => 'Map fields and process this file','importing' => 'Importing','importing_help' => 'You can import assets, accessories, licenses, components, consumables, and users via CSV file. <br><br>The CSV should be comma-delimited and formatted with headers that match the ones in the <a href="https://snipe-it.readme.io/docs/importing" target="_new">sample CSVs in the documentation</a>.','import-history' => 'Import History',diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.phpindex 3fe1b3845e..90e20d5d9d 100644--- a/resources/views/layouts/default.blade.php+++ b/resources/views/layouts/default.blade.php@@ -624,7 +624,7 @@@can('import')<li{!! (Request::is('import/*') ? ' class="active"' : '') !!}><a href="{{ route('imports.index') }}">- <i class="fas fa-cloud-download-alt fa-fw" aria-hidden="true"></i>+ <i class="fas fa-cloud-upload-alt fa-fw" aria-hidden="true"></i><span>{{ trans('general.import') }}</span></a></li>diff --git a/resources/views/livewire/importer.blade.php b/resources/views/livewire/importer.blade.phpindex 7bc88a88aa..976d1ffdde 100644--- a/resources/views/livewire/importer.blade.php+++ b/resources/views/livewire/importer.blade.php@@ -129,8 +129,8 @@<td class="col-md-3">{{ Helper::getFormattedDateObject($currentFile->created_at, 'datetime', false) }}</td><td class="col-md-1">{{ Helper::formatFilesizeUnits($currentFile->filesize) }}</td><td class="col-md-1 text-right" style="white-space: nowrap;">- <button class="btn btn-sm btn-info" wire:click="selectFile({{ $currentFile->id }})">- <i class="fas fa-retweet fa-fw" aria-hidden="true"></i>+ <button class="btn btn-sm btn-info" wire:click="selectFile({{ $currentFile->id }})" data-tooltip="true" title="{{ trans('general.import_this_file') }}">+ <i class="fa-solid fa-list-check" aria-hidden="true"></i><span class="sr-only">{{ trans('general.import') }}</span></button><button class="btn btn-sm btn-danger" wire:click="destroy({{ $currentFile->id }})">