Skip to content

A free open source IT asset/license management system

Merge branch 'develop' into livewire-importer-improvements

Marcus Moore6521c0252649
diff --cc resources/views/livewire/importer.blade.php
index 081f7d3880,ab4646041b..38a2d60284
--- a/resources/views/livewire/importer.blade.php
+++ b/resources/views/livewire/importer.blade.php
@@@ -195,10 -195,14 +195,14 @@@
@endif
- @if ($activeFile->import_type)
+ @if ($typeOfImport)
<div class="form-group col-md-12">
<hr style="border-top: 1px solid lightgray">
- <h3><i class="{{ Helper::iconTypeByItem($typeOfImport) }}"></i> Map {{ ucwords($typeOfImport) }} Import Fields</h3>
+ <h3>
- <i class="{{ Helper::iconTypeByItem($activeFile->import_type) }}">
++ <i class="{{ Helper::iconTypeByItem($typeOfImport) }}">
+ </i>
- {{ trans('general.map_fields', ['item_type' => ucwords($activeFile->import_type)]) }}
++ {{ trans('general.map_fields', ['item_type' => ucwords($typeOfImport)]) }}
+ </h3>
<hr style="border-top: 1px solid lightgray">
</div>
<div class="form-group col-md-12">
@@@ -251,10 -255,10 +255,10 @@@
<div class="form-group col-md-12">
<div class="col-md-3 text-left">
- <a href="#" wire:click.prevent="$set('activeFile',null)">{{ trans('general.cancel') }}</a>
+ <a href="#" wire:click.prevent="$set('activeFileId',null)">{{ trans('general.cancel') }}</a>
</div>
<div class="col-md-9">
- <button type="submit" class="btn btn-primary col-md-5" id="import">Import</button>
+ <button type="submit" class="btn btn-primary col-md-5" id="import">{{ trans('admin/hardware/message.import.import_button') }}</button>
<br><br>
</div>
</div>