mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Places a text indicating that the file is empty and display it as an info text
This commit is contained in:
parent
8f8e5cb723
commit
49f6eef9df
|
@ -239,6 +239,11 @@
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@else
|
||||||
|
@php
|
||||||
|
$statusText = trans('general.empty_file');
|
||||||
|
$statusType = 'info';
|
||||||
|
@endphp
|
||||||
@endif
|
@endif
|
||||||
</div><!-- /div row -->
|
</div><!-- /div row -->
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in a new issue