mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Added localized strings for improter, added en structure
This commit is contained in:
parent
c16ade2d87
commit
26e056fb3c
|
@ -42,9 +42,9 @@
|
||||||
<!-- The fileinput-button span is used to style the file input field as button -->
|
<!-- The fileinput-button span is used to style the file input field as button -->
|
||||||
@if (!config('app.lock_passwords'))
|
@if (!config('app.lock_passwords'))
|
||||||
<span class="btn btn-primary fileinput-button">
|
<span class="btn btn-primary fileinput-button">
|
||||||
<span>Select Import File...</span>
|
<span>{{ trans('admin/importer/general.select_import_file') }}</span>
|
||||||
<!-- The file input field used as target for the file upload widget -->
|
<!-- The file input field used as target for the file upload widget -->
|
||||||
<label for="files[]"><span class="sr-only">Select file</span></label>
|
<label for="files[]"><span class="sr-only">{{ trans('admin/importer/general.select_file') }}</span></label>
|
||||||
<input id="fileupload" type="file" name="files[]" data-url="{{ route('api.imports.index') }}" accept="text/csv" aria-label="files[]">
|
<input id="fileupload" type="file" name="files[]" data-url="{{ route('api.imports.index') }}" accept="text/csv" aria-label="files[]">
|
||||||
</span>
|
</span>
|
||||||
@endif
|
@endif
|
||||||
|
@ -67,11 +67,11 @@
|
||||||
class="col-md-12 table table-striped snipe-table">
|
class="col-md-12 table table-striped snipe-table">
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-md-6">File</th>
|
<th class="col-md-6">{{ trans('admin/importer/table.file') }}</th>
|
||||||
<th class="col-md-3">Created</th>
|
<th class="col-md-3">{{ trans('admin/importer/table.created') }}</th>
|
||||||
<th class="col-md-1">Size</th>
|
<th class="col-md-1">{{ trans('admin/importer/table.size') }}</th>
|
||||||
<th class="col-md-1 text-right"><span class="sr-only">Process</span></th>
|
<th class="col-md-1 text-right"><span class="sr-only">{{ trans('admin/importer/table.process') }}</span></th>
|
||||||
<th class="col-md-1 text-right"><span class="sr-only">Delete</span></th>
|
<th class="col-md-1 text-right"><span class="sr-only">{{ trans('admin/importer/table.delete') }}</span></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<template v-for="currentFile in files">
|
<template v-for="currentFile in files">
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
<td class="col-md-1">@{{ currentFile.filesize }}</td>
|
<td class="col-md-1">@{{ currentFile.filesize }}</td>
|
||||||
<td class="col-md-1 text-right">
|
<td class="col-md-1 text-right">
|
||||||
<button class="btn btn-sm btn-info" @click="toggleEvent(currentFile.id)">
|
<button class="btn btn-sm btn-info" @click="toggleEvent(currentFile.id)">
|
||||||
Process
|
{{ trans('admin/importer/button.process') }}
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td class="col-md-1 text-right">
|
<td class="col-md-1 text-right">
|
||||||
|
|
Loading…
Reference in a new issue